1 |
commit: 145872eb842cd57df97b57516f2fd844f4ac86c8 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 2 14:32:13 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 2 14:40:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145872eb |
7 |
|
8 |
media-sound/muse: Version bump using git snapshot |
9 |
|
10 |
Gentoo-bug: 587270, 594782 |
11 |
* EAPI=6 |
12 |
|
13 |
Package-Manager: portage-2.3.1 |
14 |
|
15 |
media-sound/muse/Manifest | 1 + |
16 |
.../muse-0.9.2_p20161002-fix-build-system.patch | 95 ++++++++++++++++++++++ |
17 |
media-sound/muse/muse-0.9.2_p20161002.ebuild | 52 ++++++++++++ |
18 |
3 files changed, 148 insertions(+) |
19 |
|
20 |
diff --git a/media-sound/muse/Manifest b/media-sound/muse/Manifest |
21 |
index a27e50c..46a9484 100644 |
22 |
--- a/media-sound/muse/Manifest |
23 |
+++ b/media-sound/muse/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST MuSE-0.9.2.tar.gz 1420411 SHA256 270f95b3a4f9d11bea04d5db4b3868aee1fa78177da0b5d9a74f26c4cfa5e197 SHA512 820dabe39021ff5d5b351c954ef1e497ba89c127589ab46ad7e5f82f86a3dad3d6016fdf90450dc706e8f46d819b466d7044304f7144d62e43c0d732b52c8967 WHIRLPOOL 343ef56fe6472f6491fbdcc1bb291845eac601aa8b3d4d4ca75f261645a4818a613a692983312a9c705e13f6e7105fc3a98cd85118b482280d680e64ebc679d5 |
26 |
+DIST muse-0.9.2_p20161002.tar.gz 996253 SHA256 a43b4ae25c9cf76bf9d4c8328179b0ca3178a0ae1c7b1b070b6fc50277179804 SHA512 7d5b35c64b1ccae14330bb35ba0e32661f6f7445055e1854c7e5e530a7645405da03836e919b6151872f254c754d99d045b9c80938148454f521d3d117332208 WHIRLPOOL 661bb81118d16875aacfac6db1ca6adeb1b9eb4373462b50ed6ae31c56a7e9d210b0376b4b0fcef804badb57d238c8c2f19ff388cdda182cccb41dd946dd52b9 |
27 |
|
28 |
diff --git a/media-sound/muse/files/muse-0.9.2_p20161002-fix-build-system.patch b/media-sound/muse/files/muse-0.9.2_p20161002-fix-build-system.patch |
29 |
new file mode 100644 |
30 |
index 00000000..7ca30e6 |
31 |
--- /dev/null |
32 |
+++ b/media-sound/muse/files/muse-0.9.2_p20161002-fix-build-system.patch |
33 |
@@ -0,0 +1,95 @@ |
34 |
+Fix build system to properly install files and prevent underlinking. |
35 |
+ |
36 |
+--- a/configure.ac |
37 |
++++ b/configure.ac |
38 |
+@@ -7,7 +7,7 @@ |
39 |
+ |
40 |
+ AC_CANONICAL_HOST |
41 |
+ |
42 |
+-AC_CONFIG_HEADER([config.h]) |
43 |
++AC_CONFIG_HEADERS([config.h]) |
44 |
+ AC_CONFIG_SRCDIR([src/muse.cpp]) |
45 |
+ |
46 |
+ dnl ============================================================== |
47 |
+@@ -56,7 +56,7 @@ |
48 |
+ |
49 |
+ |
50 |
+ #GLOBAL_CFLAGS="-O4 -D_REENTRANT -fomit-frame-pointer -march=${host_cpu} -ffast-math -malign-double -funroll-loops -pipe" |
51 |
+-GLOBAL_CFLAGS="-pipe -D_REENTRANT -Wall" |
52 |
++GLOBAL_CFLAGS="-D_REENTRANT -Wall" |
53 |
+ |
54 |
+ |
55 |
+ dnl ============================================================== |
56 |
+@@ -178,19 +178,12 @@ |
57 |
+ # this is really libcdk's configuration, needs to be reviewed if correct |
58 |
+ # see src/ncursesgui/libcdk |
59 |
+ if test x$want_ncurses_gui = xyes; then |
60 |
+- AC_CHECK_LIB(termcap, waddstr, |
61 |
+- [have_termcap=yes], [have_termcap=no]) |
62 |
+- |
63 |
+- AC_CHECK_LIB(ncurses, start_color, |
64 |
+- AC_DEFINE([HAVE_START_COLOR], 1, [Have start_color])) |
65 |
+- |
66 |
+- AC_CHECK_LIB(ncurses, initscr, |
67 |
+- [have_ncurses=yes], [have_ncurses=no]) |
68 |
+- |
69 |
+- AC_CHECK_HEADERS([ncurses.h], |
70 |
+- [have_ncurses_h=yes], [have_ncurses_h=no]) |
71 |
+- |
72 |
+- AC_CHECK_FUNC(XCursesExit, AC_DEFINE(HAVE_XCURSES, 1, [Build with xcurses])) |
73 |
++ PKG_CHECK_MODULES([NCURSES], [ncurses], [ |
74 |
++ AC_DEFINE([HAVE_START_COLOR], 1, [Have start_color]) |
75 |
++ have_ncurses=yes |
76 |
++ have_ncurses_h=yes |
77 |
++ have_termcap=yes |
78 |
++ ]) |
79 |
+ |
80 |
+ if test x$have_ncurses_h = xyes; then |
81 |
+ AC_DEFINE([GUI_RUBIK], 1, [Have ncurses GUI]) |
82 |
+@@ -326,8 +319,13 @@ |
83 |
+ |
84 |
+ |
85 |
+ dnl documentation |
86 |
+-AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen]) |
87 |
+-AM_CONDITIONAL(BUILD_DOC, [test -n "$DOXYGEN"]) |
88 |
++AC_ARG_ENABLE([doc], |
89 |
++ AS_HELP_STRING([--enable-doc], [Enable building documentation using doxygen])) |
90 |
++AS_IF([test "x$enable_doc" = "xyes"], [ |
91 |
++ dnl Enable doc building |
92 |
++ AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen]) |
93 |
++]) |
94 |
++AM_CONDITIONAL(BUILD_DOC, [test "x$enable_doc" = "xyes"]) |
95 |
+ |
96 |
+ |
97 |
+ dnl ============================================================== |
98 |
+@@ -402,6 +400,7 @@ |
99 |
+ |
100 |
+ AC_CONFIG_FILES([ |
101 |
+ Makefile |
102 |
++src/ncursesgui/libcdk/Makefile |
103 |
+ doc/muse.doxygen |
104 |
+ ]) |
105 |
+ AC_OUTPUT |
106 |
+--- a/Makefile.am |
107 |
++++ b/Makefile.am |
108 |
+@@ -4,9 +4,6 @@ |
109 |
+ |
110 |
+ SUBDIRS = $(LIBCDKDIR) |
111 |
+ |
112 |
+-dist_docs_DATA = README COPYING AUTHORS NEWS KNOWN-BUGS ChangeLog TODO USAGE |
113 |
+-docsdir = ${prefix}/share/doc/${PACKAGE} |
114 |
+- |
115 |
+ dist_man_MANS = doc/muse.1 |
116 |
+ |
117 |
+ ACLOCAL_AMFLAGS = -I m4 |
118 |
+@@ -71,7 +68,9 @@ |
119 |
+ $(SAMPLERATE_LIBS) \ |
120 |
+ $(SHOUT_LIBS) \ |
121 |
+ $(SNDFILE_LIBS) \ |
122 |
+- $(VORBIS_LIBS) |
123 |
++ $(VORBIS_LIBS) \ |
124 |
++ $(GTK2_LIBS) \ |
125 |
++ $(NCURSES_LIBS) |
126 |
+ |
127 |
+ src_muse_DEPENDENCIES = \ |
128 |
+ $(GUI_OBJECTS) |
129 |
|
130 |
diff --git a/media-sound/muse/muse-0.9.2_p20161002.ebuild b/media-sound/muse/muse-0.9.2_p20161002.ebuild |
131 |
new file mode 100644 |
132 |
index 00000000..2c90e0b |
133 |
--- /dev/null |
134 |
+++ b/media-sound/muse/muse-0.9.2_p20161002.ebuild |
135 |
@@ -0,0 +1,52 @@ |
136 |
+# Copyright 1999-2016 Gentoo Foundation |
137 |
+# Distributed under the terms of the GNU General Public License v2 |
138 |
+# $Id$ |
139 |
+ |
140 |
+EAPI=6 |
141 |
+ |
142 |
+inherit autotools |
143 |
+ |
144 |
+DESCRIPTION="Multiple Streaming Engine, an icecast source streamer" |
145 |
+HOMEPAGE="http://muse.dyne.org" |
146 |
+SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.gz" |
147 |
+ |
148 |
+LICENSE="GPL-2" |
149 |
+SLOT="0" |
150 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
151 |
+IUSE="doc gtk jack ncurses portaudio" |
152 |
+ |
153 |
+RDEPEND="media-sound/lame |
154 |
+ media-libs/libvorbis |
155 |
+ media-libs/libsndfile |
156 |
+ media-libs/libogg |
157 |
+ media-libs/libshout |
158 |
+ media-libs/libsamplerate |
159 |
+ gtk? ( x11-libs/gtk+:2 ) |
160 |
+ jack? ( media-sound/jack-audio-connection-kit ) |
161 |
+ ncurses? ( sys-libs/ncurses:0= ) |
162 |
+ portaudio? ( media-libs/portaudio ) |
163 |
+" |
164 |
+DEPEND="${RDEPEND} |
165 |
+ virtual/pkgconfig |
166 |
+ doc? ( app-doc/doxygen )" |
167 |
+ |
168 |
+PATCHES=( |
169 |
+ "${FILESDIR}"/${PN}-0.9.2_p20161002-fix-build-system.patch |
170 |
+) |
171 |
+ |
172 |
+src_prepare() { |
173 |
+ default |
174 |
+ eautoreconf |
175 |
+} |
176 |
+ |
177 |
+src_configure() { |
178 |
+ econf \ |
179 |
+ --without-dmalloc \ |
180 |
+ --disable-profiling \ |
181 |
+ --disable-lubrify \ |
182 |
+ $(use_enable gtk gtk2) \ |
183 |
+ $(use_enable jack) \ |
184 |
+ $(use_enable ncurses) \ |
185 |
+ $(use_enable portaudio) \ |
186 |
+ $(use_enable doc) |
187 |
+} |