summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin66309 -> 66303 bytes
-rw-r--r--media-libs/fidlib/Manifest3
-rw-r--r--media-libs/fidlib/fidlib-0.9.10-r1.ebuild14
-rw-r--r--media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch15
-rw-r--r--media-libs/leptonica/Manifest4
-rw-r--r--media-libs/leptonica/leptonica-1.80.0.ebuild77
-rw-r--r--media-libs/leptonica/leptonica-1.81.1.ebuild77
-rw-r--r--media-libs/libopenmpt/Manifest4
-rw-r--r--media-libs/libopenmpt/libopenmpt-0.5.14.ebuild61
-rw-r--r--media-libs/libopenmpt/libopenmpt-0.6.5.ebuild61
-rw-r--r--media-libs/stimg/Manifest2
-rw-r--r--media-libs/stimg/stimg-0.1.0-r1.ebuild (renamed from media-libs/stimg/stimg-0.1.0.ebuild)27
12 files changed, 40 insertions, 305 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index f847d67d9347..a948fa7c7288 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/fidlib/Manifest b/media-libs/fidlib/Manifest
index 4110998e99fd..86757b6bcc81 100644
--- a/media-libs/fidlib/Manifest
+++ b/media-libs/fidlib/Manifest
@@ -1,4 +1,5 @@
+AUX fidlib-0.9.10-Add-missing-unistd.h-include.patch 444 BLAKE2B cf342cb40f509457ab36fe251dc174b4525f78bddf84e1295814ed188875c9ab7fea224dab15ba69b93163efd01dc26cd35427db28c70f9e3ab401a3fb3e96b0 SHA512 bdbb16990886896cefc10de27590994adef972ee551e3a46be85ad0cb154c7340a4dc0930a6b7c9fb1385809313236b542f840369ec50170b94eeb821d4181f1
AUX fidlib-0.9.10-extern.patch 501 BLAKE2B 883d3914412ba50429a5fd0e607effbfa477e4e806d7f820ed1afdc4e11d18315602dc70271888a15072f2b21ff21dbc00cb5c24240a9bc9f56d1084ba4dafb1 SHA512 b49c6fd88d59b82fdcf96692e4ce1abfccf7209c9ce0757e8111e7a5c66b4d56558999dde2b3e1e017c87bd662e22edd9bb3aed827f12f94429eba4fd37c7c96
DIST fidlib-0.9.10.tgz 87082 BLAKE2B 1a8c2c9abaf1d8d0855466af2c3243a4253f505b488822852d49c702f0904beb599bfa7a023d4be925d1d245b8357ebef05dd6c4051bdc9c9c3eeae96bbf0b46 SHA512 77600acd665407b4d786b406a4f20b2f6c30c74775f5777d5054420b80c74e5bfa316bf7bd90df1669c09cef0ff9b552a0338cd138bf7d9bcf1df7cbff9fea4b
-EBUILD fidlib-0.9.10-r1.ebuild 1066 BLAKE2B abe01c69c666ee37484f5264b576c579a85faf3e183d13ba2caa3609a15e917a0dab150362ebf5041a936fedb0bf34e0d4d1e5305356ff09098d5f10c058d2f1 SHA512 01a7cd143899a543ef244b39d992807fc5d4d9b8214b10c5420e48d82916a80694de9a988ba99ebb9e4a98100efda205671f10e24408c1c2985cf0725e931e8d
+EBUILD fidlib-0.9.10-r1.ebuild 945 BLAKE2B f095d8a5938e7e7ed101dbfc29953df4ab937b1bd8a48ec73adc052a206de59b96d16e58b23155226e16b514cbfe0fc89c3b2376ff5f5aec6f9b0057238c266c SHA512 341b6f3f322adf98648409e8e3c03f4a8d237e5a595aa3cf851856aa47ceb103d69e493826bb69cf3f811e309225957ddd3ff76e1e847df3d555fe6e5e56a976
MISC metadata.xml 266 BLAKE2B ca23b48703283ee907c17267dae8c0f40748e75a7ab7217981a5a81a39c28797966c43265fb0b9dce0b0acf6c79dde5826cf30eb3ca1ec808e96e790d4c554d3 SHA512 d91b69020930a0f557b96c72c89a0881c573da762dbb53dd6fb96e77bba0adbec787b75286ee3e5a62a34e3fa6913c742fa22f99c17d4a3e466e8be05009a6c3
diff --git a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
index f1ded950cbab..750558152e41 100644
--- a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
+++ b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit edo flag-o-matic toolchain-funcs
+inherit edo toolchain-funcs
DESCRIPTION="Run-time filter design and execution library"
HOMEPAGE="http://uazu.net/fidlib/"
@@ -15,17 +15,9 @@ KEYWORDS="amd64 x86"
PATCHES=(
"${FILESDIR}"/${P}-extern.patch
+ "${FILESDIR}"/${PN}-0.9.10-Add-missing-unistd.h-include.patch
)
-src_prepare() {
- default
-
- # Avoid ICE under gcc-4.6, fixed in 4.6.3
- if [[ $(gcc-version) == "4.6" && $(gcc-micro-version) -le 2 ]] ; then
- replace-flags -O? -O0
- fi
-}
-
src_compile() {
# build library
edo $(tc-getCC) ${CFLAGS} -DT_LINUX ${LDFLAGS} -Wl,-soname,libfidlib.so.${PV:0:1} \
diff --git a/media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch b/media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch
new file mode 100644
index 000000000000..2a4ae2d09ea7
--- /dev/null
+++ b/media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch
@@ -0,0 +1,15 @@
+From ffe98aaaef253621d71b73b3a0e54813d220ece9 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Fri, 30 Sep 2022 01:54:08 +0100
+Subject: [PATCH] Add missing unistd.h include
+
+--- a/firun.c
++++ b/firun.c
+@@ -58,6 +58,7 @@ NL " -L Ignore following arguments, display list of filter types."
+ #include <ctype.h>
+ #include <math.h>
+ #include <errno.h>
++#include <unistd.h>
+ #include "fidlib.h"
+
+ typedef unsigned char uchar;
diff --git a/media-libs/leptonica/Manifest b/media-libs/leptonica/Manifest
index 70b9b8971b31..02ac9e48b770 100644
--- a/media-libs/leptonica/Manifest
+++ b/media-libs/leptonica/Manifest
@@ -1,7 +1,3 @@
-DIST leptonica-1.80.0.tar.gz 13926793 BLAKE2B 1c8916acbea7411038c27ad422f7ac8d5769680ae0554a50da332676de4abdd3c6dfab69dfa4abc3525f3aa298062f4f2315548bda9d120e91abf6ffb5b41e1c SHA512 f8062a169b7ac558c8818615e534c0dcb5db48924af4d3106d0e0929e9b2f03347bdeaae45f80bded0b2aed135bb133f775244c8c752891ca4948b5d6b21e147
-DIST leptonica-1.81.1.tar.gz 14056320 BLAKE2B 09a3859d8d2bbef4ea5d450c81dd5af1c95752501e4b40779a57d099eb30934fbfe4099ab2d7abadf518af25cbd3c36269261c9c6d3850a44a2b16c2eb795801 SHA512 3c24e30eab21b634094543a722172553e35d928b3a50bfe78e9b0123cd16d710b4be8714acaac87344b22292b460d6ffb06b05a8e7f3df060544a2bbf3f8a7d2
DIST leptonica-1.82.0.tar.gz 14041481 BLAKE2B 2e60a7e14bf9120348460ac122fe0e9a1c696f17fd8f23cd3eb1b1316e13ae7fd25bbaef3fc8531df6e2572fa06e86d757138b11b29dcc24dda9576b9c00f3b0 SHA512 cb0484570bf3921307ab5c805b3f0e08d4aaa811adfb592f3956b563fc145f7a45173e2278fc5d8a9e37f729bb34dbf8068e030e2066d54547f82d26b56aa27d
-EBUILD leptonica-1.80.0.ebuild 2037 BLAKE2B 118a97e20f0951c04290529e17865b3e527b717dad7686b098dd92cbae65d05cf306c781e0b0328e49145740804f81ccc3e9b5a45ed4bf2db37b949484feb7a0 SHA512 697d321bc53a898e0ce098a76c6b124f20745df63263ce75c11a9d113cc1074ec00961012deaee93010b966924e0418e8c04efc1669816897937b40d8f9805e7
-EBUILD leptonica-1.81.1.ebuild 2055 BLAKE2B f8f26bcef94f9250f4c9cf58a49641c14a873074f4cf666f7ce263b3d20e6a233bf34479664bbd0feb46eb11aeb2ed5e504c8bc4b34b335671c725bc6f218f50 SHA512 2bde386640d2edef03337bb8e23887469554b9c023f12839842ff0d415c752ee6fe27602e4ce08d55efb6f978978c7ae8dc170883a113d286248d34dc09728e9
EBUILD leptonica-1.82.0.ebuild 2056 BLAKE2B 6f98a367073cedb591c4e5266b9340afdf8a8083d1b3c57bebd64ed203b3708d78e89aa800a617a9992031b4d57d591c55346555fda8c831d20841dbfee93923 SHA512 3a336ecaeccb59ac172ab6e4a3c88e882fe7e873218a4a766c0edb0f854dda37546be45865ae1088fa7851489fb516480f7aa840f09bf97328f34d52adb55bc3
MISC metadata.xml 606 BLAKE2B 45193dccfdf3394ba6217bb096036b61059b96be60a22381e039df561a66ef091df4fe0476e2c6a6af9f4ee1cced1019d284171e767c18c56ffef3a737794582 SHA512 6b193ead9003b5f54617f4c4852a0a0477c8cd246b4a5e688578d17ec3c03293b6a45e2f6082a16ca6f432fb2bd3f43efe59c5d0cc1c5f741e91116321a10860
diff --git a/media-libs/leptonica/leptonica-1.80.0.ebuild b/media-libs/leptonica/leptonica-1.80.0.ebuild
deleted file mode 100644
index ef081d205e74..000000000000
--- a/media-libs/leptonica/leptonica-1.80.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit libtool multilib-minimal
-
-DESCRIPTION="C library for image processing and analysis"
-HOMEPAGE="http://www.leptonica.org/"
-SRC_URI="https://github.com/DanBloomberg/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0/5"
-KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~sparc x86 ~ppc-macos"
-IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib"
-# N.B. Tests need some features enabled:
-REQUIRED_USE="test? ( jpeg png tiff zlib )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- gif? ( >=media-libs/giflib-5.1.3:=[${MULTILIB_USEDEP}] )
- jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
- jpeg2k? ( media-libs/openjpeg:2=[${MULTILIB_USEDEP}] )
- png? (
- media-libs/libpng:0=[${MULTILIB_USEDEP}]
- sys-libs/zlib:=[${MULTILIB_USEDEP}]
- )
- tiff? ( media-libs/tiff:0=[${MULTILIB_USEDEP}] )
- webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
- zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
- test? ( media-libs/tiff:0[zlib] )"
-
-DOCS=( README version-notes )
-
-src_prepare() {
- default
- elibtoolize
-
- # unhtmlize docs
- local X
- for X in ${DOCS[@]}; do
- awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \
- "${X}.html" > "${X}" || die 'awk failed'
- rm -f -- "${X}.html"
- done
-}
-
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
- --enable-shared \
- $(use_with gif giflib) \
- $(use_with jpeg) \
- $(use_with jpeg2k libopenjpeg) \
- $(use_with png libpng) \
- $(use_with tiff libtiff) \
- $(use_with webp libwebp) \
- $(use_with webp libwebpmux) \
- $(use_with zlib) \
- $(use_enable static-libs static) \
- $(multilib_native_use_enable utils programs)
-}
-
-multilib_src_test() {
- default
-
- # ${TMPDIR} is not respected. It used to be but it lead to issues
- # and there have been long debates with upstream about it. :(
- rm -rf /tmp/lept/ || die
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- # libtool archives covered by pkg-config
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/media-libs/leptonica/leptonica-1.81.1.ebuild b/media-libs/leptonica/leptonica-1.81.1.ebuild
deleted file mode 100644
index f831a57c4e72..000000000000
--- a/media-libs/leptonica/leptonica-1.81.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit libtool multilib-minimal
-
-DESCRIPTION="C library for image processing and analysis"
-HOMEPAGE="http://www.leptonica.org/"
-SRC_URI="https://github.com/DanBloomberg/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos"
-IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib"
-# N.B. Tests need some features enabled:
-REQUIRED_USE="test? ( jpeg png tiff zlib )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- gif? ( >=media-libs/giflib-5.1.3:=[${MULTILIB_USEDEP}] )
- jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
- jpeg2k? ( media-libs/openjpeg:2=[${MULTILIB_USEDEP}] )
- png? (
- media-libs/libpng:0=[${MULTILIB_USEDEP}]
- sys-libs/zlib:=[${MULTILIB_USEDEP}]
- )
- tiff? ( media-libs/tiff:0=[${MULTILIB_USEDEP}] )
- webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
- zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
- test? ( media-libs/tiff:0[jpeg,zlib] )"
-
-DOCS=( README version-notes )
-
-src_prepare() {
- default
- elibtoolize
-
- # unhtmlize docs
- local X
- for X in ${DOCS[@]}; do
- awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \
- "${X}.html" > "${X}" || die 'awk failed'
- rm -f -- "${X}.html"
- done
-}
-
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
- --enable-shared \
- $(use_with gif giflib) \
- $(use_with jpeg) \
- $(use_with jpeg2k libopenjpeg) \
- $(use_with png libpng) \
- $(use_with tiff libtiff) \
- $(use_with webp libwebp) \
- $(use_with webp libwebpmux) \
- $(use_with zlib) \
- $(use_enable static-libs static) \
- $(multilib_native_use_enable utils programs)
-}
-
-multilib_src_test() {
- default
-
- # ${TMPDIR} is not respected. It used to be but it lead to issues
- # and there have been long debates with upstream about it. :(
- rm -rf /tmp/lept/ || die
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- # libtool archives covered by pkg-config
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest
index 6d240b020e5d..a9b13eafb3ed 100644
--- a/media-libs/libopenmpt/Manifest
+++ b/media-libs/libopenmpt/Manifest
@@ -1,7 +1,3 @@
-DIST libopenmpt-0.5.14+release.autotools.tar.gz 1446898 BLAKE2B ab6ff8db2e19d859fecca882aea3e569b58d96d5055ec0dd42494a7eb38fefa9c8b88f4700d354de71346c71c6d9a96327db1c2b7b48e227928dcba0ce7347d6 SHA512 8897549c18afb57c5bf54f4dd8a1d80983829bca958052d76cda1315ef4a37f4201575817b7cedfe17a44ee79051a52aa35b26a51b554091e92c9d2dcf5924a3
-DIST libopenmpt-0.6.5+release.autotools.tar.gz 1549710 BLAKE2B f04c3df0322f336bd9e90edbbac4fd0532a41fc1ff17c11a20371946bd9ccdc50c0f8adbf92858516d453213dc04bcc07c08a72739458966aba5dfe37a955b8a SHA512 eb59ddb22fa07f216c76138c022187c76065be56d51520ed0dcf6f77638aaf832a803f63a398ca8d47bd368aee24dd425242017136c299fade6fd98b9d7b628c
DIST libopenmpt-0.6.6+release.autotools.tar.gz 1554516 BLAKE2B 21e2fc4252431235608a52d3a321e26eae5d45f2328ff3e3604d84c537d72e07d72346c504901b000af04dfc52b1dd91c79f576be4331ea8685e534a174b61cd SHA512 b634c556f13dc51d1008f4216936a9b7cab25a6fb0d5218da0b692ec848de21905ed1981223ac9ecdebea9ce6c5376e91ff92e1655dd0be491fce0114e3230bf
-EBUILD libopenmpt-0.5.14.ebuild 1544 BLAKE2B ce1beb9e386a70e598f295b4caedab63a9bfb273e4d31a7b78047d68b176dc6b46bf673ca97a395bb30067629785ef9f9117502c3bb0f6a50c25d7045203f51c SHA512 9b834a31821d7fae8e409241b4acf5c298a539c815191cef68219ed6ce6a4edb1cf85f50254c6ea61d17898fbbb0f58ed5c40f4ca35c7cc5965aadadcaa4a5d9
-EBUILD libopenmpt-0.6.5.ebuild 1558 BLAKE2B 5439004083f8803f2069b28be2417aeed10dea5538b348404c4f99d1444910019f0b9d5b4343b4b9475e4362a39a5a4a72ba690ce25399c35893244c5b29c77c SHA512 05c29e814c27b47f617eaa1f90a8d6a8866efa1b9f21ee175e84b813c5c406adf230aa1c034aad630b2e3e6728a2f30939bb61039eb9a333b1884faa0246c6ad
EBUILD libopenmpt-0.6.6.ebuild 1553 BLAKE2B d0da9412d2484b1df2e738f57709edf93e23c076fb251ee4877ddf3609715dd5cf260eb5d9bdb35ad52d0b6301a95a2a7f2d8b9e83b25bb72ae9e1244f000062 SHA512 4a3696608cb68854b0a5c55fcb405d37dcfc9e737d13ba3a3fdd2caf2cd52e59bde98623de58a4f73b01a90619ac3033c16b73222a5e42c67c00dae2c2c2d1b8
MISC metadata.xml 328 BLAKE2B 25f8b37a7e7885a50e5b7305c9090033c78b1154214e05060c3407f0d27ac436aa3f0da1dff3a5ba1685bef390f1fe99416893aaf59e002921cc3464ce0d2167 SHA512 6686c75dbfcd5a5f9d6ef4d667916f54388180045471f8eb585c7b0d6e03f5d56c3fc892c97851f7453318309a456bbfd877eb240cbf008b71984009d08a8181
diff --git a/media-libs/libopenmpt/libopenmpt-0.5.14.ebuild b/media-libs/libopenmpt/libopenmpt-0.5.14.ebuild
deleted file mode 100644
index e07e69b35262..000000000000
--- a/media-libs/libopenmpt/libopenmpt-0.5.14.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal
-
-MY_P="libopenmpt-${PV}+release.autotools"
-DESCRIPTION="Library to decode tracked music files (modules)"
-HOMEPAGE="https://lib.openmpt.org/libopenmpt/"
-SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~riscv x86"
-IUSE="examples mp3 ogg static-libs test vorbis zlib"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] )
- ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )
- vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] )
- zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-ECONF_SOURCE="${S}"
-
-multilib_src_configure() {
- # A lot of these optional dependencies relate to openmpt123, which
- # we package separately, so we disable them here.
- econf \
- $(use_enable static-libs static) \
- --disable-openmpt123 \
- --disable-examples \
- $(use_enable test tests) \
- --disable-doxygen-doc \
- $(use_with zlib) \
- $(use_with mp3 mpg123) \
- $(use_with ogg) \
- $(use_with vorbis) \
- $(use_with vorbis vorbisfile) \
- --without-pulseaudio \
- --without-portaudio \
- --without-portaudiocpp \
- --without-sdl2 \
- --without-sndfile \
- --without-flac
-}
-
-multilib_src_install_all() {
- rm -f \
- "${ED}"/usr/*/*.la \
- "${ED}"/usr/share/doc/${P}/LICENSE || die
-
- if ! use examples; then
- rm -r "${ED}"/usr/share/doc/${P}/examples || die
- fi
-}
diff --git a/media-libs/libopenmpt/libopenmpt-0.6.5.ebuild b/media-libs/libopenmpt/libopenmpt-0.6.5.ebuild
deleted file mode 100644
index 31433906b65f..000000000000
--- a/media-libs/libopenmpt/libopenmpt-0.6.5.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal
-
-MY_P="libopenmpt-${PV}+release.autotools"
-DESCRIPTION="Library to decode tracked music files (modules)"
-HOMEPAGE="https://lib.openmpt.org/libopenmpt/"
-SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86"
-IUSE="examples mp3 ogg static-libs test vorbis zlib"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] )
- ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )
- vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] )
- zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-ECONF_SOURCE="${S}"
-
-multilib_src_configure() {
- # A lot of these optional dependencies relate to openmpt123, which
- # we package separately, so we disable them here.
- econf \
- $(use_enable static-libs static) \
- --disable-openmpt123 \
- --disable-examples \
- $(use_enable test tests) \
- --disable-doxygen-doc \
- $(use_with zlib) \
- $(use_with mp3 mpg123) \
- $(use_with ogg) \
- $(use_with vorbis) \
- $(use_with vorbis vorbisfile) \
- --without-pulseaudio \
- --without-portaudio \
- --without-portaudiocpp \
- --without-sdl2 \
- --without-sndfile \
- --without-flac
-}
-
-multilib_src_install_all() {
- rm -f \
- "${ED}"/usr/*/*.la \
- "${ED}"/usr/share/doc/${P}/LICENSE || die
-
- if ! use examples; then
- rm -r "${ED}"/usr/share/doc/${P}/examples || die
- fi
-}
diff --git a/media-libs/stimg/Manifest b/media-libs/stimg/Manifest
index 8e542a4a55b3..fd082df3fdc7 100644
--- a/media-libs/stimg/Manifest
+++ b/media-libs/stimg/Manifest
@@ -1,4 +1,4 @@
AUX stimg-0.1.0-libpng15.patch 1605 BLAKE2B ae89ad0ec25eb68dd8293aeba40bfa741bb4db06b98cba895cb286580fe382402f1d97cf8a6c59bb53016c5910d349a2eddca178ca6e178779f4c431cc297954 SHA512 16e6e34c059cc419808b42f0ff8d5414b92e8aafbba47ed42f51bb76eb6e0490247726cbb9a3171c285d1dd710090e96e631f3733f9b8be785b2d743b143cca4
DIST stimg-0.1.0.tar.gz 187172 BLAKE2B 5e0a4d9874243bb1e1d3a092cc16cade427399de73cfb91fbf72e5bbd231d1e1ebaaccf4e0275dd5ec5a596ba35e7e6a124cd362c19759f88c2ea6c8363533ed SHA512 6a2b938e3fdac9bd079664a276e7091adc62fe60a386e5f575afe455e355e3639799171c0729131ee8d99c6b86776d64fecb3a85f15eb4ec5a4559e4cc1326a9
-EBUILD stimg-0.1.0.ebuild 666 BLAKE2B 37ec7e8965ed45f3da0eb379f9d2a73890b6b9e7a556ed0db97c0066eb0de31fa4e5733486aef926bd23cc6a97648bd8ed026eb343f9384a23cd87982921d1e0 SHA512 74734a0f5e5d650b8a117c9494195f05501a8620734d9a1ad671593f81a89af1fc4283b6d7ec329914d30c2147d54eea239711825802005d1d1daabe53e9d93e
+EBUILD stimg-0.1.0-r1.ebuild 736 BLAKE2B 9cf8dc48336a34d656b9fcef97250950411b82e7a88336a4dee9aa872f79752715dbd614389e6cfdbe5e0ac42e252daebd4fcc2fdcbbc44a0a9c2d7d0ad00735 SHA512 861c5bbf208fa85305ed5703d471a535485f1ce8f5a0ebe4e425adcf725e9d088f140c67b04f963cc98f13bad3cf9da000b656189c542dee4caa81ebe9a30fc6
MISC metadata.xml 169 BLAKE2B 25149b73446be31f3ea3dd3a6394230987e7d4c601d1605fd3827b37bd99b3301c2e0edb95d0f59a4577ed27919f43c2cc02b1edf62c4012b935a82e709e0c05 SHA512 55c53f74b001bae56ba8c54581a4168335b6b3a28dac23a2102b76795d5fd41de33b8b3e1ec03f9acc6e7a3a77e93b1a6ff3e3967c3156dcbf22b5b5a6245ef5
diff --git a/media-libs/stimg/stimg-0.1.0.ebuild b/media-libs/stimg/stimg-0.1.0-r1.ebuild
index 05c0e054bfcf..dd1d5aac1d48 100644
--- a/media-libs/stimg/stimg-0.1.0.ebuild
+++ b/media-libs/stimg/stimg-0.1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit toolchain-funcs
+inherit autotools toolchain-funcs
DESCRIPTION="Simple and tiny image loading library"
HOMEPAGE="http://homepage3.nifty.com/slokar/fb/"
@@ -15,20 +15,31 @@ KEYWORDS="~alpha amd64 ppc x86"
RDEPEND="
media-libs/libpng:=
+ media-libs/libjpeg-turbo:=
media-libs/tiff:=
- virtual/jpeg"
+"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${P}-libpng15.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-libpng15.patch
+)
+
+src_prepare() {
+ default
+
+ # bug #871486
+ eautoreconf
+}
src_configure() {
tc-export CC
- econf --disable-static
+
+ default
}
src_install() {
default
- # no static archives
- find "${D}" -name '*.la' -delete || die
+ # No static archives
+ find "${ED}" -name '*.la' -delete || die
}