app-emulation/libspectrum: bump to version 1.4.4
authorJan Ziak <0xe2.0x9a.0x9b@gmail.com>
Fri, 6 Jul 2018 11:54:07 +0000 (13:54 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 7 Jul 2018 12:39:36 +0000 (14:39 +0200)
Closes: https://github.com/gentoo/gentoo/pull/9066

app-emulation/libspectrum/Manifest
app-emulation/libspectrum/libspectrum-1.4.4.ebuild [new file with mode: 0644]

index 0453f3090b2b878869fa83b7f549c729d3fc01a9..ad87cac9240caf374eead6f0649263122b494934 100644 (file)
@@ -1,2 +1,3 @@
 DIST libspectrum-1.4.1.tar.gz 516697 BLAKE2B 863030fabf37b03f15af389d8ab625f0f54c439153900e8b44bfefe2196fd576fbed9c23a6d2cfd7b07ca804a20329d8e646d3b7741ee1ded3d42246e36f203d SHA512 550d96c2432400a5b6ba86534acc0a2786dcdb9a8c847caf7768f1053cdbe0825d208128713a3f4b7fa42547bb3eac56329433a4c0a6753eec3ba9623eef5bf5
 DIST libspectrum-1.4.2.tar.gz 568052 BLAKE2B 84ffa5b2ac376c72d309c623610e5e30ebc98ab81a4505ffd88c8fc88145c6d63a112c60a57585c827b352e0a73ec330fc9f3601a714d1a6ad522cc40105d171 SHA512 391eb6fd805ab5a7ba5186ced8aa06be8b25973512860bfd0680585120a9617a1406f9327a7acb3ad7b7e473be8214c9b228d8b4adcf45a8bf3d3b6d27ee4d6f
+DIST libspectrum-1.4.4.tar.gz 568684 BLAKE2B b6ab4fc4173e7de9a7c3b14fda03420a56f02c5c590770158443bc37bee99a55dd3bdf6864f8ca33adb5ed59f4abd5c5b97736456ba2e6e6aaa2b49e07097cc4 SHA512 83bb9242010d49898531bb62e0d4d55439b0b6a548b57a7932f074429aca70cf252dfb195e9751384510b08c98bd6bc8eefd8cb3f82b0c8d07fa245ba66e9fe2
diff --git a/app-emulation/libspectrum/libspectrum-1.4.4.ebuild b/app-emulation/libspectrum/libspectrum-1.4.4.ebuild
new file mode 100644 (file)
index 0000000..75e11f4
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Spectrum emulation library"
+HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
+SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~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? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+       dev-lang/perl
+       virtual/pkgconfig"
+
+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
+}