mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/libmodplug: bump to 0.8.9.1 + eapi8
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
38
media-libs/libmodplug/libmodplug-0.8.9.1.ebuild
Normal file
38
media-libs/libmodplug/libmodplug-0.8.9.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user