mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 21:18:09 -07:00
app-emulation/libspectrum: add 1.6.0
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libspectrum-1.5.0.tar.gz 602354 BLAKE2B fc62437ececfe2c86b475efa512bf7aa7c5af182e16a00f75f77f78656fca01d46a71ac90b38008ff46e5fd0710b1c671b283d65544b5556d98e8c5b66525c35 SHA512 55f4cf623bc6c469a0fd80751ada694259d834c19d98400ba244aabf2ac21fed7cdd6de069d9ed7326e099bd3bd62c42cfb8a669b64ae002f90a52563fa2dcd1
|
||||
DIST libspectrum-1.6.0.tar.gz 630698 BLAKE2B 6b210a1a71b4b3a65e3c4575061eeff1d891d9c8b2e53a5ef4d41e40b514dc6631671589dea232afc288b1476ecda7786b36fcc8486030d0fdfc93f5322833bd SHA512 f3bd1e35ba26c0230ba326a5765927ef237e1eee2ac77e656c18d1a285745e7f9720825a849ef763cfb27448e8cb1e8e95769ab5a194bf3c9d49a0e13e253d31
|
||||
|
||||
55
app-emulation/libspectrum/libspectrum-1.6.0.ebuild
Normal file
55
app-emulation/libspectrum/libspectrum-1.6.0.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Spectrum emulation library"
|
||||
HOMEPAGE="https://fuse-emulator.sourceforge.net/libspectrum.php"
|
||||
SRC_URI="https://downloads.sourceforge.net/fuse-emulator/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/18"
|
||||
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
|
||||
IUSE="audiofile bzip2 gcrypt zlib"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
audiofile? ( >=media-libs/audiofile-0.3.6 )
|
||||
bzip2? ( >=app-arch/bzip2-1.0 )
|
||||
gcrypt? ( dev-libs/libgcrypt:0 )
|
||||
zlib? ( virtual/zlib:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-lang/perl
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/remove-local-prefix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_with audiofile libaudiofile)
|
||||
$(use_with bzip2)
|
||||
$(use_with gcrypt libgcrypt)
|
||||
$(use_with zlib)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# check only builds test executable but doesn't run it
|
||||
emake check
|
||||
./test/test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/*.txt *.txt
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user