Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/uade/files/, app-emulation/uade/
Date: Tue, 30 Jun 2020 22:40:58
Message-Id: 1593556732.9e10dafc520eab176bf01e7f7af0bc0202b8ec09.chewi@gentoo
1 commit: 9e10dafc520eab176bf01e7f7af0bc0202b8ec09
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 28 16:35:14 2020 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 30 22:38:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e10dafc
7
8 app-emulation/uade: EAPI7, use HTTPS, fix LICENSE, cleanup
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/16477
13 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
14
15 app-emulation/uade/files/uade-2.13-configure.patch | 24 +++++++++++++
16 app-emulation/uade/uade-2.13-r1.ebuild | 39 ++++++++++++++++++++++
17 2 files changed, 63 insertions(+)
18
19 diff --git a/app-emulation/uade/files/uade-2.13-configure.patch b/app-emulation/uade/files/uade-2.13-configure.patch
20 new file mode 100644
21 index 00000000000..305e354766f
22 --- /dev/null
23 +++ b/app-emulation/uade/files/uade-2.13-configure.patch
24 @@ -0,0 +1,24 @@
25 +--- uade-2.13/configure 2009-10-29 22:01:12.000000000 +0100
26 ++++ uade-2.13-r1/configure 2020-06-30 20:03:45.237913031 +0200
27 +@@ -342,8 +342,11 @@
28 + if test -z "$prefix"; then
29 + prefix="/usr/local"
30 + fi
31 ++ if test -z "$libdir" ; then
32 ++ libdir="$prefix/lib"
33 ++ fi
34 + uadedatadir="$prefix/share/uade2"
35 +- uadelibdir="$prefix/lib/uade2"
36 ++ uadelibdir="$libdir/uade2"
37 + if test -z "$bindir"; then
38 + bindir="$prefix/bin"
39 + fi
40 +@@ -439,7 +442,7 @@
41 + fi
42 + fi
43 +
44 +-pkgconfigdir="$prefix/lib/pkgconfig"
45 ++pkgconfigdir="$libdir/pkgconfig"
46 + rm -f uade.pc
47 + if test -n "$PKG_CONFIG" ; then
48 + installuadepcrule=""
49
50 diff --git a/app-emulation/uade/uade-2.13-r1.ebuild b/app-emulation/uade/uade-2.13-r1.ebuild
51 new file mode 100644
52 index 00000000000..c98dd0660e1
53 --- /dev/null
54 +++ b/app-emulation/uade/uade-2.13-r1.ebuild
55 @@ -0,0 +1,39 @@
56 +# Copyright 1999-2020 Gentoo Authors
57 +# Distributed under the terms of the GNU General Public License v2
58 +
59 +EAPI=7
60 +
61 +inherit toolchain-funcs
62 +
63 +DESCRIPTION="Unix Amiga Delitracker Emulator - plays old Amiga tunes through UAE emulation"
64 +HOMEPAGE="https://zakalwe.fi/uade"
65 +SRC_URI="https://zakalwe.fi/uade/uade2/${P}.tar.bz2"
66 +
67 +LICENSE="GPL-2+ LGPL-2+"
68 +SLOT="0"
69 +KEYWORDS="~amd64 ~ppc ~x86"
70 +
71 +RDEPEND="media-libs/libao"
72 +DEPEND="${RDEPEND}"
73 +BDEPEND="virtual/pkgconfig"
74 +
75 +DOCS=( AUTHORS ChangeLog doc/BUGS doc/PLANS )
76 +
77 +PATCHES=( "${FILESDIR}"/${P}-configure.patch )
78 +
79 +src_configure() {
80 + tc-export CC
81 +
82 + ./configure \
83 + --prefix="${EPREFIX}"/usr \
84 + --package-prefix="${D}" \
85 + --libdir="${EPREFIX}/usr/$(get_libdir)" \
86 + --with-text-scope \
87 + --without-xmms \
88 + --without-audacious || die
89 +}
90 +
91 +src_install() {
92 + default
93 + doman doc/uade123.1
94 +}