diff options
Diffstat (limited to 'media-libs/libxmp/libxmp-4.5.0.ebuild')
-rw-r--r-- | media-libs/libxmp/libxmp-4.5.0.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
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..24a6655017f5 --- /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 +} |