diff options
author | Andrey Utkin <andrey_utkin@gentoo.org> | 2022-03-01 23:20:47 +0000 |
---|---|---|
committer | Andrey Utkin <andrey_utkin@gentoo.org> | 2022-03-01 23:20:47 +0000 |
commit | 58afd450fb5f6b944b22591df7f829130762a0dd (patch) | |
tree | 73322e66b7f78e787258e23d01a1ac5e14df70a5 /net-im | |
parent | app-emacs/lean-mode: use ELISP_REMOVE (diff) | |
download | gentoo-58afd450fb5f6b944b22591df7f829130762a0dd.tar.gz gentoo-58afd450fb5f6b944b22591df7f829130762a0dd.tar.bz2 gentoo-58afd450fb5f6b944b22591df7f829130762a0dd.zip |
net-im/dino: add new version 0.3.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/dino/Manifest | 1 | ||||
-rw-r--r-- | net-im/dino/dino-0.3.0.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/net-im/dino/Manifest b/net-im/dino/Manifest index 800169e77e53..31d947152e89 100644 --- a/net-im/dino/Manifest +++ b/net-im/dino/Manifest @@ -1,2 +1,3 @@ DIST dino-0.2.1.tar.gz 514504 BLAKE2B 42fae18bb7cda276c1eadeefdea130069f9929dfde62855f00ab6b88912fe9db3374315f40ff8f53350cf38e45fe61b0fd6256ef390cdbed6a65a3f2d79ac80a SHA512 b71497ec115945eadf7d33bb973f68465a20284aa75f37f1ae25fc30c1c423ce28cb10f7e9123c47f82e77e97170b8fa72c75389dacc3a2aa3d487a9c9610d49 DIST dino-0.2.2.tar.gz 514648 BLAKE2B 54110f3767b5d1d3d4bffc82b767d3c92114c55449ad10705ed10b8815ecc9c337016348886acc3df21d5f27be5d93bbe3c203173167146ff9859bd03f0be7a6 SHA512 6c973b0b88e2c8aecbab694b456762973c5f60217bbf6bc81f4d81226fe8124596bddfe7c190f35307ec3ad6376858ce8f686c74aaebec133124377d8a9e4898 +DIST dino-0.3.0.tar.gz 804810 BLAKE2B cb6365f6fad051d0308909c6d5d2c59d7f57cb94f9f691516e27b7bb3aba214fdffa95066d8203d8ac5bd770bec1580e81baad313beef7fe5c058e1e94a37556 SHA512 e3d885208451b00b0416a1401780a94a169fb1179b2f609f7965e3445873d6b72ded84cb471d534616892ec89b5edcd6701fc97c36f19d690f4b894399000515 diff --git a/net-im/dino/dino-0.3.0.ebuild b/net-im/dino/dino-0.3.0.ebuild new file mode 100644 index 000000000000..dcefefcd1c83 --- /dev/null +++ b/net-im/dino/dino-0.3.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_MAKEFILE_GENERATOR="ninja" +VALA_MIN_API_VERSION="0.34" +inherit cmake vala xdg readme.gentoo-r1 + +DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala" +HOMEPAGE="https://dino.im" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+gpg +http +omemo +notification-sound test" +RESTRICT="!test? ( test )" + +MY_REPO_URI="https://github.com/dino/dino" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="${MY_REPO_URI}.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~arm64" + SRC_URI="${MY_REPO_URI}/releases/download/v${PV}/${P}.tar.gz" +fi + +RDEPEND=" + app-text/gspell[vala] + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/icu + dev-libs/libgee:0.8 + net-libs/glib-networking + >=net-libs/libnice-0.1.15 + net-libs/libsignal-protocol-c + net-libs/libsrtp:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/pango + gpg? ( app-crypt/gpgme:= ) + http? ( net-libs/libsoup:2.4 ) + omemo? ( + dev-libs/libgcrypt:0 + media-gfx/qrencode + ) + notification-sound? ( media-libs/libcanberra:0[sound] ) +" +DEPEND=" + $(vala_depend) + ${RDEPEND} + media-libs/gst-plugins-base + media-libs/gstreamer + sys-devel/gettext +" + +src_prepare() { + cmake_src_prepare + vala_src_prepare +} + +src_configure() { + local disabled_plugins=( + $(usex gpg "" "openpgp") + $(usex omemo "" "omemo") + $(usex http "" "http-files") + ) + local enabled_plugins=( + $(usex notification-sound "notification-sound" "") + ) + local mycmakeargs+=( + "-DENABLED_PLUGINS=$(local IFS=";"; echo "${enabled_plugins[*]}")" + "-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")" + "-DVALA_EXECUTABLE=${VALAC}" + "-DBUILD_TESTS=$(usex test)" + ) + + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}"/xmpp-vala-test || die +} + +src_install() { + cmake_src_install + readme.gentoo_create_doc +} + +src_postinst() { + xdg_pkg_postinst + readme.gentoo_print_elog +} |