summaryrefslogtreecommitdiff
path: root/app-arch/libpar2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
commite8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 (patch)
tree14ad0b4141ec6704388a9130b87976ed75435984 /app-arch/libpar2
parent6fcdccbe589d724b6c268b49f66414e40eb0d807 (diff)
gentoo auto-resync : 14:09:2024 - 12:32:27
Diffstat (limited to 'app-arch/libpar2')
-rw-r--r--app-arch/libpar2/Manifest3
-rw-r--r--app-arch/libpar2/libpar2-0.4-r1.ebuild33
-rw-r--r--app-arch/libpar2/libpar2-0.4.ebuild12
3 files changed, 46 insertions, 2 deletions
diff --git a/app-arch/libpar2/Manifest b/app-arch/libpar2/Manifest
index 47f010bc02ff..c987e8597da6 100644
--- a/app-arch/libpar2/Manifest
+++ b/app-arch/libpar2/Manifest
@@ -1,3 +1,4 @@
DIST libpar2-0.4.tar.gz 516613 BLAKE2B d5102ca9b9a25c77bc63524c04b0cb25ad3dd44e63dc0fd92ac7744d00b0044b79df4737428350ff2ea4f65acb212bac8f983d299bb5a934fc7f916994b61a98 SHA512 36d6f91bb3ea94dca1c4c45be41d37662a928bed39edace1a38ae0ad167804308d252a9fe49c2babb194b297fa4671654532add3758b7d7d528161cdceb278e6
-EBUILD libpar2-0.4.ebuild 557 BLAKE2B b14fe376c82f383e830ca19747806c5e605ae05fba0434bd9f0de5fcf260d0a0030e6847b618d9eef4706cce2a18de3f26eaf95ddd0442dd8190bc84220464c7 SHA512 753403b1666f7347b9e86e80fa5792adcb65b0ca3f5e77f9d74a3fea6213839021896841aef679b96327bd0e3af76e84917826282af143f840b84ae7e52557f2
+EBUILD libpar2-0.4-r1.ebuild 655 BLAKE2B 0adbb7fad3c4152fc46092aac4629166b1349a39ae77f7dd7103fa06241eaf8457d766180af9ff182bcf11c2d010c5c7f0ff64e5f614a53b6efaf47ce303741b SHA512 15bf3ff8397ff5c4f6f10e7a6f577859e4000f7de0832ba81bdc0bffcc6e8e53abec195f920c1b171bd1ed023769a91a692627c0c57e5004e7a70f4ad26ea5c5
+EBUILD libpar2-0.4.ebuild 697 BLAKE2B 5ed92301669e29b60a78651302bc88ffa0b7dd633db51263f88ea54a05f516b2e951aaa43e73184342b4b60800eab58d97cd4ff858a2a1877b55434d8c391c37 SHA512 d95d535d359e4219c706d7a1817d4da2548884174a981cfe0a9cd3d020fc0e2037e0b3a82604161d5db4bb25cd83bf9eb2c6c773373a5c571a25bd45f1a16be3
MISC metadata.xml 248 BLAKE2B 4662590e15be68a88a2c31d99af64264504b9ddb935a26c05f8ebac4765fe99ddae2f0a7a163d220d82e4da45e48261f0a4995e0249f12b4919629522168ad80 SHA512 42012225bf901770fe8a64bd6806bb52ad78b37af659d843da181e76ef288b46688579924dc447fb25549da5ea3a5bfc8cbf689dd8f43f446993c1e6255a8256
diff --git a/app-arch/libpar2/libpar2-0.4-r1.ebuild b/app-arch/libpar2/libpar2-0.4-r1.ebuild
new file mode 100644
index 000000000000..a9f492e7e61a
--- /dev/null
+++ b/app-arch/libpar2/libpar2-0.4-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool
+
+DESCRIPTION="A library for par2, extracted from par2cmdline"
+HOMEPAGE="https://launchpad.net/libpar2/"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="dev-libs/libsigc++:2"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ elibtoolize
+
+ # broken distfile, see https://bugs.gentoo.org/939532
+ touch config.h.in || die
+}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/app-arch/libpar2/libpar2-0.4.ebuild b/app-arch/libpar2/libpar2-0.4.ebuild
index 31de2a7569ff..2aa9e048718c 100644
--- a/app-arch/libpar2/libpar2-0.4.ebuild
+++ b/app-arch/libpar2/libpar2-0.4.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit libtool
+
DESCRIPTION="A library for par2, extracted from par2cmdline"
HOMEPAGE="https://launchpad.net/libpar2/"
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
@@ -15,6 +17,14 @@ RDEPEND="dev-libs/libsigc++:2"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+src_prepare() {
+ default
+ elibtoolize
+
+ # broken distfile, see https://bugs.gentoo.org/939532
+ touch config.h.in || die
+}
+
src_configure() {
econf --disable-static
}