[proaudio] [2957] opps the jack-tools-20131226 ebuild and files

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 2957
Author:   dominique
Date:     2015-05-19 19:22:52 +0200 (Tue, 19 May 2015)
Log Message:
-----------
opps the jack-tools-20131226 ebuild and files

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/jack-tools/files/
    trunk/overlays/proaudio/media-sound/jack-tools/files/cflags.patch
    trunk/overlays/proaudio/media-sound/jack-tools/files/commonfiles_cflags.patch
    trunk/overlays/proaudio/media-sound/jack-tools/jack-tools-20131226.ebuild

Added: trunk/overlays/proaudio/media-sound/jack-tools/files/cflags.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-tools/files/cflags.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jack-tools/files/cflags.patch	2015-05-19 17:22:52 UTC (rev 2957)
@@ -0,0 +1,34 @@
+--- Makefile.orig	2015-05-19 19:04:00.000000000 +0200
++++ Makefile	2015-05-19 19:05:40.070310007 +0200
+@@ -1,26 +1,25 @@
+ prefix=$(HOME)/opt
+ bin=jack-dl jack-osc jack-play jack-plumbing jack-record jack-scope jack-transport jack-udp
+ 
+-CFLAGS=-Wall -D_POSIX_C_SOURCE=200112 -std=c99 -O3 -g
+ LDLIBS=c-common/lib-c-common.a -ljack -lpthread -lm
+ INSTALL=install
+ 
+ all: $(bin)
+ 
+ jack-transport: jack-transport.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-transport jack-transport.c $(LDLIBS) -lcurses
++	gcc $(CFLAGS) -D_POSIX_C_SOURCE=200112 -std=c99  $(LDFLAGS) -o jack-transport jack-transport.c $(LDLIBS) -lcurses
+ 
+ jack-dl: jack-dl.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-dl jack-dl.c $(LDLIBS) -ldl -llo
++	gcc $(CFLAGS) -D_POSIX_C_SOURCE=200112 -std=c99  $(LDFLAGS) -o jack-dl jack-dl.c $(LDLIBS) -ldl -llo
+ 
+ jack-play: jack-play.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-play jack-play.c $(LDLIBS) -lsndfile -lsamplerate
++	gcc $(CFLAGS) -D_POSIX_C_SOURCE=200112 -std=c99  $(LDFLAGS) -o jack-play jack-play.c $(LDLIBS) -lsndfile -lsamplerate
+ 
+ jack-record: jack-record.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-record jack-record.c $(LDLIBS) -lsndfile
++	gcc $(CFLAGS) -D_POSIX_C_SOURCE=200112 -std=c99  $(LDFLAGS) -o jack-record jack-record.c $(LDLIBS) -lsndfile
+ 
+ jack-scope: jack-scope.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-scope jack-scope.c $(LDLIBS) -lX11 -lXext
++	gcc $(CFLAGS) -D_POSIX_C_SOURCE=200112 -std=c99  $(LDFLAGS) -o jack-scope jack-scope.c $(LDLIBS) -lX11 -lXext
+ 
+ clean:
+ 	(cd c-common ; make clean)

Added: trunk/overlays/proaudio/media-sound/jack-tools/files/commonfiles_cflags.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-tools/files/commonfiles_cflags.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jack-tools/files/commonfiles_cflags.patch	2015-05-19 17:22:52 UTC (rev 2957)
@@ -0,0 +1,11 @@
+--- c-common/Makefile.orig	2014-01-05 21:00:39.000000000 +0100
++++ c-common/Makefile	2015-05-19 18:58:44.216325180 +0200
+@@ -47,7 +47,7 @@
+ 	xregcomp.o
+ 
+ %.o : %.c %.h
+-	gcc -Wall -O2 -c $*.c
++	gcc $(CFLAGS) -c $*.c
+ 
+ all: $(obj)
+ 	ar -rcs lib-c-common.a $(obj)

Added: trunk/overlays/proaudio/media-sound/jack-tools/jack-tools-20131226.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-tools/jack-tools-20131226.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jack-tools/jack-tools-20131226.ebuild	2015-05-19 17:22:52 UTC (rev 2957)
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils
+
+DESCRIPTION="A collection of audio tools for jack"
+HOMEPAGE="http://rd.slavepianos.org/?t=rju";
+SRC_URI="mirror://ubuntu/pool/universe/j/${PN}/${PN}_${PV}.orig.tar.bz2
+mirror://ubuntu/pool/universe/j/${PN}/${PN}_${PV}-1.debian.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND="media-libs/libsndfile
+	>=media-sound/jack-audio-connection-kit-0.109.2
+	x11-libs/libICE
+	x11-libs/libSM
+	x11-libs/libX11
+	x11-libs/libXext
+	doc? ( app-text/asciidoc )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/rju
+RESTRICT="mirror"
+
+DOCS=(README)
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}"/debian/patches \
+		epatch $(< "${WORKDIR}"/debian/patches/series)
+		epatch "${FILESDIR}"/*
+}
+
+src_configure() {
+	echo "Nothing to configure"
+}
+
+src_compile() {
+	cd "${S}"/c-common
+	emake
+	cd "${S}"
+	emake
+}
+
+src_install() {
+	emake prefix="${D}"/usr install
+
+	dodoc *.text
+
+	if use doc; then
+		local x=
+		for x in *.text; do
+			asciidoc "${x}"
+		done
+
+		dohtml *.html
+	fi
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/