commit: 9e10dafc520eab176bf01e7f7af0bc0202b8ec09 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Sun Jun 28 16:35:14 2020 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Tue Jun 30 22:38:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e10dafc
app-emulation/uade: EAPI7, use HTTPS, fix LICENSE, cleanup Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16477 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> app-emulation/uade/files/uade-2.13-configure.patch | 24 +++++++++++++ app-emulation/uade/uade-2.13-r1.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/app-emulation/uade/files/uade-2.13-configure.patch b/app-emulation/uade/files/uade-2.13-configure.patch new file mode 100644 index 00000000000..305e354766f --- /dev/null +++ b/app-emulation/uade/files/uade-2.13-configure.patch @@ -0,0 +1,24 @@ +--- uade-2.13/configure 2009-10-29 22:01:12.000000000 +0100 ++++ uade-2.13-r1/configure 2020-06-30 20:03:45.237913031 +0200 +@@ -342,8 +342,11 @@ + if test -z "$prefix"; then + prefix="/usr/local" + fi ++ if test -z "$libdir" ; then ++ libdir="$prefix/lib" ++ fi + uadedatadir="$prefix/share/uade2" +- uadelibdir="$prefix/lib/uade2" ++ uadelibdir="$libdir/uade2" + if test -z "$bindir"; then + bindir="$prefix/bin" + fi +@@ -439,7 +442,7 @@ + fi + fi + +-pkgconfigdir="$prefix/lib/pkgconfig" ++pkgconfigdir="$libdir/pkgconfig" + rm -f uade.pc + if test -n "$PKG_CONFIG" ; then + installuadepcrule="" diff --git a/app-emulation/uade/uade-2.13-r1.ebuild b/app-emulation/uade/uade-2.13-r1.ebuild new file mode 100644 index 00000000000..c98dd0660e1 --- /dev/null +++ b/app-emulation/uade/uade-2.13-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Unix Amiga Delitracker Emulator - plays old Amiga tunes through UAE emulation" +HOMEPAGE="https://zakalwe.fi/uade" +SRC_URI="https://zakalwe.fi/uade/uade2/${P}.tar.bz2" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="media-libs/libao" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog doc/BUGS doc/PLANS ) + +PATCHES=( "${FILESDIR}"/${P}-configure.patch ) + +src_configure() { + tc-export CC + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --package-prefix="${D}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --with-text-scope \ + --without-xmms \ + --without-audacious || die +} + +src_install() { + default + doman doc/uade123.1 +}
