summaryrefslogtreecommitdiff
path: root/media-sound/muse
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/muse')
-rw-r--r--media-sound/muse/Manifest6
-rw-r--r--media-sound/muse/files/muse-0.9.2_p20161002-fix-build-system.patch95
-rw-r--r--media-sound/muse/metadata.xml8
-rw-r--r--media-sound/muse/muse-0.9.2_p20161002.ebuild51
4 files changed, 160 insertions, 0 deletions
diff --git a/media-sound/muse/Manifest b/media-sound/muse/Manifest
new file mode 100644
index 000000000000..c344f8b7d2f5
--- /dev/null
+++ b/media-sound/muse/Manifest
@@ -0,0 +1,6 @@
+AUX muse-0.9.2_p20161002-fix-build-system.patch 2589 SHA256 767031959b9ee7c02f975361363acc1f2960cd1762db389f3125e7519ea75545 SHA512 c0711f1e265721e7395605282d69d0c7d620c46a5fef05a9afdd2ca82c115ef67c442d8a92411902881ac4c632beb85dba9ed5f8dc16f87c7004dc3e378330c4 WHIRLPOOL ea5143e7422932dfa0fc2ff1d63b9fee96deb7801f5c2b5ec86d296a0b1e2304ad6162922596ac6d991d36f8439d37809562b18544643855a5f28cd7a57b3d2d
+DIST muse-0.9.2_p20161002.tar.gz 996253 SHA256 a43b4ae25c9cf76bf9d4c8328179b0ca3178a0ae1c7b1b070b6fc50277179804 SHA512 7d5b35c64b1ccae14330bb35ba0e32661f6f7445055e1854c7e5e530a7645405da03836e919b6151872f254c754d99d045b9c80938148454f521d3d117332208 WHIRLPOOL 661bb81118d16875aacfac6db1ca6adeb1b9eb4373462b50ed6ae31c56a7e9d210b0376b4b0fcef804badb57d238c8c2f19ff388cdda182cccb41dd946dd52b9
+EBUILD muse-0.9.2_p20161002.ebuild 1082 SHA256 4998458df0b8884167fa20770a98497ef81594bd420033b2d77f0e5909fd454c SHA512 74cf464d463a617835b9c809de2194e6543395a245443f8971f9e6539497cd36520184504184371199ff4549d39b183feef56dde97afeef262904e85270c50d7 WHIRLPOOL 206d5c1a3dfe619b1f60ce548c708e108e6fa1bc93d99daaeecbee28dd7f8d7442a212184757da30ba3c0e81ba4a8f83a812da977775160ce9a3f0d141972482
+MISC ChangeLog 2962 SHA256 d4eda8318cfe8c10008244c8036cd6ae97d3940a8baafb64f6aad36096c49377 SHA512 b2c0108e791abe3627dc8f01a9240d36ad94d7be018f911ee2a148fa014dfdcc6d179c378360d34e9e004bb4f1a93ce566c965d7e9a848af229b6cf0ad49f748 WHIRLPOOL a7ed675ceae73dac5391649cd1445e45006355f48bdc331e80382ac7a11cd246725247871385df4e73ffb0954eb2c235eafe2fc26ad87173f724800b0b5c01bc
+MISC ChangeLog-2015 3374 SHA256 ba1df2c9c6bba05ff434ab465eb585126fd204a291a5c3d37fff21e9eff782c2 SHA512 ad6972ec5e31e83cc4d021c3ee9f20e80adcb6a68e5e6f16a791eaa43a944eabdc46198b7c9be04d018ed9a22e15af27b100b3a28dce8c751d85b3b1dd425bf4 WHIRLPOOL 40219c8f96ae6f8761b9168c1426f3fffd0c7545792d1f98f9d817bb1a3d4f78e081fb921141e1c5816eaa33617e2cab46790d32c8e2b0edc90885d758df4946
+MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723
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
new file mode 100644
index 000000000000..7ca30e6da689
--- /dev/null
+++ b/media-sound/muse/files/muse-0.9.2_p20161002-fix-build-system.patch
@@ -0,0 +1,95 @@
+Fix build system to properly install files and prevent underlinking.
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@
+
+ AC_CANONICAL_HOST
+
+-AC_CONFIG_HEADER([config.h])
++AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_SRCDIR([src/muse.cpp])
+
+ dnl ==============================================================
+@@ -56,7 +56,7 @@
+
+
+ #GLOBAL_CFLAGS="-O4 -D_REENTRANT -fomit-frame-pointer -march=${host_cpu} -ffast-math -malign-double -funroll-loops -pipe"
+-GLOBAL_CFLAGS="-pipe -D_REENTRANT -Wall"
++GLOBAL_CFLAGS="-D_REENTRANT -Wall"
+
+
+ dnl ==============================================================
+@@ -178,19 +178,12 @@
+ # this is really libcdk's configuration, needs to be reviewed if correct
+ # see src/ncursesgui/libcdk
+ if test x$want_ncurses_gui = xyes; then
+- AC_CHECK_LIB(termcap, waddstr,
+- [have_termcap=yes], [have_termcap=no])
+-
+- AC_CHECK_LIB(ncurses, start_color,
+- AC_DEFINE([HAVE_START_COLOR], 1, [Have start_color]))
+-
+- AC_CHECK_LIB(ncurses, initscr,
+- [have_ncurses=yes], [have_ncurses=no])
+-
+- AC_CHECK_HEADERS([ncurses.h],
+- [have_ncurses_h=yes], [have_ncurses_h=no])
+-
+- AC_CHECK_FUNC(XCursesExit, AC_DEFINE(HAVE_XCURSES, 1, [Build with xcurses]))
++ PKG_CHECK_MODULES([NCURSES], [ncurses], [
++ AC_DEFINE([HAVE_START_COLOR], 1, [Have start_color])
++ have_ncurses=yes
++ have_ncurses_h=yes
++ have_termcap=yes
++ ])
+
+ if test x$have_ncurses_h = xyes; then
+ AC_DEFINE([GUI_RUBIK], 1, [Have ncurses GUI])
+@@ -326,8 +319,13 @@
+
+
+ dnl documentation
+-AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen])
+-AM_CONDITIONAL(BUILD_DOC, [test -n "$DOXYGEN"])
++AC_ARG_ENABLE([doc],
++ AS_HELP_STRING([--enable-doc], [Enable building documentation using doxygen]))
++AS_IF([test "x$enable_doc" = "xyes"], [
++ dnl Enable doc building
++ AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen])
++])
++AM_CONDITIONAL(BUILD_DOC, [test "x$enable_doc" = "xyes"])
+
+
+ dnl ==============================================================
+@@ -402,6 +400,7 @@
+
+ AC_CONFIG_FILES([
+ Makefile
++src/ncursesgui/libcdk/Makefile
+ doc/muse.doxygen
+ ])
+ AC_OUTPUT
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,9 +4,6 @@
+
+ SUBDIRS = $(LIBCDKDIR)
+
+-dist_docs_DATA = README COPYING AUTHORS NEWS KNOWN-BUGS ChangeLog TODO USAGE
+-docsdir = ${prefix}/share/doc/${PACKAGE}
+-
+ dist_man_MANS = doc/muse.1
+
+ ACLOCAL_AMFLAGS = -I m4
+@@ -71,7 +68,9 @@
+ $(SAMPLERATE_LIBS) \
+ $(SHOUT_LIBS) \
+ $(SNDFILE_LIBS) \
+- $(VORBIS_LIBS)
++ $(VORBIS_LIBS) \
++ $(GTK2_LIBS) \
++ $(NCURSES_LIBS)
+
+ src_muse_DEPENDENCIES = \
+ $(GUI_OBJECTS)
diff --git a/media-sound/muse/metadata.xml b/media-sound/muse/metadata.xml
new file mode 100644
index 000000000000..c870d0eef0ab
--- /dev/null
+++ b/media-sound/muse/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/media-sound/muse/muse-0.9.2_p20161002.ebuild b/media-sound/muse/muse-0.9.2_p20161002.ebuild
new file mode 100644
index 000000000000..89771e227748
--- /dev/null
+++ b/media-sound/muse/muse-0.9.2_p20161002.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Multiple Streaming Engine, an icecast source streamer"
+HOMEPAGE="http://muse.dyne.org"
+SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc gtk jack ncurses portaudio"
+
+RDEPEND="media-sound/lame
+ media-libs/libvorbis
+ media-libs/libsndfile
+ media-libs/libogg
+ media-libs/libshout
+ media-libs/libsamplerate
+ gtk? ( x11-libs/gtk+:2 )
+ jack? ( media-sound/jack-audio-connection-kit )
+ ncurses? ( sys-libs/ncurses:0= )
+ portaudio? ( media-libs/portaudio )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.2_p20161002-fix-build-system.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --without-dmalloc \
+ --disable-profiling \
+ --disable-lubrify \
+ $(use_enable gtk gtk2) \
+ $(use_enable jack) \
+ $(use_enable ncurses) \
+ $(use_enable portaudio) \
+ $(use_enable doc)
+}