summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2025-02-23 09:48:41 +0100
committerConrad Kostecki <conikost@gentoo.org>2025-02-26 10:02:18 +0100
commitcfe3de0417f2dca417f95e46d77e1979ecaf9efc (patch)
tree585f50764ead965142abf34a141fc10951f9709c
parent3b64cc7e1683a087df22629caedf232fd4897847 (diff)
downloadgentoo-cfe3de0417f2dca417f95e46d77e1979ecaf9efc.tar.gz
gentoo-cfe3de0417f2dca417f95e46d77e1979ecaf9efc.tar.bz2
gentoo-cfe3de0417f2dca417f95e46d77e1979ecaf9efc.zip
media-libs/libxmp: add 4.6.1
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r--media-libs/libxmp/Manifest1
-rw-r--r--media-libs/libxmp/libxmp-4.6.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/libxmp/Manifest b/media-libs/libxmp/Manifest
index 21e83d20a29c..cf2f5a33267c 100644
--- a/media-libs/libxmp/Manifest
+++ b/media-libs/libxmp/Manifest
@@ -1 +1,2 @@
DIST libxmp-4.6.0.tar.gz 738532 BLAKE2B d383cb2e8c15c27e9f55954a4ae2ead6978b7e073e647ab667a2c0bb15848ff582626611b3f274ac5075bcdb7b5cfdc1a4f95d2ea76dc0ea64dab595ba8ca1b8 SHA512 d287544c9b569515f1a3fa92d8d930097b252e84f86cba5dd70e9b4460d0fa70754ece45dcc7ec314e434d821b43207d700afb12c9df80b467d73e9d029baafe
+DIST libxmp-4.6.1.tar.gz 798994 BLAKE2B 8bf853ee85b61c9bec46bd786f4741fcf2cff37a07cea4d8d6f60a66c09d6c9a6144e54786e8744942285d642ee7ab454290f06d0da946f2985d0c417752be26 SHA512 a772a489d8c1bedda378cd36f4f359bc224a1ac16ba12486b675667c76826d1308697f03e2d6502b654e4127eaaf3930684ee4367a73b75432273662af29111d
diff --git a/media-libs/libxmp/libxmp-4.6.1.ebuild b/media-libs/libxmp/libxmp-4.6.1.ebuild
new file mode 100644
index 000000000000..56b147867904
--- /dev/null
+++ b/media-libs/libxmp/libxmp-4.6.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library that renders module files to PCM data"
+HOMEPAGE="https://github.com/libxmp/libxmp"
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://github.com/libxmp/libxmp.git"
+else
+ SRC_URI="https://github.com/libxmp/${PN}/releases/download/${P}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+# bzip2 depacker code is 0BSD
+LICENSE="MIT 0BSD public-domain"
+SLOT="0"
+
+src_prepare() {
+ default
+ [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+src_compile() {
+ emake V=1
+}