commit:     b1ddac89e6da225c861fbbb3187d0981f07c3c44
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 07:46:38 2022 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun May 22 07:59:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ddac89

media-libs/libxmp: First commit of libxmp

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-libs/libxmp/Manifest            |  1 +
 media-libs/libxmp/libxmp-4.5.0.ebuild | 27 +++++++++++++++++++++++++++
 media-libs/libxmp/libxmp-9999.ebuild  | 27 +++++++++++++++++++++++++++
 media-libs/libxmp/metadata.xml        | 11 +++++++++++
 4 files changed, 66 insertions(+)

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>[email protected]</email>
+               <name>Lars Wendler</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">libxmp/libxmp</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to