diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-03 08:05:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-03 08:05:42 +0100 |
commit | 8435c842b9e8fbb2bcc80397ab3aa655000459e2 (patch) | |
tree | b74558e80643a8f074c501e8b4bf7f50f7155455 /net-im/dino | |
parent | 5c5e9714c851027611cb726a76ebb8be6d48cbdc (diff) |
gentoo auto-resync : 03:07:2024 - 08:05:42
Diffstat (limited to 'net-im/dino')
-rw-r--r-- | net-im/dino/Manifest | 5 | ||||
-rw-r--r-- | net-im/dino/dino-0.4.3-r1.ebuild | 3 | ||||
-rw-r--r-- | net-im/dino/dino-0.4.4.ebuild | 99 | ||||
-rw-r--r-- | net-im/dino/files/dino-0.4.3-vala-gpgme.patch | 32 |
4 files changed, 137 insertions, 2 deletions
diff --git a/net-im/dino/Manifest b/net-im/dino/Manifest index e189afd3398b..bfab42d9454b 100644 --- a/net-im/dino/Manifest +++ b/net-im/dino/Manifest @@ -1,9 +1,12 @@ AUX README.gentoo 469 BLAKE2B e7176c3fa41c859f13f93f2805bf317817de1c736b56a55a1cd21340b2195f1192a96c56ae973c347430f3553715e829420ef6e0d91b26835cf06d06b744b9ec SHA512 a800f5ae1f02a1574602c1595f005eeffbd2db6c100bb59f7a4cf9dbb0bea79bb3d1a17cf9559a09f318f4d8189ecfce964e594829228ab16f861b3c966c3f41 AUX dino-0.4.3-c99.patch 2378 BLAKE2B a88b813a59e836f23e437e11bda54e48bfbad6f78ede682cabf596562d0cae810ea80054086605f131f9b3a50bafa2aa6e2e4eb41ebf6cb047294c8e047a1228 SHA512 221085118ef69e992920f87f5878b018b360b6c0ce82d6683aa1e36ec15fc41ab0abafbe458a860a3fe566497b11a1b6af73d39b16352f31bb6e176ff9e5ecd6 +AUX dino-0.4.3-vala-gpgme.patch 1333 BLAKE2B 2528634b980de3671dcc3fb36bb7ab10ede05cd860a8f8dd1e6161f2b0444625cff256875d4ada727ab7a173ad026d2f3e03b303ab9e5f9945d239529b7aaedc SHA512 68eb12aacd48a4fc52c9ab58fcc011b14924fba38eaa40207d893caa5d45c2f49c3ef533263a4772b401cd97eb745362acb19ef40ac12b1b52890b8e44ac4be7 DIST dino-0.4.2.tar.gz 882421 BLAKE2B 36c0487a19202506e4de69afd923991c912e82c974f61e787ff4af37a40133fdbdb02315e82f7e85ccb8b3cd7d734aed7f8508ca31c1ffec49674ef68f71793b SHA512 b5d5b9e2ab2ff24f53778303e5428ed0613537944cf5d9139aa7e13558ee40ffb1566c6e9267dd802938a6abf0f0d5fbe94ef17fb3e18a11d47cc0d040928d19 DIST dino-0.4.3.tar.gz 883558 BLAKE2B 31ea5eafedcaabbc1ec99c72b5a0c1a6f80462ce3f8288b2d54d68106cfb9a31d3ac525660cd1ff7bf0faf2fbfdb2f47dd37672cc0f2b3283121fd364f670092 SHA512 c3e5e3ba05d7190206a8a3144002eac94f162525ab229edd420215eff3d5644293d0c8737266f0ed9f112313b2e6e83fb02fcc10d0f568fb5b2295238ebe78ea +DIST dino-0.4.4.tar.gz 884259 BLAKE2B 5290543aeaf89f2adf5acf648b6ff4fb7daafc7d4e0b9e948f34a4af81ea49073664aa37d2541753e2f75dbfe492ac82ebdda5fe9ab5749e7b251d6788a36f3a SHA512 d2d5553c60d20e163930c0d8468727109871651f7305bf86940b7efd70a42d11ca85572f4dbea01e67ec8ce48fb0a244acb29b491d5d43bf188653ddc6ecface EBUILD dino-0.4.2-r2.ebuild 2016 BLAKE2B 4c32be990ad3c0910d4549f0f6765cb586be6f23c1705041aea39778272ab6102178ba0f12341045e8219f337ac56fa0699bbd32059ca6f9c6dfae386e7924b5 SHA512 bd0699ec0c9289272b02cba52d2a7fd049099993c7f12a5150f72d7c79d7d769463c2397398dcd1a620f3343d596ca0603beb545e2a46326307d5c1a1591bd3c -EBUILD dino-0.4.3-r1.ebuild 2060 BLAKE2B 1042f3b5d01ea96414b1023019bafe9303b902506b2f19fdfff7f7fcd208c72c244efae9ec2adc46893de81fa4a375af02abe56d4583abfbaa79489c9a7774c3 SHA512 ef170237b440b9affa974765c707b4a95b497ea4878440451213cf05ceba9aa26af8a8d38c94490b8330b67a70eeb0efaacf36e674ebaf0db0b5a7dd982626c8 +EBUILD dino-0.4.3-r1.ebuild 2096 BLAKE2B ad054bca474156079ce31ba5f2be922e34d84439ec2caf5ad0f5e2999a2cf23869e14c19601363c635befa360c108678bd983b85b2386d996ade059456481e4e SHA512 516802a1afdd5dd70eaa9d21609c9da3ad4fe2a2aab74ba88a75932098d28be84c67e4981072795b871d9e21afc8e7bfa3a338fb672ae7f5fab0da0b142b4578 EBUILD dino-0.4.3.ebuild 2017 BLAKE2B 923c79d60908110c94a5ff34bbf460dafc5c46039af881f17d0a61879bce4f1fb259a764dd36a5ba953f4af7bd5222c0818e3356ff65b94feed8992317702997 SHA512 5ad5c9f7ebfb2a68c0ba374a64046f4fb47d093a4a40bc229600f09da0f106e088b6894c294737e76165b4504a0a5b11e8a7774f6f5acbd54ae97662b54d65bf +EBUILD dino-0.4.4.ebuild 2017 BLAKE2B 4dfed9761f0088aa98f490efe20dbf091d896309486c86d46f649bac70d0c3196f7c79c6159ab78789f0158fc61078c730dc8f8741937b77cbbd16fa8f733760 SHA512 71223699b229e92439fdd22306a0de672bedb6502004823b533d22b2dadc019bdc83a87240270689e119ce32ec66369800b2d49cfb1d004b5dbe834f26a27bb6 EBUILD dino-9999.ebuild 2017 BLAKE2B 923c79d60908110c94a5ff34bbf460dafc5c46039af881f17d0a61879bce4f1fb259a764dd36a5ba953f4af7bd5222c0818e3356ff65b94feed8992317702997 SHA512 5ad5c9f7ebfb2a68c0ba374a64046f4fb47d093a4a40bc229600f09da0f106e088b6894c294737e76165b4504a0a5b11e8a7774f6f5acbd54ae97662b54d65bf MISC metadata.xml 629 BLAKE2B 451fa9ab43aa4c0915e87a4b8835b25fba86c846270d3257f7ca8dcde782f5b2d5c8705f828dc3d20e371345af2b5715f86753839f7d0a147ee9b6fb71aeadb4 SHA512 5d16f3cd53aa46fa5028050fd8db9c3bd239ea80a7bf38dbfc0814a0b50efdc34a7aa52bf628439b2db4aa22afbe320514ae22fc7349d508220da23c00663416 diff --git a/net-im/dino/dino-0.4.3-r1.ebuild b/net-im/dino/dino-0.4.3-r1.ebuild index 0badcf1fd992..429ec8e36db0 100644 --- a/net-im/dino/dino-0.4.3-r1.ebuild +++ b/net-im/dino/dino-0.4.3-r1.ebuild @@ -18,7 +18,7 @@ if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="${MY_REPO_URI}.git" inherit git-r3 else - KEYWORDS="~amd64 ~arm64" + KEYWORDS="amd64 ~arm64" SRC_URI="${MY_REPO_URI}/releases/download/v${PV}/${P}.tar.gz" fi @@ -63,6 +63,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-c99.patch + "${FILESDIR}"/${P}-vala-gpgme.patch ) src_configure() { diff --git a/net-im/dino/dino-0.4.4.ebuild b/net-im/dino/dino-0.4.4.ebuild new file mode 100644 index 000000000000..9b99d0f5f067 --- /dev/null +++ b/net-im/dino/dino-0.4.4.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +rtp 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=" + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/icu:= + dev-libs/libgee:0.8= + gui-libs/gtk:4 + >=gui-libs/libadwaita-1.2.0:1[vala] + media-libs/graphene + net-libs/glib-networking + net-libs/gnutls:= + >=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/pango + gpg? ( app-crypt/gpgme:= ) + http? ( net-libs/libsoup:2.4 ) + notification-sound? ( media-libs/libcanberra:0[sound] ) + omemo? ( + dev-libs/libgcrypt:= + media-gfx/qrencode:= + ) + rtp? ( + media-libs/gst-plugins-base:1.0 + media-libs/gstreamer:1.0 + media-libs/webrtc-audio-processing:0 + ) +" +DEPEND=" + ${RDEPEND} + media-libs/gst-plugins-base + media-libs/gstreamer +" +BDEPEND=" + sys-devel/gettext + $(vala_depend) +" + +src_configure() { + vala_setup + + local disabled_plugins=( + $(usex gpg "" "openpgp") + $(usex omemo "" "omemo") + $(usex http "" "http-files") + $(usex rtp "" rtp) + ) + 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}" + "-DSOUP_VERSION=2" + "-DBUILD_TESTS=$(usex test)" + ) + + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}"/xmpp-vala-test || die +} + +src_install() { + cmake_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + readme.gentoo_print_elog +} diff --git a/net-im/dino/files/dino-0.4.3-vala-gpgme.patch b/net-im/dino/files/dino-0.4.3-vala-gpgme.patch new file mode 100644 index 000000000000..fa609a97d88d --- /dev/null +++ b/net-im/dino/files/dino-0.4.3-vala-gpgme.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/930539 +https://github.com/dino/dino/issues/1576 +https://github.com/dino/dino/commit/a90edd05389d2f8011eccda3acd5f24f3948b8b5 + +From a90edd05389d2f8011eccda3acd5f24f3948b8b5 Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz <ricotz@ubuntu.com> +Date: Sun, 28 Apr 2024 21:30:12 +0200 +Subject: [PATCH] Annotating with array_null_terminated doesn't imply a missing + array_length + +Taken from https://github.com/GNOME/vala-extra-vapis/commit/6b8a3e4faaabc462f90ffcb0cf0f91991ee58077 +--- + plugins/gpgme-vala/vapi/gpgme_public.vapi | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/plugins/gpgme-vala/vapi/gpgme_public.vapi b/plugins/gpgme-vala/vapi/gpgme_public.vapi +index bcf125696..4f9010c98 100644 +--- a/plugins/gpgme-vala/vapi/gpgme_public.vapi ++++ b/plugins/gpgme-vala/vapi/gpgme_public.vapi +@@ -22,9 +22,9 @@ public class Key { + public string issuer_name; + public string chain_id; + public Validity owner_trust; +- [CCode(array_null_terminated = true)] ++ [CCode (array_length = false, array_null_terminated = true)] + public SubKey[] subkeys; +- [CCode(array_null_terminated = true)] ++ [CCode (array_length = false, array_null_terminated = true)] + public UserID[] uids; + public KeylistMode keylist_mode; + // public string fpr; // requires gpgme >= 1.7.0 + |