summaryrefslogtreecommitdiff
path: root/media-libs/libmikmod
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-29 16:01:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-29 16:01:29 +0100
commit9cd7e710ac676c1a318d09e665ca3558bb5c5323 (patch)
treee9be71b324835aa5fe0d86769dc47ba880e3313b /media-libs/libmikmod
parent8ba401288d74259a5fd8e9de5241dd57a0a73b1f (diff)
gentoo auto-resync : 29:10:2022 - 16:01:29
Diffstat (limited to 'media-libs/libmikmod')
-rw-r--r--media-libs/libmikmod/Manifest2
-rw-r--r--media-libs/libmikmod/libmikmod-3.3.11.1-r1.ebuild (renamed from media-libs/libmikmod/libmikmod-3.3.11.1.ebuild)23
2 files changed, 15 insertions, 10 deletions
diff --git a/media-libs/libmikmod/Manifest b/media-libs/libmikmod/Manifest
index 07e72f558844..a9ef6d572339 100644
--- a/media-libs/libmikmod/Manifest
+++ b/media-libs/libmikmod/Manifest
@@ -1,3 +1,3 @@
DIST libmikmod-3.3.11.1.tar.gz 1240373 BLAKE2B 9de58eea739f8f7a5c4ff482093974f67a623fd0acd3b65752b0832b1376fb05ca00e7fbd09c242a25fb76d90d662afc3886808fbe6cabb15332f263adba37ad SHA512 f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de
-EBUILD libmikmod-3.3.11.1.ebuild 2146 BLAKE2B 5878ab493eeba16da587677cf27da12806f5ba1ca4f1d1beb4a0449401270d5b524a99a488650ab1405967bbcf5be9a21d417df8e819c450f2c658b3dff6dd97 SHA512 91e568298df78291ce5a23f95a183270bffd9b30b75b8453dd30bd2b808daed49c0d28b7239b25d71242de417eb648589857ec201024f02dbfa43151a1024b30
+EBUILD libmikmod-3.3.11.1-r1.ebuild 2168 BLAKE2B d173989b2af3120be2320447a10bab4bfde62a43e7b07a62ca8022e2a2ada57e53a0cde5726436251d68f29c880c2817d38f73cf1e50f48bd9b42e46afc3c98e SHA512 da872fb9cbe91942e1b4e0e38d4702d6b3093261170d85f8f3ab84c1d2a2100f4999b7f916b7df01d4af0f111e5f5cbd8ff76662a7dbf690b867fc983f451da4
MISC metadata.xml 330 BLAKE2B f865c47d2fe40d5bb20da22fc2b3a93568b7b3756a424367a2be855b49ea8287af72f5973ccfc8c4c4c7f501c9b9d468539e8d929699acada27e0fee40206bba SHA512 9ef7a547be98060ffb33c04cc09bc2fad66a26b9a71c5602a3627a69c9e9e280573e61239318b689bdfeaa157215672e03ee8838893ea1923b618421c2888111
diff --git a/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild b/media-libs/libmikmod/libmikmod-3.3.11.1-r1.ebuild
index bb462fd8cdd0..96b5ee258b0b 100644
--- a/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
+++ b/media-libs/libmikmod/libmikmod-3.3.11.1-r1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit multilib-minimal
+EAPI=8
+
+inherit multilib multilib-minimal
DESCRIPTION="A library to play a wide range of module formats"
HOMEPAGE="http://mikmod.sourceforge.net/"
@@ -15,23 +16,27 @@ IUSE="+alsa coreaudio cpu_flags_ppc_altivec debug nas openal oss pulseaudio cpu_
REQUIRED_USE="|| ( alsa coreaudio nas openal oss pulseaudio )"
-RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2:=[${MULTILIB_USEDEP}] )
+RDEPEND="
+ !${CATEGORY}/${PN}:2
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2:=[${MULTILIB_USEDEP}] )
nas? ( >=media-libs/nas-1.9.4:=[${MULTILIB_USEDEP}] )
openal? ( >=media-libs/openal-1.15.1-r1[${MULTILIB_USEDEP}] )
pulseaudio? ( >=media-sound/pulseaudio-5.0[${MULTILIB_USEDEP}] )
- !${CATEGORY}/${PN}:2"
+"
DEPEND="${RDEPEND}
- sys-apps/texinfo
- oss? ( virtual/os-headers )"
+ oss? ( virtual/os-headers )
+"
+BDEPEND="sys-apps/texinfo"
MULTILIB_CHOST_TOOLS=(
/usr/bin/libmikmod-config
)
src_prepare() {
+ default
+
# USE=debug enables Werror, bug #621688
sed -i -e 's/-Werror//' configure || die
- default
}
multilib_src_configure() {
@@ -44,8 +49,7 @@ multilib_src_configure() {
fi
# sdl, sdl2: missing multilib supported ebuilds, temporarily disabled, remember to update REQUIRED_USE
- ECONF_SOURCE=${S} \
- econf \
+ ECONF_SOURCE=${S} econf \
$(use_enable alsa) \
$(use_enable nas) \
$(use_enable pulseaudio) \
@@ -70,5 +74,6 @@ multilib_src_install_all() {
dodoc AUTHORS NEWS README TODO
docinto html
dodoc docs/*.html
+
find "${ED}" -name '*.la' -delete || die
}