forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/libmikmod: Bump to version 3.3.10
Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <[email protected]>
- Loading branch information
Lars Wendler
committed
Sep 1, 2016
1 parent
b30a373
commit f24617a
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST libmikmod-3.3.10.tar.gz 1237413 SHA256 00b3f5298431864ebd069de793ec969cfea3ae6f340f6dfae1ff7da1ae24ef48 SHA512 89a71f859bb2dbd20db2b8e1c381df61639302b5e10b85d64fa329fcad5aec603992f11d24c4498c442090f1dded7c8f14271cbaf1acc1b7e719be9cff60b3fe WHIRLPOOL 3c67c4fc73f62b9d2a60d1025f3962cc8429c71831186f4aed0e28111de3b683fb5453d0bb71c092242e59dcb408f815d09d4b70c704b52d53de81857fcb84cc | ||
DIST libmikmod-3.3.7.tar.gz 1226732 SHA256 4cf41040a9af99cb960580210ba900c0a519f73ab97b503c780e82428b9bd9a2 SHA512 3d2db6d0838a957f073f43f81e8ee20d803e5103e71bcbf7bb08f8a7776a77be50958522fc48e3ea9c20ee20a5a60eda8a66cd403f382ebd6c7910c6325dd4e9 WHIRLPOOL 708032fddc2260e52baee07dc00c45ac3dd0936d1c0f3f3b131dd3627fa7e1f0c699ab8184863f6435286ea4e1f83599cac76ce985ebd92a2d15ab7844d83fdf | ||
DIST libmikmod-3.3.8.tar.gz 1254702 SHA256 4acf6634a477d8b95f18b55a3e2e76052c149e690d202484e8b0ac7589cf37a2 SHA512 033e3977d5723c42af697bf1b9ba6b1912fff1bfbef1894e2b1919d55415efa8024046579ff6a1e9ec752a3c793acc60b616c223b3cb5d79a814746c0cf55e15 WHIRLPOOL 569dda4099e7b7b0c8f198425c9ae68f0fd6a1468e301e133482e24aef04ff85385aafe0ead3b847fb138d3c3fca06a9b588f3a896cf789143a2622d826f4cb1 | ||
DIST libmikmod-3.3.9.tar.gz 1262237 SHA256 3b65c1a5cae07a2771cbb82fc70ac75d99f4b3e35ac1d4cd2177865093df2893 SHA512 260a3b46575bbfa5d7117d048293ea4271f1675d00e7cdb82f068493a3bfc69af3a10a35bd6a8a647bbe6808796a795a801c5c040d5d1eedffad455f0cbc2736 WHIRLPOOL 6d68a427b389b763b5e3656bdbc178de69cf5cdc208a2845a3957194fdf2612aea9dbe2ed4653d61872eebbe5efb0eb973088b30a6f34e6ea9248d7dedb65126 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
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 ~x86-freebsd ~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 | ||
) | ||
|
||
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 x86-freebsd || use amd64-linux || use x86-linux || use x86-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 | ||
} |