commit:     cfe3de0417f2dca417f95e46d77e1979ecaf9efc
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Feb 23 08:48:41 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 09:02:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe3de04

media-libs/libxmp: add 4.6.1

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-libs/libxmp/Manifest            |  1 +
 media-libs/libxmp/libxmp-4.6.1.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

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
+}

Reply via email to