From b1ddac89e6da225c861fbbb3187d0981f07c3c44 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Sun, 22 May 2022 09:46:38 +0200 Subject: media-libs/libxmp: First commit of libxmp Signed-off-by: Lars Wendler --- 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(+) create mode 100644 media-libs/libxmp/Manifest create mode 100644 media-libs/libxmp/libxmp-4.5.0.ebuild create mode 100644 media-libs/libxmp/libxmp-9999.ebuild create mode 100644 media-libs/libxmp/metadata.xml (limited to 'media-libs/libxmp') 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 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + libxmp/libxmp + + -- cgit v1.2.3-65-gdbad