blob: 262a54d9033101c2e308d1d417a9ed984cde13a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2021 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"
IUSE="fuse"
RDEPEND="
media-libs/libao
fuse? ( sys-fs/fuse:0 )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-configure.patch
)
DOCS=( AUTHORS ChangeLog doc/BUGS doc/PLANS )
src_prepare() {
default
# needed to avoid ${D} VariableScope undefined behavior in src_configure
find . -name Makefile.in -exec sed -i 's|{PACKAGEPREFIX}|$(DESTDIR)|' {} + || die
}
src_configure() {
tc-export CC
# not autotools generated
local configure=(
./configure
--prefix="${EPREFIX}"/usr
--libdir="${EPREFIX}"/usr/$(get_libdir)
--with-text-scope
--without-audacious
--without-xmms
$(use_with fuse uadefs)
${EXTRA_ECONF}
)
echo ${configure[*]}
"${configure[@]}" || die
}
|