summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/jackbeat
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/jackbeat')
-rw-r--r--media-sound/jackbeat/Manifest1
-rw-r--r--media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch36
-rw-r--r--media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch17
-rw-r--r--media-sound/jackbeat/jackbeat-0.7.6.ebuild49
-rw-r--r--media-sound/jackbeat/metadata.xml5
5 files changed, 108 insertions, 0 deletions
diff --git a/media-sound/jackbeat/Manifest b/media-sound/jackbeat/Manifest
new file mode 100644
index 000000000000..6afa49bc7e67
--- /dev/null
+++ b/media-sound/jackbeat/Manifest
@@ -0,0 +1 @@
+DIST jackbeat-0.7.6.tar.gz 455771 SHA256 0f17d9fab398e87564da89a7e174005a3dd7e16980bb49f395a7f82c866ae6c4 SHA512 878cd545cd4d53b2e3ab6e4a8b60d81a94fba22cfaab3b694046b8d47d23ca5a87eaa31a242f76449a1ee647bc20b218563261ae37f5bfe291da2e31c63124bc WHIRLPOOL e3e47ef5c0e107f0149479ecd2bd3b9fa5595706fd577ad5cd89c40e3ef0dff18a42daec4529d254c29e79138924d5a6c1d8aae82b9305b9619c9f321614f8fe
diff --git a/media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch b/media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch
new file mode 100644
index 000000000000..5f1aca5d3a32
--- /dev/null
+++ b/media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch
@@ -0,0 +1,36 @@
+--- jackbeat-0.7.6/configure.ac.orig
++++ jackbeat-0.7.6/configure.ac
+@@ -67,20 +67,25 @@
+ AC_SUBST(JACK_LIBS)
+ AM_CONDITIONAL(HAVE_JACK, [test "$have_jack" = "1"])
+
+-PKG_CHECK_MODULES(PULSE, libpulse-simple >= 0.9.10, [have_pulse=1], true)
+-AC_SUBST(PULSE_CFLAGS)
+-AC_SUBST(PULSE_LIBS)
+-if test "$have_pulse" = "1"
++AC_ARG_WITH([pulse], [AS_HELP_STRING([--without-pulse], [disable PulseAudio support])], [], [with_pulse=yes])
++
++if test "x$with_pulse" != xno
+ then
+- AC_DEFINE(HAVE_PULSE, [1], [PulseAudio support])
++ PKG_CHECK_MODULES(PULSE, libpulse-simple >= 0.9.10, [have_pulse=1], true)
++else
++ AC_MSG_CHECKING([for PULSE])
++ AC_MSG_RESULT([disabled])
+ fi
+-AM_CONDITIONAL(HAVE_PULSE, [test "$have_pulse" = "1"])
+
+-if test "$have_pulse" = "" && test "$is_linux" = "1"
++if test "$have_pulse" != ""
+ then
+- AC_MSG_WARN([Can't find libpulse, PulseAudio will not be supported])
++ AC_DEFINE(HAVE_PULSE, [1], [PulseAudio support])
+ fi
+
++AC_SUBST(PULSE_CFLAGS)
++AC_SUBST(PULSE_LIBS)
++AM_CONDITIONAL(HAVE_PULSE, [test "$have_pulse" = "1"])
++
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.12, [have_pkg_gtk=true], true)
+
+ if test x$have_pkg_gtk = xtrue
diff --git a/media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch b/media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch
new file mode 100644
index 000000000000..878929c36693
--- /dev/null
+++ b/media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch
@@ -0,0 +1,17 @@
+http://bugs.gentoo.org/508988
+
+jackbeat-builder.o:builder.c:function gui_builder_connect_func: error: undefined reference to 'g_module_symbol'
+jackbeat-builder.o:builder.c:function gui_builder_connect_func: error: undefined reference to 'g_module_supported'
+jackbeat-builder.o:builder.c:function gui_builder_connect_func: error: undefined reference to 'g_module_open'
+
+--- configure.ac
++++ configure.ac
+@@ -86,7 +86,7 @@
+ AC_SUBST(PULSE_LIBS)
+ AM_CONDITIONAL(HAVE_PULSE, [test "$have_pulse" = "1"])
+
+-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.12, [have_pkg_gtk=true], true)
++PKG_CHECK_MODULES(GTK, gmodule-2.0 gtk+-2.0 >= 2.12, [have_pkg_gtk=true], true)
+
+ if test x$have_pkg_gtk = xtrue
+ then
diff --git a/media-sound/jackbeat/jackbeat-0.7.6.ebuild b/media-sound/jackbeat/jackbeat-0.7.6.ebuild
new file mode 100644
index 000000000000..85aad1a35eeb
--- /dev/null
+++ b/media-sound/jackbeat/jackbeat-0.7.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="An audio sequencer for Linux"
+HOMEPAGE="http://www.samalyse.com/jackbeat/"
+SRC_URI="http://www.samalyse.com/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="jack pulseaudio"
+
+RDEPEND="dev-libs/glib:2
+ >=dev-libs/libxml2-2.6:2
+ gnome-base/libglade:2.0
+ >=media-libs/liblo-0.22
+ >=media-libs/libsamplerate-0.1.2
+ >=media-libs/libsndfile-1.0.15
+ media-libs/alsa-lib
+ media-libs/portaudio
+ jack? ( >=media-sound/jack-audio-connection-kit-0.101 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.10 )
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-2.12:2
+ x11-libs/pango"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-automagic-pulse.patch \
+ "${FILESDIR}"/${P}-underlinking.patch
+
+ # Don't install license file
+ sed -i -e 's:help::' pkgdata/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with jack) \
+ $(use_with pulseaudio pulse)
+}
diff --git a/media-sound/jackbeat/metadata.xml b/media-sound/jackbeat/metadata.xml
new file mode 100644
index 000000000000..0dc3775f83d7
--- /dev/null
+++ b/media-sound/jackbeat/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proaudio</herd>
+</pkgmetadata>