summaryrefslogtreecommitdiff
path: root/media-libs/zimg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-10 21:21:18 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-10 21:21:18 +0000
commitb118032096b3380de251b5de2466f5198fd2930a (patch)
tree992376912dd2522e0078f8350735c14bd0b77149 /media-libs/zimg
parent177349fb1459039cc30cb8e3936af4117d038c16 (diff)
gentoo auto-resync : 10:12:2022 - 21:21:18
Diffstat (limited to 'media-libs/zimg')
-rw-r--r--media-libs/zimg/Manifest3
-rw-r--r--media-libs/zimg/zimg-3.0.4-r1.ebuild47
-rw-r--r--media-libs/zimg/zimg-9999.ebuild9
3 files changed, 57 insertions, 2 deletions
diff --git a/media-libs/zimg/Manifest b/media-libs/zimg/Manifest
index 63d72da7d934..055ba2bbae87 100644
--- a/media-libs/zimg/Manifest
+++ b/media-libs/zimg/Manifest
@@ -1,6 +1,7 @@
AUX backport-e29571f-issue-175.patch 3113 BLAKE2B 667a71b0749c335675d7bc6f71ef7fde19a9ec7b88444caf3bc231e99b7800af56d0584a1d8d4172d67bd8876c93afa1f3327962a603c8bd78a8c6dcbf5b5b15 SHA512 02e227bd4b8fedd07192802e5f9e48ecd2621d480d0e9a52806c13ddf02ce5d0d492bb415d2c52361a0ea9abc3bc814886dccd16f96721e4af88cc04af57e781
AUX system-gtest.patch 1483 BLAKE2B 21e9e347c85a81e562cff1bd6e9d6a017f87ad408566e7d93205a6ecd77222cd361f112c15f4720a464c86b1801a96666401f5daeec83bffcfb81ccc67f2c4d5 SHA512 91a034c0f303fee5a6b7deec5badf9269d4888c558a20a2cbeb52005f296a38446e3df8a3bfd2ba863ca7d9a0c350782b3b02bae91de04e2ff81d65e6113a4f7
DIST zimg-3.0.4.tar.gz 326578 BLAKE2B 0fa63ccb0037cb6de93cdf9a5cc2d7b7d822652361c08845f9776b85856f03f29ef9fdbe9db55c074922ef13cf76ce4170786fd480da934556997658b7c32a30 SHA512 94beddb109f0b301f0fecf09ea2761d3707aaa1f0cc1caf682bb3d1d7dcd89164de8388e922758e274914df9c7c7c1a0a0c5192e78f88655ed4c6da0ee51995c
+EBUILD zimg-3.0.4-r1.ebuild 1119 BLAKE2B 8b691e47212e073b75a2783284b90c94e016deec948a0d222d765aa56ceaf0f8c6fe46eb95f3682da91136d0e74a25d38ea3af63c9896da82842938a68d054d2 SHA512 fff0cbcadd46dc82a777993cd8ceb83e0f3d554095690f40ac852e422923721607b65bac35f4aa7b44d9a5aa7d811127fb1731f6abfe48430d5c9c2c5bafb375
EBUILD zimg-3.0.4.ebuild 983 BLAKE2B 14255a1698018edff4d8bac689ad1fdb925290f5721184e736cb02fb8bb288fcbef7fa8107f21f0b9b44e2f391b5f9529e3219b5d6df2522fd860ea15a2104d4 SHA512 9322323dce7756bd84095076ee2798c01fbf4d87fef2c93e1a17d6b92521a9185b0204fcebccb473fdc3b862ec97fe7e9e97ef62c0b254ac71e17ac453570e35
-EBUILD zimg-9999.ebuild 790 BLAKE2B 134fe89f4b4ce53353b67388e2dca74f18dce7cd28c3061c3ed8c0310d7e54b07157fb9e3f4e547b4541192b1b6054239c524117a6856cc81e2c083c8349e640 SHA512 ee669bffff67304cd5c2d112af1162f9d7d689f413c3c160de3c18a8623d71e77c738733e9bf34503a57ab575ca00f5c561753e95d541bd12c3b56c18e73eac3
+EBUILD zimg-9999.ebuild 919 BLAKE2B 6bf76a22b9cc37522fbc9c13cdfbdf20b1977856efa802cb96d2cdfebceea7348840959d41258212224408af3900f4baf4dfa5421d9f4e00cb2e753cd2ff5a20 SHA512 bfe8f10e33391bb5e87e91966ca239ea78d6a07c56f5c3617662da1006697c2d9c2cca2b62e6375649f1b0a66ff3c98c1dac038ec469782e38437e93886dc827
MISC metadata.xml 312 BLAKE2B 278c7bce7361e1cb96725595df0c35f0e227db2e6732d3cf1b53c960ad4a319a831a0e7cbf51702b24785f0f8d7bc73d3443a17e88595509a62a476caec5c5f4 SHA512 c070a6ea9f0a64532f6aa33b12ad04b293e8a6e014245936a71d5ab6facdec8ffd2665a49cdf3562a3dbc60406b6a24261aa9e65f7b7b63ef0d005927967cac2
diff --git a/media-libs/zimg/zimg-3.0.4-r1.ebuild b/media-libs/zimg/zimg-3.0.4-r1.ebuild
new file mode 100644
index 000000000000..ffef62a46080
--- /dev/null
+++ b/media-libs/zimg/zimg-3.0.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} = *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/sekrit-twc/zimg"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ S="${WORKDIR}/${PN}-release-${PV}/"
+fi
+inherit autotools multilib-minimal
+
+DESCRIPTION="Scaling, colorspace conversion, and dithering library"
+HOMEPAGE="https://github.com/sekrit-twc/zimg"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
+DEPEND="test? ( dev-cpp/gtest )"
+
+PATCHES=(
+ "${FILESDIR}/system-gtest.patch"
+ "${FILESDIR}/backport-e29571f-issue-175.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable debug) \
+ $(use_enable static-libs static) \
+ $(use_enable test unit-test)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ if ! use static-libs; then
+ find "${ED}" -type f -name '*.la' -delete || die
+ fi
+}
diff --git a/media-libs/zimg/zimg-9999.ebuild b/media-libs/zimg/zimg-9999.ebuild
index 2c7c54c43cfe..1db3c69e1757 100644
--- a/media-libs/zimg/zimg-9999.ebuild
+++ b/media-libs/zimg/zimg-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
if [[ ${PV} = *9999* ]] ; then
EGIT_REPO_URI="https://github.com/sekrit-twc/zimg"
@@ -30,3 +30,10 @@ multilib_src_configure() {
$(use_enable debug) \
$(use_enable static-libs static)
}
+
+multilib_src_install_all() {
+ einstalldocs
+ if ! use static-libs; then
+ find "${ED}" -type f -name '*.la' -delete || die
+ fi
+}