summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-05-22 09:46:38 +0200
committerLars Wendler <polynomial-c@gentoo.org>2022-05-22 09:59:47 +0200
commitb1ddac89e6da225c861fbbb3187d0981f07c3c44 (patch)
treece05c680ded2282ed6a412d18b705f3e3cda1c3e /media-libs/libxmp
parentprofiles/arch/riscv: Update rbd flag mask description (diff)
downloadgentoo-b1ddac89e6da225c861fbbb3187d0981f07c3c44.tar.gz
gentoo-b1ddac89e6da225c861fbbb3187d0981f07c3c44.tar.bz2
gentoo-b1ddac89e6da225c861fbbb3187d0981f07c3c44.zip
media-libs/libxmp: First commit of libxmp
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/libxmp')
-rw-r--r--media-libs/libxmp/Manifest1
-rw-r--r--media-libs/libxmp/libxmp-4.5.0.ebuild27
-rw-r--r--media-libs/libxmp/libxmp-9999.ebuild27
-rw-r--r--media-libs/libxmp/metadata.xml11
4 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libxmp/Manifest b/media-libs/libxmp/Manifest
new file mode 100644
index 000000000000..cd7d0e9d567f
--- /dev/null
+++ b/media-libs/libxmp/Manifest
@@ -0,0 +1 @@
+DIST libxmp-4.5.0.tar.gz 652983 BLAKE2B f583c309b4c4349eec73352d16bbd9b2b20fb48be101f0cba34a3597fce903442fbc203be50f940a7e3b8f53cc1bbf6ff91236fc27c6ec70b21ec17ad71bd6fb SHA512 71a57c7fcd696267c6e2d3cc12b43fe09adce9ed83f9f130755d3b2c2b984eb52e4ae4fad115ffeb07397c7cc4886fc3c4e01cbb1f047449228f7a557760cb1a
diff --git a/media-libs/libxmp/libxmp-4.5.0.ebuild b/media-libs/libxmp/libxmp-4.5.0.ebuild
new file mode 100644
index 000000000000..f0deadcf7930
--- /dev/null
+++ b/media-libs/libxmp/libxmp-4.5.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 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"
+fi
+LICENSE="LGPL-2.1+"
+SLOT="0"
+
+IUSE=""
+
+src_prepare() {
+ default
+ [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+src_compile() {
+ emake V=1
+}
diff --git a/media-libs/libxmp/libxmp-9999.ebuild b/media-libs/libxmp/libxmp-9999.ebuild
new file mode 100644
index 000000000000..f0deadcf7930
--- /dev/null
+++ b/media-libs/libxmp/libxmp-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 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"
+fi
+LICENSE="LGPL-2.1+"
+SLOT="0"
+
+IUSE=""
+
+src_prepare() {
+ default
+ [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+src_compile() {
+ emake V=1
+}
diff --git a/media-libs/libxmp/metadata.xml b/media-libs/libxmp/metadata.xml
new file mode 100644
index 000000000000..bec5dff38140
--- /dev/null
+++ b/media-libs/libxmp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">libxmp/libxmp</remote-id>
+ </upstream>
+</pkgmetadata>