Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/fuse/
Date: Thu, 18 Oct 2018 19:38:56
Message-Id: 1539890440.c3c39d455dc7c2cbb6125d6735984229117489cb.mgorny@gentoo
1 commit: c3c39d455dc7c2cbb6125d6735984229117489cb
2 Author: Jan Ziak <0xe2.0x9a.0x9b <AT> gmail <DOT> com>
3 AuthorDate: Thu Oct 11 10:45:01 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 18 19:20:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c39d45
7
8 app-emulation/fuse: bump to version 1.5.6
9
10 Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b <AT> gmail.com>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 app-emulation/fuse/Manifest | 1 +
14 app-emulation/fuse/fuse-1.5.6.ebuild | 68 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/app-emulation/fuse/Manifest b/app-emulation/fuse/Manifest
18 index f2a0c1aafbf..6f8cc3a2a4c 100644
19 --- a/app-emulation/fuse/Manifest
20 +++ b/app-emulation/fuse/Manifest
21 @@ -1,2 +1,3 @@
22 DIST fuse-1.5.3.tar.gz 1627487 BLAKE2B d942f0131ce713e8592abec6443015aca3f1ae73739f1db0eae84a19e4320fd8bffbd7d36afaf65b08cf059305f85a8854d39d46519ed7abd3705b11156d069c SHA512 6596f789a685c46752c46b2432953c0d9abb620b23541cdbfc066c224fcba47ac7be75db678e2ff76622a7d02cc81b7dfeae672dfdaee1085d2ae5f768a4d8c0
23 DIST fuse-1.5.5.tar.gz 1629577 BLAKE2B b4765047507049b2fa3547d47384df2c5e6de75b74b7aa8d3549ca47ae6f3dad53a37fc48112db86426ce3d2d84711aa029d158c75eba89214761ed82d7ab57a SHA512 186635b632df9767b9ffcbba484370adc47833bd06240474db9c4dfe88b03209e15fc0c86a2f200b2cc7bd95ad93bf1f93f38d7f669b5c163f68e80802fb1041
24 +DIST fuse-1.5.6.tar.gz 1634711 BLAKE2B a581c106c668f0342b4a3b4ebbc0e92e750806e59d067798e23da02284cbb9a17cf580c5b6369144863fbf64b12326ea2982e4d83e87354d62ff51926e3293de SHA512 84312e4f83883b36d06f2b96ded1bfc71675cba71a0848f4cbb5a233a1d1c06466013d2655d759397f32d6d67d6ba26b2b6a5041796cb9143cd0b354a88fd589
25
26 diff --git a/app-emulation/fuse/fuse-1.5.6.ebuild b/app-emulation/fuse/fuse-1.5.6.ebuild
27 new file mode 100644
28 index 00000000000..0e1754ea079
29 --- /dev/null
30 +++ b/app-emulation/fuse/fuse-1.5.6.ebuild
31 @@ -0,0 +1,68 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +DESCRIPTION="Free Unix Spectrum Emulator by Philip Kendall"
38 +HOMEPAGE="http://fuse-emulator.sourceforge.net"
39 +SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
40 +
41 +LICENSE="GPL-2+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~ppc ~x86"
44 +IUSE="alsa ao backend-fbcon backend-sdl backend-svga backend-X gpm joystick memlimit png xml"
45 +
46 +# Only one UI back-end can be enabled at a time
47 +REQUIRED_USE="?? ( backend-fbcon backend-sdl backend-svga backend-X )"
48 +
49 +RDEPEND="
50 + >=app-emulation/libspectrum-1.4.4
51 + dev-libs/glib:2
52 + alsa? ( media-libs/alsa-lib )
53 + ao? ( media-libs/libao )
54 + backend-sdl? ( media-libs/libsdl )
55 + backend-svga? ( media-libs/svgalib )
56 + backend-X? ( x11-libs/libX11 x11-libs/libXext )
57 + !backend-fbcon? ( !backend-sdl? ( !backend-svga? ( !backend-X? ( x11-libs/gtk+:3 ) ) ) )
58 + gpm? ( sys-libs/gpm )
59 + joystick? ( media-libs/libjsw )
60 + png? ( media-libs/libpng:0= sys-libs/zlib )
61 + xml? ( dev-libs/libxml2:2 )"
62 +DEPEND="${RDEPEND}
63 + backend-fbcon? ( virtual/linux-sources )
64 + dev-lang/perl
65 + virtual/pkgconfig"
66 +
67 +DOCS=( AUTHORS ChangeLog README THANKS )
68 +
69 +src_configure() {
70 + local myconf=(
71 + --without-win32
72 + $(use_with alsa)
73 + $(use_with ao libao)
74 + $(use_with gpm)
75 + $(use_with joystick)
76 + $(use_enable joystick ui-joystick)
77 + $(use_enable memlimit smallmem)
78 + $(use_with png)
79 + $(use_with xml libxml2)
80 + )
81 +
82 + if use backend-sdl; then
83 + myconf+=("--with-sdl")
84 + elif use backend-X; then
85 + myconf+=("--without-gtk")
86 + elif use backend-svga; then
87 + myconf+=("--with-svgalib")
88 + elif use backend-fbcon; then
89 + myconf+=("--with-fb")
90 + else
91 + myconf+=("--with-gtk")
92 + fi
93 +
94 + econf "${myconf[@]}"
95 +}
96 +
97 +src_test() {
98 + emake test
99 +}