diff options
Diffstat (limited to 'media-libs/libmodplug')
-rw-r--r-- | media-libs/libmodplug/Manifest | 3 | ||||
-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, 54 insertions, 0 deletions
diff --git a/media-libs/libmodplug/Manifest b/media-libs/libmodplug/Manifest index 782e8a2bdd8a..8fb0628f19a1 100644 --- a/media-libs/libmodplug/Manifest +++ b/media-libs/libmodplug/Manifest @@ -1,5 +1,8 @@ AUX libmodplug-0.8.4-timidity-patches.patch 557 BLAKE2B 4c26c285bb2f23057dae320ab3488e13dbbfb420f8185fd615732912e17f416537b4d210cf8cf48745a3b6dc2df8be49274904626e9db432f2f347dacfbe99a6 SHA512 4fa8bfe0665713b65b0b3f9be59589c98c7fbe5aa278ee95107fd1b91ba1a25fbd20a86bf91ab7eb7e160f522e04dc78838ada6298d4f5c1905b528c1fd7a57e AUX libmodplug-0.8.9.0-no-fast-math.patch 437 BLAKE2B 7b4f449d4906480b392b2ea93260c816a2418678a6f5209c6d00939830c977161c6d481a34830e0e0b39400adcf7af8665df63091580bd3db84841f7ee8158f1 SHA512 f07f8e3efdb4d15dc8916c5f62429f2d51a0342743a2bc881b44fcc8cb689fe973f9089815c2eb3ba469e622e9c4f86a7c4f5b6e5bd78d506aa7c69b80426653 +AUX libmodplug-0.8.9.1-timidity.patch 415 BLAKE2B b227b051a542879127230963e378419dfec4d10b603d4b0707ab24e9d150d37769763da88db0c893aa08e6ba930013b91a195f8f764dcaa231adbcaecb9bedf5 SHA512 b0a8847698e335b11ae4f729aaa729cf72dc5be3cd890d4a11c258480e9178f20d431786acab22a1edcbadc64858f204a9e1ca6c99e81b8cf9d9dbdc52596dc8 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 EBUILD libmodplug-0.8.9.0-r1.ebuild 842 BLAKE2B e2570155daf60061e0acdab6a8e2d28980c494f9c4ec071f135fbbaa5139519e710a3d9db5e3325a1a660ac0831ca094a76d9e8f35ffbdb429477e5319d80b5c SHA512 da152ef21563f8f9289f5a2f97f6e47eb1cbf814e94994f5f135f425129df81fdb6965500ea7e3f6bb50f127b500d927c000bc444bb72a301a0176c76a3a526f +EBUILD libmodplug-0.8.9.1.ebuild 955 BLAKE2B 77aafbf6c9787d1090498464d155263b978648e5b186b66de6894f8dc8307e761c34c471e94eb32eeba74e76aa6331ff41aaf24c1e47a239c01427a6c4a13a8e SHA512 448a619bc1e9dca53bfe5ace90636524b0d548da9e6428b888bd3b1e1b25a45ccd9aef78653a71d587653e7cb97f666d04adbf22c3e9d158f01a52014a68b977 MISC metadata.xml 396 BLAKE2B 5e597902d3b70673452b64143c3adfd810e5040fd19c2e542719755db89bd3d36fe2928c42a4a3195c12399f7318d1d21efd2564558aed4ff214a750e65863e5 SHA512 2d630e3182fa888c31810aac8d1249259df1516dbe267711a8540fb6f9f81373d5b801fe448995b2ed20b3cf0d70d61b9cb8d12dd812663f74d311868fcdcefd 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 +} |