diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /net-im/dino | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'net-im/dino')
-rw-r--r-- | net-im/dino/Manifest | 2 | ||||
-rw-r--r-- | net-im/dino/dino-0.2.2.ebuild | 79 |
2 files changed, 81 insertions, 0 deletions
diff --git a/net-im/dino/Manifest b/net-im/dino/Manifest index a442e5700ddb..74c55ebea3fc 100644 --- a/net-im/dino/Manifest +++ b/net-im/dino/Manifest @@ -1,4 +1,6 @@ DIST dino-0.2.1.tar.gz 514504 BLAKE2B 42fae18bb7cda276c1eadeefdea130069f9929dfde62855f00ab6b88912fe9db3374315f40ff8f53350cf38e45fe61b0fd6256ef390cdbed6a65a3f2d79ac80a SHA512 b71497ec115945eadf7d33bb973f68465a20284aa75f37f1ae25fc30c1c423ce28cb10f7e9123c47f82e77e97170b8fa72c75389dacc3a2aa3d487a9c9610d49 +DIST dino-0.2.2.tar.gz 514648 BLAKE2B 54110f3767b5d1d3d4bffc82b767d3c92114c55449ad10705ed10b8815ecc9c337016348886acc3df21d5f27be5d93bbe3c203173167146ff9859bd03f0be7a6 SHA512 6c973b0b88e2c8aecbab694b456762973c5f60217bbf6bc81f4d81226fe8124596bddfe7c190f35307ec3ad6376858ce8f686c74aaebec133124377d8a9e4898 EBUILD dino-0.2.1.ebuild 1648 BLAKE2B a060d33c0d9b8ea88a6fedadb7ce4964bfb0c51f7a79fcce46f8f2bb77b32b48f41eca7113f7ccbe5e58d57bd262cc89930b41c0c597c6e5bd12550bb91747b4 SHA512 6f9ba82b543c598ce897917e7d12126d87d9dd1925748dfe55ac61f891dab216ebb5c1efd6fbdf02741be85d16f210e4f90888972bd75342ff3ac99eda72e8e0 +EBUILD dino-0.2.2.ebuild 1650 BLAKE2B 0062e108a6c191c1049ce076e81d09d0860b743b08f9a33a168936492c2901d15f21862a699693d9cf4fd856cd6540a5611fa07ef48db4af906373bedc27e68c SHA512 62fd08158864ab5e8b624b0ec45c340f7a319ae3cf6952c5411b6b7db9eb37a5cab6e508b137a2e881eadd5f6905458282cc8c8ada3e413aacf6e146cbd96ecb EBUILD dino-9999.ebuild 1697 BLAKE2B a129d51469bb007a1c023ef216ebe6076bce93cd24ae24e541fc14654151662db336bc3a22b0efa2e6d7991123a395d4d5ee58c4df4fbb00f9d768580874f2e1 SHA512 8d01a975b53058c4df68ccff058d24f47b6f072d6f98c06cc4fb4764abc7bc2f9b4143eb4472149fe1908220f7e61f964b7e24fd51e04f7b32014b331da979f9 MISC metadata.xml 642 BLAKE2B 31f8929e6bbcc03672e487d70a37b3796ced84e17cfdfb7d55026aa97c8a001d6f666ec5de4894ff5648c3b8bcbe856866986baffaff5305636cc1fce2c201a1 SHA512 db7adb8b4a47f7129b01783605983e87d93b3bfc6f7add5256bdd72d88090923730c56697ad95a0e19071ed96d85e1f16acf44e3aa6ab5cbbcc19684bf9dc895 diff --git a/net-im/dino/dino-0.2.2.ebuild b/net-im/dino/dino-0.2.2.ebuild new file mode 100644 index 000000000000..169e9707eef1 --- /dev/null +++ b/net-im/dino/dino-0.2.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2021 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 + +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/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 + ) + notification-sound? ( media-libs/libcanberra:0[sound] ) +" +DEPEND=" + $(vala_depend) + ${RDEPEND} + 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 +} |