1 |
commit: 9f804b552405e613737d23d4d119597b1bd70a93 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 30 00:00:17 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 30 00:00:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f804b55 |
7 |
|
8 |
media-sound/gmorgan: Fix finding chord table file bug #635682 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
media-sound/gmorgan/gmorgan-0.79-r1.ebuild | 44 ++++++++++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/media-sound/gmorgan/gmorgan-0.79-r1.ebuild b/media-sound/gmorgan/gmorgan-0.79-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..756785bff9c |
18 |
--- /dev/null |
19 |
+++ b/media-sound/gmorgan/gmorgan-0.79-r1.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit autotools |
27 |
+ |
28 |
+DESCRIPTION="Opensource software rhythm station" |
29 |
+HOMEPAGE="http://gmorgan.sourceforge.net/" |
30 |
+SRC_URI="mirror://sourceforge/gmorgan/${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+IUSE="nls" |
36 |
+ |
37 |
+RDEPEND="media-libs/alsa-lib |
38 |
+ x11-libs/fltk:1" |
39 |
+DEPEND="${RDEPEND} |
40 |
+ nls? ( sys-devel/gettext )" |
41 |
+ |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/${P}-remove-gettext-version-check.patch |
44 |
+ "${FILESDIR}"/${P}-manpages.patch |
45 |
+ "${FILESDIR}"/${P}-remove-dirs.patch |
46 |
+ "${FILESDIR}"/${P}-remove-old-docs.patch |
47 |
+ "${FILESDIR}"/${P}-gcc6.patch |
48 |
+) |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ sed -i -e "s#/usr/local/share/#/usr/share/#" src/gmorgan.chord.cpp || die |
53 |
+ eautoreconf |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ econf \ |
58 |
+ $(use_enable nls) |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ doman man/${PN}.1 |
64 |
+} |