diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-03-05 10:23:29 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-03-05 10:23:45 +0100 |
commit | 6f75962e9acc9844ba8bee0c6743016a5a8b209a (patch) | |
tree | 8f1cb2e59d114e936d2a7a8864c122f4817d8895 /media-libs/libmodplug | |
parent | net-dns/dnsmasq: Stabilize 2.89 ppc, #890575 (diff) | |
download | gentoo-6f75962e9acc9844ba8bee0c6743016a5a8b209a.tar.gz gentoo-6f75962e9acc9844ba8bee0c6743016a5a8b209a.tar.bz2 gentoo-6f75962e9acc9844ba8bee0c6743016a5a8b209a.zip |
media-libs/libmodplug: bump to 0.8.9.1 + eapi8
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libmodplug')
-rw-r--r-- | media-libs/libmodplug/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libmodplug/files/libmodplug-0.8.9.1-timidity.patch | 13 | ||||
-rw-r--r-- | media-libs/libmodplug/libmodplug-0.8.9.1.ebuild | 38 |
3 files changed, 52 insertions, 0 deletions
diff --git a/media-libs/libmodplug/Manifest b/media-libs/libmodplug/Manifest index 8016b98a6781..17310cdece5f 100644 --- a/media-libs/libmodplug/Manifest +++ b/media-libs/libmodplug/Manifest @@ -1 +1,2 @@ DIST libmodplug-0.8.9.0.tar.gz 576566 BLAKE2B 534ce23f37ae60593fcbf0b8984140badcf7d868a7559ea6aef282a4d14dc6ad05847dc128a0221772e1dc2abb8c870ff8d6d46da0c04232169f905468a3ba19 SHA512 880e10154fd367ee24ace53ca7e32a5c1fee7dfff1f934e6499944c12779427da63e2f55f8d6ce25db0a42a5b4424053bf64305b31dbfc4ef6a8909924d655fd +DIST libmodplug-0.8.9.1.tar.gz 238609 BLAKE2B ae992de04e38d341bc561afe042afd83c09bd2d8e71773ec82a2a541db9e462a163b0175cd5307f04a4449b98bd57ab4852e44be04a06f1a265bd728c3434aa6 SHA512 7eca5519369c66d96069f2c56cd087e60fb8c4d04ee994c410b5ab0cef2480fdd95dd0602a01310fd064fade23abfb841a3f5ddc12b31187e23e24f10b780d8c diff --git a/media-libs/libmodplug/files/libmodplug-0.8.9.1-timidity.patch b/media-libs/libmodplug/files/libmodplug-0.8.9.1-timidity.patch new file mode 100644 index 000000000000..152f157f26cc --- /dev/null +++ b/media-libs/libmodplug/files/libmodplug-0.8.9.1-timidity.patch @@ -0,0 +1,13 @@ +diff --git a/src/load_pat.cpp b/src/load_pat.cpp +index fe78731..a52dec6 100644 +--- a/src/load_pat.cpp ++++ b/src/load_pat.cpp +@@ -56,7 +56,7 @@ + #else + #define DIRDELIM '/' + #define TIMIDITYCFG "/etc/timidity.cfg" /*"/usr/share/timidity/timidity.cfg"*/ +-#define PATHFORPAT "/usr/share/timidity/instruments" ++#define PATHFORPAT "/usr/share/timidity/current" + #endif + + #define PAT_ENV_PATH2CFG "MMPAT_PATH_TO_CFG" diff --git a/media-libs/libmodplug/libmodplug-0.8.9.1.ebuild b/media-libs/libmodplug/libmodplug-0.8.9.1.ebuild new file mode 100644 index 000000000000..9aac27f16761 --- /dev/null +++ b/media-libs/libmodplug/libmodplug-0.8.9.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PVR="${PV}.r461" + +inherit autotools multilib-minimal + +DESCRIPTION="Library for playing MOD-like music files" +HOMEPAGE="http://modplug-xmms.sourceforge.net/" +SRC_URI="https://github.com/ShiftMediaProject/modplug/archive/refs/tags/${MY_PVR}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/modplug-${MY_PVR}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.9.1-timidity.patch" + "${FILESDIR}/${PN}-0.8.9.0-no-fast-math.patch" +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE=${S} econf --disable-static +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +} |