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