summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-06-21 17:49:07 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-06-21 17:49:07 +0200
commit3c3e04abeb98d6b5b9a610d758bf6970d573f85c (patch)
tree64283ecf0a0c97b2dafb4d39d7a7f71a72b166a5
parentapp-arch/unrar: Rev bump to downgrade EAPI back to 5 (diff)
downloadgentoo-3c3e04abeb98d6b5b9a610d758bf6970d573f85c.tar.gz
gentoo-3c3e04abeb98d6b5b9a610d758bf6970d573f85c.tar.bz2
gentoo-3c3e04abeb98d6b5b9a610d758bf6970d573f85c.zip
media-libs/libmikmod: Bump to version 3.3.11.1
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--media-libs/libmikmod/Manifest1
-rw-r--r--media-libs/libmikmod/libmikmod-3.3.11.1.ebuild76
2 files changed, 77 insertions, 0 deletions
diff --git a/media-libs/libmikmod/Manifest b/media-libs/libmikmod/Manifest
index 171a0ed21b26..8754f3266f4e 100644
--- a/media-libs/libmikmod/Manifest
+++ b/media-libs/libmikmod/Manifest
@@ -1,3 +1,4 @@
DIST libmikmod-3.3.10.tar.gz 1237413 SHA256 00b3f5298431864ebd069de793ec969cfea3ae6f340f6dfae1ff7da1ae24ef48 SHA512 89a71f859bb2dbd20db2b8e1c381df61639302b5e10b85d64fa329fcad5aec603992f11d24c4498c442090f1dded7c8f14271cbaf1acc1b7e719be9cff60b3fe WHIRLPOOL 3c67c4fc73f62b9d2a60d1025f3962cc8429c71831186f4aed0e28111de3b683fb5453d0bb71c092242e59dcb408f815d09d4b70c704b52d53de81857fcb84cc
+DIST libmikmod-3.3.11.1.tar.gz 1240373 SHA256 ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19 SHA512 f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de WHIRLPOOL 18cdeb15221707f5f22d95e88c25aa55e95900cb46acd9b895c25b520b8b3111a563ba5424e6a6d46415eb40061c9204e2fbc306c87e16647db34b467518c4e2
DIST libmikmod-3.3.11.tar.gz 1240329 SHA256 d1ba23ce8191ac917f9080bbc1e5e879887c01acd7bd311b1315932c4312abea SHA512 61866fee68d91ff967ac2bad041e70034abbb4c095bba0475ed02cb81a467621a41a0685957cd9b5c19ec5218885ad42dc655443d67e01aa2623d91c0496dd63 WHIRLPOOL 283ef43b500bca0fd3eed069e45d25f35cf7212214739b85175676cb14fad8a1072efae4ade0fece5056c8091f404b7d933e73ce75018fbfc8627744d5780f6d
DIST libmikmod-3.3.8.tar.gz 1254702 SHA256 4acf6634a477d8b95f18b55a3e2e76052c149e690d202484e8b0ac7589cf37a2 SHA512 033e3977d5723c42af697bf1b9ba6b1912fff1bfbef1894e2b1919d55415efa8024046579ff6a1e9ec752a3c793acc60b616c223b3cb5d79a814746c0cf55e15 WHIRLPOOL 569dda4099e7b7b0c8f198425c9ae68f0fd6a1468e301e133482e24aef04ff85385aafe0ead3b847fb138d3c3fca06a9b588f3a896cf789143a2622d826f4cb1
diff --git a/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild b/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
new file mode 100644
index 000000000000..7ab9e60a597e
--- /dev/null
+++ b/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils multilib-minimal
+
+DESCRIPTION="A library to play a wide range of module formats"
+HOMEPAGE="http://mikmod.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mikmod/${P}.tar.gz"
+
+LICENSE="LGPL-2+ LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="+alsa altivec coreaudio debug nas openal oss pulseaudio cpu_flags_x86_sse2 static-libs +threads"
+
+REQUIRED_USE="|| ( alsa coreaudio nas openal oss pulseaudio )"
+
+RDEPEND="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
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ oss? ( virtual/os-headers )"
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/libmikmod-config
+)
+
+src_prepare() {
+ # USE=debug enables Werror, bug #621688
+ sed -i -e 's/-Werror//' configure || die
+ default
+}
+
+multilib_src_configure() {
+ local mysimd="--disable-simd"
+ if use ppc || use ppc64 || use ppc-macos; then
+ mysimd="$(use_enable altivec simd)"
+ fi
+ if use amd64 || use x86 || use x86-fbsd || use amd64-linux || use x86-linux || use x86-macos || use x64-macos; then
+ mysimd="$(use_enable cpu_flags_x86_sse2 simd)"
+ fi
+
+ # sdl, sdl2: missing multilib supported ebuilds, temporarily disabled, remember to update REQUIRED_USE
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_enable alsa) \
+ $(use_enable nas) \
+ $(use_enable pulseaudio) \
+ --disable-sdl \
+ --disable-sdl2 \
+ $(use_enable openal) \
+ $(use_enable oss) \
+ $(use_enable coreaudio osx) \
+ $(use_enable debug) \
+ $(use_enable threads) \
+ $(use_enable static-libs static) \
+ --disable-dl \
+ ${mysimd}
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ dosym ${PN}$(get_libname 3) /usr/$(get_libdir)/${PN}$(get_libname 2)
+}
+
+multilib_src_install_all() {
+ dodoc AUTHORS NEWS README TODO
+ docinto html
+ dodoc docs/*.html
+ prune_libtool_files
+}