diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
commit | 53cba99042fa967e2a93da9f8db806fe2d035543 (patch) | |
tree | 9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /net-im/dino | |
parent | 71deace00d1a2b091313fe137ab7092418c6f87c (diff) |
gentoo resync : 17.02.2020
Diffstat (limited to 'net-im/dino')
-rw-r--r-- | net-im/dino/Manifest | 4 | ||||
-rw-r--r-- | net-im/dino/dino-0.1.0.ebuild | 87 | ||||
-rw-r--r-- | net-im/dino/dino-9999.ebuild | 5 |
3 files changed, 93 insertions, 3 deletions
diff --git a/net-im/dino/Manifest b/net-im/dino/Manifest index d1772b4b99d3..1526f66c8412 100644 --- a/net-im/dino/Manifest +++ b/net-im/dino/Manifest @@ -1,2 +1,4 @@ -EBUILD dino-9999.ebuild 1536 BLAKE2B 9fe17bbcddc215cfa10800fa234e9365e41c4f1b09fb3b52e9dbcee13b1d392cd8823eedf3f52ae1e62e5be45737bbec55ce6f5b3587a728c1189df239665090 SHA512 8cdb60f992429e98975fcb7f6e651aca203e3115f87e2ba07cd1dfd4772b8802bfa592ca2fc97fa6f8fefce4e020cc02e87356d48a7850312b560a18388dc435 +DIST dino-0.1.0.tar.gz 441638 BLAKE2B 08f332d38af866eed1049fae7d0e207da5a3486fdaf07eb5327e7abf614ac4adc130fd8f2d9465d6cb248ecfe4b809e022a69c72df5879d98719d24635771b33 SHA512 b63bf87dbf7f728f038f22d0dba34770a06d7eb1be2ec249293ff876e16c151165add895ff3cb20a3216c3581d20e10634d454ee8b024b895012efb34f9d7de8 +EBUILD dino-0.1.0.ebuild 1583 BLAKE2B 864709c4e4a9b34c6b444e1ae40a07b4697f3417be7641f229096bc7309c5e422953aca09d688afb410c4c921bd19457b6366c039f30d22d3357df17578e4686 SHA512 37c77529cae35d8e6ce438cb14fd970734c0cd900e4c0e55013c8996f4e759cdefb7d89890d28cbebf586307e1c1947561ed3ad543d835b504321d4473b46ffe +EBUILD dino-9999.ebuild 1583 BLAKE2B 864709c4e4a9b34c6b444e1ae40a07b4697f3417be7641f229096bc7309c5e422953aca09d688afb410c4c921bd19457b6366c039f30d22d3357df17578e4686 SHA512 37c77529cae35d8e6ce438cb14fd970734c0cd900e4c0e55013c8996f4e759cdefb7d89890d28cbebf586307e1c1947561ed3ad543d835b504321d4473b46ffe MISC metadata.xml 573 BLAKE2B cf7a2731750afde53919e6a41541c0829df4ffa6da202c179092de0640a8ac044445b258350704822d02f302c601738f38f05fc2ab938d6f0ea55bead77b0eae SHA512 7023554fe0c67fd41d9134315500a7206653f34a192673db9bd741af22e05f0a00e431fa96c109c94bab6dbdb31334729bc272a07773dd7b905dd0422ce8532f diff --git a/net-im/dino/dino-0.1.0.ebuild b/net-im/dino/dino-0.1.0.ebuild new file mode 100644 index 000000000000..937678aeb91c --- /dev/null +++ b/net-im/dino/dino-0.1.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CMAKE_MAKEFILE_GENERATOR="ninja" +VALA_MIN_API_VERSION="0.34" +inherit cmake-utils gnome2-utils vala xdg-utils + +DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala" +HOMEPAGE="https://dino.im" +LICENSE="GPL-3" +SLOT="0" +IUSE="+gpg +http +omemo" + +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" + SRC_URI="${MY_REPO_URI}/releases/download/v${PV}/${P}.tar.gz" +fi + +RDEPEND=" + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/icu + dev-libs/libgee:0.8 + net-libs/glib-networking + net-libs/libsignal-protocol-c + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/pango + gpg? ( app-crypt/gpgme:1 ) + http? ( net-libs/libsoup:2.4 ) + omemo? ( + dev-libs/libgcrypt:0 + media-gfx/qrencode + ) +" +DEPEND=" + $(vala_depend) + ${RDEPEND} + sys-devel/gettext +" + +src_prepare() { + cmake-utils_src_prepare + vala_src_prepare +} + +src_configure() { + local disabled_plugins=( + $(usex gpg "" "openpgp") + $(usex omemo "" "omemo") + $(usex http "" "http-files") + ) + local mycmakeargs+=( + "-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")" + "-DVALA_EXECUTABLE=${VALAC}" + ) + + if has test ${FEATURES}; then + mycmakeargs+=("-DBUILD_TESTS=yes") + fi + + cmake-utils_src_configure +} + +src_test() { + "${BUILD_DIR}"/xmpp-vala-test || die +} + +update_caches() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + update_caches +} + +pkg_postrm() { + update_caches +} diff --git a/net-im/dino/dino-9999.ebuild b/net-im/dino/dino-9999.ebuild index a1a9b20b2833..937678aeb91c 100644 --- a/net-im/dino/dino-9999.ebuild +++ b/net-im/dino/dino-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,7 +19,7 @@ if [[ ${PV} == "9999" ]]; then inherit git-r3 else KEYWORDS="~amd64" - SRC_URI="${MY_REPO_URI}/archive/${PV}.tar.gz" + SRC_URI="${MY_REPO_URI}/releases/download/v${PV}/${P}.tar.gz" fi RDEPEND=" @@ -28,6 +28,7 @@ RDEPEND=" dev-libs/icu dev-libs/libgee:0.8 net-libs/glib-networking + net-libs/libsignal-protocol-c x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 |