summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Ziak <0xe2.0x9a.0x9b@gmail.com>2018-03-04 10:28:30 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-05 17:27:06 +0100
commit618c318bc3ca0204b1d2e7a27827cbe93cdd741a (patch)
tree2ff25bba5515751064cd508e2ccbed0ab38c00e0 /app-emulation/fuse
parentdev-lisp/clisp: Drops old version 2.48 (diff)
downloadgentoo-618c318bc3ca0204b1d2e7a27827cbe93cdd741a.tar.gz
gentoo-618c318bc3ca0204b1d2e7a27827cbe93cdd741a.tar.bz2
gentoo-618c318bc3ca0204b1d2e7a27827cbe93cdd741a.zip
app-emulation/fuse: bump to version 1.5.1
Diffstat (limited to 'app-emulation/fuse')
-rw-r--r--app-emulation/fuse/Manifest1
-rw-r--r--app-emulation/fuse/fuse-1.5.1.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/app-emulation/fuse/Manifest b/app-emulation/fuse/Manifest
index da21f77b84f2..8df76452aa8e 100644
--- a/app-emulation/fuse/Manifest
+++ b/app-emulation/fuse/Manifest
@@ -1,2 +1,3 @@
DIST fuse-1.4.0.tar.gz 1652821 BLAKE2B b7d8c5cd8c5fb13e077029eeee6283c9d2a114057c83e29bacc1d99933b338011ce255b5df34b6039bcf03410af46bf586cb6d6ec038d53b8e83bad2308d2ed1 SHA512 e5d0e65820f54d0ac0447d50aa89ea4ba3e6bb717e270ae813c640a9b36fe015c68f194edacb5cbe8899ee7893c30cab4493ed297919e962e722e9d3e1f72001
DIST fuse-1.5.0.tar.gz 1619748 BLAKE2B 6ffbea1c7a6572f2cdd3d293a438f6e37da2eadf299396358bed2e65db3aa9720333b62b28b4f0064ec5434c99a6a0b790737230f8ec0c01f96e50f594305bd1 SHA512 c13fdef6b23377e7d2b53e7f5b2db01447d12eafc0b9114fd8b83cd5058964a655a720810ab7dc6a6e1a1d9a33ffc787b5e46bf54df1259f4ba0ff78c3189421
+DIST fuse-1.5.1.tar.gz 1623081 BLAKE2B 4b6cf747d15bc2d33a0baba88254a08187e8a615564236835da19d32f9afb312d5a5c90ac07a88d904019626b153546ecd8cd09b88fa16731af94ea54cd0e346 SHA512 d5f5b8a0e61f298a955450de208b29f8ab4fc0133c5c58e596f36f3834c088c946e19d7437dd1a6e73a89d32dcaf6ca9ce0fed8ec310c37aa6a6568be482abe4
diff --git a/app-emulation/fuse/fuse-1.5.1.ebuild b/app-emulation/fuse/fuse-1.5.1.ebuild
new file mode 100644
index 000000000000..4b8b2fa01d8e
--- /dev/null
+++ b/app-emulation/fuse/fuse-1.5.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="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 ~ppc ~x86"
+IUSE="alsa ao fbcon gpm gtk joystick memlimit png sdl svga X xml"
+
+# Only one UI back-end can be enabled at a time
+REQUIRED_USE="^^ ( X fbcon gtk sdl svga )"
+
+RDEPEND=">=app-emulation/libspectrum-1.4.1
+ dev-libs/glib:2
+ alsa? ( media-libs/alsa-lib )
+ ao? ( media-libs/libao )
+ gpm? ( sys-libs/gpm )
+ gtk? ( x11-libs/gtk+:3 )
+ joystick? ( media-libs/libjsw )
+ png? ( media-libs/libpng:0= sys-libs/zlib )
+ sdl? ( media-libs/libsdl )
+ svga? ( media-libs/svgalib )
+ X? ( x11-libs/libX11
+ x11-libs/libXext )
+ xml? ( dev-libs/libxml2:2 )"
+DEPEND="${RDEPEND}
+ fbcon? ( virtual/linux-sources )
+ dev-lang/perl
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog README THANKS )
+
+src_configure() {
+ local myconf=(
+ --without-win32
+ $(use_with alsa)
+ $(use_with ao libao)
+ $(use_with gpm)
+ $(use_with joystick)
+ $(use_enable joystick ui-joystick)
+ $(use_enable memlimit smallmem)
+ $(use_with png)
+ $(use_with xml libxml2)
+ )
+
+ if use gtk; then
+ :
+ elif use sdl; then
+ myconf+=("--with-sdl")
+ elif use X; then
+ myconf+=("--without-gtk")
+ elif use svga; then
+ myconf+=("--with-svgalib")
+ elif use fbcon; then
+ myconf+=("--with-fb")
+ fi
+
+ econf "${myconf[@]}"
+}