You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
926 B
44 lines
926 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=7
|
||
7 years ago
|
|
||
4 years ago
|
inherit autotools
|
||
|
|
||
7 years ago
|
DESCRIPTION="Utils for the Free Unix Spectrum Emulator by Philip Kendall"
|
||
|
HOMEPAGE="http://fuse-emulator.sourceforge.net"
|
||
|
SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="audiofile gcrypt jpeg png zlib"
|
||
|
|
||
3 years ago
|
RDEPEND=">=app-emulation/libspectrum-1.4.4[audiofile?,gcrypt?,zlib?]
|
||
7 years ago
|
audiofile? ( >=media-libs/audiofile-0.3.6 )
|
||
7 years ago
|
jpeg? ( virtual/jpeg:0 )
|
||
|
png? ( media-libs/libpng:0 )
|
||
7 years ago
|
zlib? ( sys-libs/zlib )"
|
||
3 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
7 years ago
|
|
||
4 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/remove-local-prefix.patch
|
||
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
7 years ago
|
src_configure() {
|
||
6 years ago
|
local myconf=(
|
||
|
$(use_with audiofile)
|
||
|
$(use_with gcrypt libgcrypt)
|
||
|
$(use_with jpeg libjpeg)
|
||
|
$(use_with png libpng)
|
||
7 years ago
|
$(use_with zlib)
|
||
6 years ago
|
)
|
||
|
econf "${myconf[@]}"
|
||
7 years ago
|
}
|