From 00e5f3dfd231c27a23693af9e4d8f714cbd9337e Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Thu, 17 Nov 2022 20:23:02 +0100 Subject: [PATCH] consolidated update of dev-libs/libcnotify --- dev-libs/libcnotify/Manifest | 3 +- .../libcnotify/libcnotify-20191109.ebuild | 26 ----------- .../libcnotify/libcnotify-20200627.ebuild | 26 ----------- .../libcnotify/libcnotify-20200913.ebuild | 33 ++++++++++---- .../libcnotify/libcnotify-20220108.ebuild | 43 +++++++++++++++++++ 5 files changed, 69 insertions(+), 62 deletions(-) delete mode 100644 dev-libs/libcnotify/libcnotify-20191109.ebuild delete mode 100644 dev-libs/libcnotify/libcnotify-20200627.ebuild create mode 100644 dev-libs/libcnotify/libcnotify-20220108.ebuild diff --git a/dev-libs/libcnotify/Manifest b/dev-libs/libcnotify/Manifest index 3b9f1e372..57bf9a1e3 100644 --- a/dev-libs/libcnotify/Manifest +++ b/dev-libs/libcnotify/Manifest @@ -1,3 +1,2 @@ -DIST libcnotify-beta-20191109.tar.gz 495006 BLAKE2B a4c051ad598d792887fc851658bc97c5cfc00898d1ffaea7b5c79200871adb1db8887581b1def64ca0cebebadd1bc2c253776b14c7a42d3be79b95f4b70ea71d SHA512 2b3558cecbbb2d3d511e3a9024ed5a1aa6f291fbcc80be5992ee72a8e105cdd39f57e4448f807f0d4cbd7a00542cd34033e5bb26a2b14c1a843828ec4bf7dae4 -DIST libcnotify-beta-20200627.tar.gz 507395 BLAKE2B 818d4566d92f14643aabd871bb5107a8e08e9cb0c5752d9035eb275469ccdbff8939bef9ea08b58d139799adaddb0629e678eae0b5298f9a0032d703f7f30c7d SHA512 dd833a779d755aa96c473286f9ce2fae3b34d43f51e87e9817f41a9e0272679a1d0943469cbe9c74f1680caa6cc1d8cd39db0e191528537026ab4f985e5a2c88 DIST libcnotify-beta-20200913.tar.gz 507532 BLAKE2B c5254c484f787e1f0c3b56d80a25bbf1dcf275c24eb29a904fe04033e2bc4911293fd30f8474d0dfb5aab9fe8fcf1f01ebf2c0a5d19c45a52d2956439541ef9c SHA512 cbbd4ff9d905d654bf217650a91f41c6187bfdc554f8849f91eccd4189be898be917766603c788f2df93110f53acebf97691dc956782e224b6f799a5eadcc79e +DIST libcnotify-beta-20220108.tar.gz 508178 BLAKE2B e3a0fa9b584f858b4ce281d9626987ebdad0ed6edec7679de58a37582153e20ee3b00d43e4d0eb3bb4a7a56ef73bac8ffe53b08a4b2182f13a22668f8c8ecdfd SHA512 63d46da7f47a1e4abac90c9103a78c734a4039ec589583eb43fa200a54e27822999bc51f95dbf995e8cf9121379ec7a54895b1b9a16e69df0fa5a9cbe52fd180 diff --git a/dev-libs/libcnotify/libcnotify-20191109.ebuild b/dev-libs/libcnotify/libcnotify-20191109.ebuild deleted file mode 100644 index dd7654c91..000000000 --- a/dev-libs/libcnotify/libcnotify-20191109.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Library for cross-platform C notification functions" -HOMEPAGE="https://github.com/libyal/${PN}" -SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-beta-${PV}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="nls" - -DEPEND="dev-libs/libcerror - nls? ( virtual/libiconv - virtual/libintl )" -RDEPEND="${DEPEND}" - -src_configure() { - econf $(use_enable nls) \ - $(use_with nls libiconv-prefix) \ - $(use_with nls libintl-prefix) -# \ -# --with-libcerror -} diff --git a/dev-libs/libcnotify/libcnotify-20200627.ebuild b/dev-libs/libcnotify/libcnotify-20200627.ebuild deleted file mode 100644 index 01e93c262..000000000 --- a/dev-libs/libcnotify/libcnotify-20200627.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Library for cross-platform C notification functions" -HOMEPAGE="https://github.com/libyal/${PN}" -SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-beta-${PV}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="nls" - -DEPEND="dev-libs/libcerror - nls? ( virtual/libiconv - virtual/libintl )" -RDEPEND="${DEPEND}" - -src_configure() { - econf $(use_enable nls) \ - $(use_with nls libiconv-prefix) \ - $(use_with nls libintl-prefix) -# \ -# --with-libcerror -} diff --git a/dev-libs/libcnotify/libcnotify-20200913.ebuild b/dev-libs/libcnotify/libcnotify-20200913.ebuild index 01e93c262..7e6be06ad 100644 --- a/dev-libs/libcnotify/libcnotify-20200913.ebuild +++ b/dev-libs/libcnotify/libcnotify-20200913.ebuild @@ -1,26 +1,43 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit autotools DESCRIPTION="Library for cross-platform C notification functions" -HOMEPAGE="https://github.com/libyal/${PN}" -SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-beta-${PV}.tar.gz" +HOMEPAGE="https://github.com/libyal/libcnotify" +SRC_URI="https://github.com/libyal/libcnotify/releases/download/${PV}/${PN}-beta-${PV}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 x86" IUSE="nls" -DEPEND="dev-libs/libcerror - nls? ( virtual/libiconv - virtual/libintl )" +DEPEND=" + dev-libs/libcerror + nls? ( + virtual/libiconv + virtual/libintl + ) +" RDEPEND="${DEPEND}" +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + src_configure() { econf $(use_enable nls) \ $(use_with nls libiconv-prefix) \ $(use_with nls libintl-prefix) -# \ -# --with-libcerror + +# --disable-shared-libs disable shared library support +# not supported in the ebuild at the moment - kind of defeats the entire process + +# --enable-winapi enable WINAPI support for cross-compilation +# [default=auto-detect] +# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us } diff --git a/dev-libs/libcnotify/libcnotify-20220108.ebuild b/dev-libs/libcnotify/libcnotify-20220108.ebuild new file mode 100644 index 000000000..7e6be06ad --- /dev/null +++ b/dev-libs/libcnotify/libcnotify-20220108.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for cross-platform C notification functions" +HOMEPAGE="https://github.com/libyal/libcnotify" +SRC_URI="https://github.com/libyal/libcnotify/releases/download/${PV}/${PN}-beta-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls" + +DEPEND=" + dev-libs/libcerror + nls? ( + virtual/libiconv + virtual/libintl + ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + +src_configure() { + econf $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) + +# --disable-shared-libs disable shared library support +# not supported in the ebuild at the moment - kind of defeats the entire process + +# --enable-winapi enable WINAPI support for cross-compilation +# [default=auto-detect] +# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us +}