Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmikmod/
Date: Wed, 21 Jun 2017 15:49:19
Message-Id: 1498060147.3c3e04abeb98d6b5b9a610d758bf6970d573f85c.polynomial-c@gentoo
1 commit: 3c3e04abeb98d6b5b9a610d758bf6970d573f85c
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 21 15:49:07 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 21 15:49:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c3e04ab
7
8 media-libs/libmikmod: Bump to version 3.3.11.1
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-libs/libmikmod/Manifest | 1 +
13 media-libs/libmikmod/libmikmod-3.3.11.1.ebuild | 76 ++++++++++++++++++++++++++
14 2 files changed, 77 insertions(+)
15
16 diff --git a/media-libs/libmikmod/Manifest b/media-libs/libmikmod/Manifest
17 index 171a0ed21b2..8754f3266f4 100644
18 --- a/media-libs/libmikmod/Manifest
19 +++ b/media-libs/libmikmod/Manifest
20 @@ -1,3 +1,4 @@
21 DIST libmikmod-3.3.10.tar.gz 1237413 SHA256 00b3f5298431864ebd069de793ec969cfea3ae6f340f6dfae1ff7da1ae24ef48 SHA512 89a71f859bb2dbd20db2b8e1c381df61639302b5e10b85d64fa329fcad5aec603992f11d24c4498c442090f1dded7c8f14271cbaf1acc1b7e719be9cff60b3fe WHIRLPOOL 3c67c4fc73f62b9d2a60d1025f3962cc8429c71831186f4aed0e28111de3b683fb5453d0bb71c092242e59dcb408f815d09d4b70c704b52d53de81857fcb84cc
22 +DIST libmikmod-3.3.11.1.tar.gz 1240373 SHA256 ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19 SHA512 f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de WHIRLPOOL 18cdeb15221707f5f22d95e88c25aa55e95900cb46acd9b895c25b520b8b3111a563ba5424e6a6d46415eb40061c9204e2fbc306c87e16647db34b467518c4e2
23 DIST libmikmod-3.3.11.tar.gz 1240329 SHA256 d1ba23ce8191ac917f9080bbc1e5e879887c01acd7bd311b1315932c4312abea SHA512 61866fee68d91ff967ac2bad041e70034abbb4c095bba0475ed02cb81a467621a41a0685957cd9b5c19ec5218885ad42dc655443d67e01aa2623d91c0496dd63 WHIRLPOOL 283ef43b500bca0fd3eed069e45d25f35cf7212214739b85175676cb14fad8a1072efae4ade0fece5056c8091f404b7d933e73ce75018fbfc8627744d5780f6d
24 DIST libmikmod-3.3.8.tar.gz 1254702 SHA256 4acf6634a477d8b95f18b55a3e2e76052c149e690d202484e8b0ac7589cf37a2 SHA512 033e3977d5723c42af697bf1b9ba6b1912fff1bfbef1894e2b1919d55415efa8024046579ff6a1e9ec752a3c793acc60b616c223b3cb5d79a814746c0cf55e15 WHIRLPOOL 569dda4099e7b7b0c8f198425c9ae68f0fd6a1468e301e133482e24aef04ff85385aafe0ead3b847fb138d3c3fca06a9b588f3a896cf789143a2622d826f4cb1
25
26 diff --git a/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild b/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
27 new file mode 100644
28 index 00000000000..7ab9e60a597
29 --- /dev/null
30 +++ b/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
31 @@ -0,0 +1,76 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit eutils multilib-minimal
37 +
38 +DESCRIPTION="A library to play a wide range of module formats"
39 +HOMEPAGE="http://mikmod.sourceforge.net/"
40 +SRC_URI="mirror://sourceforge/mikmod/${P}.tar.gz"
41 +
42 +LICENSE="LGPL-2+ LGPL-2.1"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
45 +IUSE="+alsa altivec coreaudio debug nas openal oss pulseaudio cpu_flags_x86_sse2 static-libs +threads"
46 +
47 +REQUIRED_USE="|| ( alsa coreaudio nas openal oss pulseaudio )"
48 +
49 +RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2:=[${MULTILIB_USEDEP}] )
50 + nas? ( >=media-libs/nas-1.9.4:=[${MULTILIB_USEDEP}] )
51 + openal? ( >=media-libs/openal-1.15.1-r1[${MULTILIB_USEDEP}] )
52 + pulseaudio? ( >=media-sound/pulseaudio-5.0[${MULTILIB_USEDEP}] )
53 + !${CATEGORY}/${PN}:2
54 + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3
55 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
56 +DEPEND="${RDEPEND}
57 + sys-apps/texinfo
58 + oss? ( virtual/os-headers )"
59 +
60 +MULTILIB_CHOST_TOOLS=(
61 + /usr/bin/libmikmod-config
62 +)
63 +
64 +src_prepare() {
65 + # USE=debug enables Werror, bug #621688
66 + sed -i -e 's/-Werror//' configure || die
67 + default
68 +}
69 +
70 +multilib_src_configure() {
71 + local mysimd="--disable-simd"
72 + if use ppc || use ppc64 || use ppc-macos; then
73 + mysimd="$(use_enable altivec simd)"
74 + fi
75 + if use amd64 || use x86 || use x86-fbsd || use amd64-linux || use x86-linux || use x86-macos || use x64-macos; then
76 + mysimd="$(use_enable cpu_flags_x86_sse2 simd)"
77 + fi
78 +
79 + # sdl, sdl2: missing multilib supported ebuilds, temporarily disabled, remember to update REQUIRED_USE
80 + ECONF_SOURCE=${S} \
81 + econf \
82 + $(use_enable alsa) \
83 + $(use_enable nas) \
84 + $(use_enable pulseaudio) \
85 + --disable-sdl \
86 + --disable-sdl2 \
87 + $(use_enable openal) \
88 + $(use_enable oss) \
89 + $(use_enable coreaudio osx) \
90 + $(use_enable debug) \
91 + $(use_enable threads) \
92 + $(use_enable static-libs static) \
93 + --disable-dl \
94 + ${mysimd}
95 +}
96 +
97 +multilib_src_install() {
98 + emake DESTDIR="${D}" install
99 + dosym ${PN}$(get_libname 3) /usr/$(get_libdir)/${PN}$(get_libname 2)
100 +}
101 +
102 +multilib_src_install_all() {
103 + dodoc AUTHORS NEWS README TODO
104 + docinto html
105 + dodoc docs/*.html
106 + prune_libtool_files
107 +}