summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2017-07-26 22:51:05 +0100
committerTony Vroon <chainsaw@gentoo.org>2017-07-26 22:51:20 +0100
commita7233052d2743ba29cce092420fc70aa48df1b05 (patch)
tree09436afdfb15822d3e1b3618658cc659315479e6 /media-libs
parentapp-admin/pydf: keyword for arm64. (diff)
downloadgentoo-a7233052d2743ba29cce092420fc70aa48df1b05.tar.gz
gentoo-a7233052d2743ba29cce092420fc70aa48df1b05.tar.bz2
gentoo-a7233052d2743ba29cce092420fc70aa48df1b05.zip
media-libs/libmodplug: Version bump to 0.8.9.0 as requested by Lars "Polynomial-C" Wendler.
Package-Manager: portage-2.3.6
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmodplug/Manifest1
-rw-r--r--media-libs/libmodplug/files/libmodplug-0.8.9.0-no-fast-math.patch12
-rw-r--r--media-libs/libmodplug/libmodplug-0.8.9.0.ebuild26
3 files changed, 39 insertions, 0 deletions
diff --git a/media-libs/libmodplug/Manifest b/media-libs/libmodplug/Manifest
index 26dcefcceead..8edf621acfc0 100644
--- a/media-libs/libmodplug/Manifest
+++ b/media-libs/libmodplug/Manifest
@@ -1 +1,2 @@
DIST libmodplug-0.8.8.5.tar.gz 546751 SHA256 77462d12ee99476c8645cb5511363e3906b88b33a6b54362b4dbc0f39aa2daad SHA512 aa943b8df5e3fd41b497e55f5d2c493c28a4c90d444d041f74a58ab5f4702eab9bb36f337e4c795561e0006846a5fda0b42bcf96b33e1267b190f6005862b332 WHIRLPOOL 00d88ffde88f9136274737bf63d6eca864935f24409f5f6cbe0679fcc962e890b9a5a68636dd20f0e44e070de71b8a804ef31cca78930d19004fd5148dfd736e
+DIST libmodplug-0.8.9.0.tar.gz 576566 SHA256 457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de SHA512 880e10154fd367ee24ace53ca7e32a5c1fee7dfff1f934e6499944c12779427da63e2f55f8d6ce25db0a42a5b4424053bf64305b31dbfc4ef6a8909924d655fd WHIRLPOOL c49b978398192fde4d19a224cc611dca529a0fccacef37f67360c7a73bb527aa46d7df3e9739bdadd636e11420f79f8c97378ac70d1c037891619eac39a83120
diff --git a/media-libs/libmodplug/files/libmodplug-0.8.9.0-no-fast-math.patch b/media-libs/libmodplug/files/libmodplug-0.8.9.0-no-fast-math.patch
new file mode 100644
index 000000000000..51f0d9d2d495
--- /dev/null
+++ b/media-libs/libmodplug/files/libmodplug-0.8.9.0-no-fast-math.patch
@@ -0,0 +1,12 @@
+diff -uNr libmodplug-0.8.9.0.ORIG/configure.ac libmodplug-0.8.9.0/configure.ac
+--- libmodplug-0.8.9.0.ORIG/configure.ac 2017-07-26 22:39:07.461198820 +0100
++++ libmodplug-0.8.9.0/configure.ac 2017-07-26 22:39:53.284622741 +0100
+@@ -31,7 +31,7 @@
+ AC_CHECK_HEADERS([inttypes.h stdint.h malloc.h])
+ AC_CHECK_FUNCS(setenv sinf)
+
+-CXXFLAGS="$CXXFLAGS -fno-exceptions -Wall -ffast-math -fno-common -D_REENTRANT"
++CXXFLAGS="$CXXFLAGS -fno-exceptions -Wall -fno-common -D_REENTRANT"
+
+ AC_CANONICAL_HOST
+ case "$host" in
diff --git a/media-libs/libmodplug/libmodplug-0.8.9.0.ebuild b/media-libs/libmodplug/libmodplug-0.8.9.0.ebuild
new file mode 100644
index 000000000000..bd1229984a9b
--- /dev/null
+++ b/media-libs/libmodplug/libmodplug-0.8.9.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+inherit autotools-multilib
+
+DESCRIPTION="Library for playing MOD-like music files"
+SRC_URI="mirror://sourceforge/modplug-xmms/${P}.tar.gz"
+HOMEPAGE="http://modplug-xmms.sourceforge.net/"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+DEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+PATCHES=(
+ "${FILESDIR}/${PN}-0.8.4-timidity-patches.patch"
+ "${FILESDIR}/${P}-no-fast-math.patch"
+)