Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/gbsplay: gbsplay-0.0.91-r1.ebuild ChangeLog gbsplay-0.0.91.ebuild
Date: Thu, 30 Jan 2014 02:02:46
Message-Id: 20140130020242.52BBE2004C@flycatcher.gentoo.org
1 tomwij 14/01/30 02:02:42
2
3 Modified: ChangeLog
4 Added: gbsplay-0.0.91-r1.ebuild
5 Removed: gbsplay-0.0.91.ebuild
6 Log:
7 [QA] Revision bump. EAPI 5. Add LINGUAS support to fix bug #403625, reported by Piotr Szymaniak.
8
9 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
10
11 Revision Changes Path
12 1.3 media-sound/gbsplay/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/gbsplay/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/gbsplay/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/gbsplay/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-sound/gbsplay/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 22 Dec 2008 20:52:10 -0000 1.2
25 +++ ChangeLog 30 Jan 2014 02:02:42 -0000 1.3
26 @@ -1,6 +1,13 @@
27 # ChangeLog for media-sound/gbsplay
28 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gbsplay/ChangeLog,v 1.2 2008/12/22 20:52:10 maekke Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/media-sound/gbsplay/ChangeLog,v 1.3 2014/01/30 02:02:42 tomwij Exp $
32 +
33 +*gbsplay-0.0.91-r1 (30 Jan 2014)
34 +
35 + 30 Jan 2014; Tom Wijsman <TomWij@g.o> +gbsplay-0.0.91-r1.ebuild,
36 + -gbsplay-0.0.91.ebuild:
37 + [QA] Revision bump. EAPI 5. Add LINGUAS support to fix bug #403625, reported
38 + by Piotr Szymaniak.
39
40 22 Dec 2008; Markus Meier <maekke@g.o> gbsplay-0.0.91.ebuild:
41 add ~amd64, bug #251863
42 @@ -10,4 +17,3 @@
43 20 Dec 2008; <ssuominen@g.o> +gbsplay-0.0.91.ebuild:
44 Initial commit for bug 51115, thanks to Christian Garbs and Tobias
45 Diedrich.
46 -
47
48
49
50 1.1 media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: gbsplay-0.0.91-r1.ebuild
56 ===================================================================
57 # Copyright 1999-2014 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild,v 1.1 2014/01/30 02:02:42 tomwij Exp $
60
61 EAPI="5"
62
63 IUSE="+alsa nas nls oss"
64 PLOCALES="de en"
65
66 inherit l10n toolchain-funcs
67
68 DESCRIPTION="Nintendo Gameboy sound player for GBS format."
69 HOMEPAGE="http://gbsplay.berlios.de"
70 SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 KEYWORDS="~amd64 ~x86"
75
76 RDEPEND="alsa? ( media-libs/alsa-lib:0 )
77 nas? ( media-libs/nas:0 )"
78
79 DEPEND="${RDEPEND}
80 nls? ( sys-devel/gettext:0 )"
81
82 src_configure() {
83 tc-export AR CC
84
85 # No econf, because "unknown option '--build=x86_64-pc-linux-gnu'"
86 ./configure \
87 --prefix=/usr \
88 --mandir=/usr/share/man \
89 --docdir=/usr/share/doc/${PF} \
90 --without-xmmsplugin \
91 --without-test \
92 $(use_enable nls i18n) \
93 $(use_enable oss devdsp) \
94 $(use_enable alsa) \
95 $(use_enable nas) || die "Configure failed."
96 }
97
98 src_compile() {
99 emake CC="$(tc-getCC)" SPLINT="true"
100 }
101
102 remove_disabled_locale() {
103 rm -rf "${D}"/usr/share/locale/$1
104 }
105
106 src_install() {
107 default
108
109 l10n_for_each_disabled_locale_do remove_disabled_locale
110 }