diff options
Diffstat (limited to 'media-libs/libjackasyn')
-rw-r--r-- | media-libs/libjackasyn/Manifest | 10 | ||||
-rw-r--r-- | media-libs/libjackasyn/files/libjackasyn-0.13-execprefix.patch | 23 | ||||
-rw-r--r-- | media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch | 27 | ||||
-rw-r--r-- | media-libs/libjackasyn/files/libjackasyn-0.13-pic.patch | 47 | ||||
-rw-r--r-- | media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch | 48 | ||||
-rw-r--r-- | media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch | 13 | ||||
-rw-r--r-- | media-libs/libjackasyn/libjackasyn-0.13.ebuild | 40 | ||||
-rw-r--r-- | media-libs/libjackasyn/metadata.xml | 8 |
8 files changed, 216 insertions, 0 deletions
diff --git a/media-libs/libjackasyn/Manifest b/media-libs/libjackasyn/Manifest new file mode 100644 index 000000000000..fa64681e9713 --- /dev/null +++ b/media-libs/libjackasyn/Manifest @@ -0,0 +1,10 @@ +AUX libjackasyn-0.13-execprefix.patch 449 SHA256 a666521cedb12f3d6607d3ade56d6a19bde03abb1eb26fcf791dc7cf1100799e SHA512 95af9c7b2c154ad55177a5ae6272c615ec262072d1d975a143ac1f6b7935e8016bfa6609dd281ba3a9180c53f4d448a09fd1cbb2998fcedbdb33a3864e43ef54 WHIRLPOOL 5fa0fda3c424cecec77b3d4ccd2a8dc5c214cc732568fc6bb7fadee3341a323c86dacf79e974707847f91d0ad816ba762c3d337b2807fabbbfedc13beb3afe2b +AUX libjackasyn-0.13-libdir.patch 715 SHA256 b92132faed3780ae551b77309f48558ee51d042ded19f9386a53bafd9f32edaa SHA512 bc1c3bf7aac6180cadf5fd0ea11866f1ae46fc17ace61325d80cf16e17f790657794d262768c70ef772c1795a6773343e99805832517876383ac6b7dfa96b8c2 WHIRLPOOL 724418626026e185248f9de328fff71bd8aa92782bcdeb4281d7ce090757fe696fa7cb8760dd8e878c944c7735dfc092259f5949051bc7da23f090904d33111e +AUX libjackasyn-0.13-pic.patch 1456 SHA256 0f6376c72494f03776a8bc7c05073aa6525c151fdc81eb1ae4e7d23772609ac6 SHA512 211247e706e9fa731c375ba36fd186652a090661930961fa4486547d064268f6c502ff425d27db0e6f73e09e02d9b63e0be079a2c8b24238bd065fab92b6a594 WHIRLPOOL 1103c273474451e0b0a73cb29fc7a7c38f8e07469a69a5a28ba70251643b5306265eff94a45b6f5d51dceda3c8b860f7eeaf2e77e81cfabfbd3625cc11e56ce5 +AUX libjackasyn-0.13-qa.patch 1751 SHA256 5daf27ebb1e9d93a40f245c1b1c9eac37d1f3ecb987ab0d9750292fd9108faf0 SHA512 277cd971c6c4aa297096f08f9b0acb6e266ef93606522daf5ed6ec9af58b60668e04fc6b7e1fed2248788d2d8065b32996004599089446bb52f61e8e3541fdbd WHIRLPOOL 4f8f6233c8051c3add61a00d3b802b99d71d3cb6bf9311c0d06975c7efe77695f971f0e94ae343e99b3f07ceedeba61183db7d9f1275eb86e81a296e93619ec8 +AUX libjackasyn-0.13-tests.patch 415 SHA256 6c3dc805f35e91ed0a4a291a3e896729ae0e2ea5962f3eda86c07282eae02759 SHA512 c0355b48a079700b8f3aa7925dd0e3ef5dcf90088d7597c9c600892532dc9ae41c4b0dbcc1b792a1ffae9a8797ddbbeaf3c9b46d7946966d9ab618fd6361f44a WHIRLPOOL 81199ac424428b3bb978f023806afa7a8ed21296f57f90f00d55e0295baa2c653cb60de2a1750ff5dcc05f2d16a5696ed93d028f50b09cfb7896e76a11766222 +DIST libjackasyn-0.13.tar.gz 74041 SHA256 77cf477815a054d508b0bdd34ffcedfe22c091bfbd4367c55c7e33e29089a902 SHA512 5e311f9a4ed6eaf5086233cfe072e9303e4b1cd39a9613263f37dfbee2139434cd161a90a5a6c0989a9274645cc792477a66aac1f8045964ea4df6983ac2ad10 WHIRLPOOL 11a28de370304aba41636628f800b79f6a82a7d53e2c36e0f056a79edf8e0f97f26d6aac5a19158fdd878d59cf59656cadc696d0c79476cf567f616ae8a78553 +EBUILD libjackasyn-0.13.ebuild 945 SHA256 bbc1296960df97cd938ced62573a51aa9c8307e0dd7e546bc28173f3cfdf03e0 SHA512 d98deaf539c9a554b3cf9c1983be7456aac5981a3d8222d13d11c3d962915b985fb29627e21b606769e2c9d7b39be81270f8183b0445eaffafa0f63fa4cf05a7 WHIRLPOOL 261dd1d2db999f91ddc707220f8c0573529f12d8908b5767e3a90150ee2a73ef48a803f6e9001affae01532c754aa1329be13be99386da1c6f1c8c28e7b2b29b +MISC ChangeLog 2672 SHA256 02f8c08c19ea3ce93d79a59e8c15fffbd596f5ae2f52e71916fbce7c439b8d55 SHA512 6ea2ed97a019b2312e06c424ad3f485c73352dbc573fee215cfcb77b0e59df937fb673b56c926b2c35ede0a1cc2360397b99b392aaf79513382dec8183ccb113 WHIRLPOOL 5cbcb72957b5de0d52fa7bef3ce18ec7f263ceafbbb509e753db19787b120eee0ceef9a776da4d7e31bc5c6c68ab2c12e1a5641acb7a5f5d117230cfafa6a95a +MISC ChangeLog-2015 2936 SHA256 85e3fe90dca5fa2684cbda8c1ca8ec29bcf7a43910139986b4334744d175aa13 SHA512 7ff71b25002dcb853adccdea786813ffb3b7d999a1c26465b41ed25aed3c599aee92a656a39c281dd1049d5f9d41fd18dffca8a22ce89b9fc841ed4995e8ab2b WHIRLPOOL 2118fb4d3f1504a24ab392bf08e3522cb7d55d15c7e7f6d326e0e4a731aa1a7ff578a6697e1c8bcb90c57acafa30866c4ed51d490929c5b7662711721eda998d +MISC metadata.xml 255 SHA256 fc6dd027d0011f9f42d437ea0687857760a11bf2137f8822ec8692186d0bcbe3 SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8 WHIRLPOOL de03966b13986c67a61f862755281e80740260a9031e5e34cbee88a3053e66f705df0f36499b154744ff447c94e19a28b8649535e08819216569e78eb4ce9a38 diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-execprefix.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-execprefix.patch new file mode 100644 index 000000000000..418d4eea3c3f --- /dev/null +++ b/media-libs/libjackasyn/files/libjackasyn-0.13-execprefix.patch @@ -0,0 +1,23 @@ +--- Makefile.in.old 2007-02-13 23:03:12.000000000 +0100 ++++ Makefile.in 2007-02-13 23:03:22.000000000 +0100 +@@ -15,6 +15,8 @@ + + prefix = @prefix@ + ++exec_prefix=@prefix@ ++ + libdir = @libdir@ + + all: static shared +--- jacklaunch.in.old 2007-02-13 23:03:37.000000000 +0100 ++++ jacklaunch.in 2007-02-13 23:03:53.000000000 +0100 +@@ -26,6 +26,9 @@ + + PREFIX=@prefix@ + ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++ + LIBDIR=@libdir@ + + LD_PRELOAD_OLD="" diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch new file mode 100644 index 000000000000..d6a855bda6b8 --- /dev/null +++ b/media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch @@ -0,0 +1,27 @@ +diff -u -r libjackasyn-0.13.old/jacklaunch.in libjackasyn-0.13/jacklaunch.in +--- libjackasyn-0.13.old/jacklaunch.in 2007-02-04 14:07:28.000000000 +0100 ++++ libjackasyn-0.13/jacklaunch.in 2007-02-04 14:08:17.000000000 +0100 +@@ -26,18 +26,20 @@ + + PREFIX=@prefix@ + ++LIBDIR=@libdir@ ++ + LD_PRELOAD_OLD="" + + if test "$LD_PRELOAD" != "" + then + LD_PRELOAD_OLD=$LD_PRELOAD +- PRELOAD=$LD_PRELOAD:$PREFIX/lib/libjackasyn.so.0 ++ PRELOAD=$LD_PRELOAD:$LIBDIR/libjackasyn.so.0 + else +- PRELOAD=$PREFIX/lib/libjackasyn.so.0 ++ PRELOAD=$LIBDIR/libjackasyn.so.0 + fi + + +-if test -f $PREFIX/lib/libjackasyn.so.0 -a "$jackcnt" != "0" ++if test -f $LIBDIR/libjackasyn.so.0 -a "$jackcnt" != "0" + then + export LD_PRELOAD=$PRELOAD + fi diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-pic.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-pic.patch new file mode 100644 index 000000000000..c52d6b65a6b1 --- /dev/null +++ b/media-libs/libjackasyn/files/libjackasyn-0.13-pic.patch @@ -0,0 +1,47 @@ +diff -u -r libjackasyn-0.13.old/Makefile.in libjackasyn-0.13/Makefile.in +--- libjackasyn-0.13.old/Makefile.in 2007-02-04 14:17:35.000000000 +0100 ++++ libjackasyn-0.13/Makefile.in 2007-02-04 14:18:05.000000000 +0100 +@@ -5,10 +5,11 @@ + + TARGET = libjackasyn + +-SRC_FILES = libjackasyn.c libjackoss.c clientfuncs.c ++SRC_FILES = libjackasyn.c libjackoss.c + OBJ_FILES = $(SRC_FILES:.c=.o) libjackoss_pl.o ++OBJ_PIC = $(OBJ_FILES:.o=.opic) + HEADERS = libjackasyn.h libjackoss.h +-CFLAGS = -O2 -Wall -I. -fPIC -rdynamic -DMAJOR=$(MAJOR) -DMINOR=$(MINOR) @DEBUG@ ++CFLAGS_ADD = -I. -rdynamic -DMAJOR=$(MAJOR) -DMINOR=$(MINOR) @DEBUG@ + LIBS = -lc @LIBS@ + + +@@ -18,12 +19,17 @@ + + all: static shared + ++%.o : %.c ++ $(CC) $(CFLAGS) $(CFLAGS_ADD) -c $< -o $@ ++ ++%.opic : %.c ++ $(CC) $(CFLAGS) $(CFLAGS_ADD) -fPIC -c $< -o $@ + + static: $(OBJ_FILES) +- ar cr libjackasyn.a *.o ++ ar cr libjackasyn.a $(OBJ_FILES) + +-shared: +- $(CC) -shared -Wl,-soname=libjackasyn.so.0 $(LDFLAGS) -o libjackasyn.so.$(VERSION) *.o $(LIBS) ++shared: $(OBJ_PIC) ++ $(CC) -shared -Wl,-soname=libjackasyn.so.0 $(LDFLAGS) -o libjackasyn.so.$(VERSION) $(OBJ_PIC) $(LIBS) + + install: + -install -d $(DESTDIR)/$(libdir) +@@ -58,4 +64,7 @@ + $(OBJ_FILES) : $(HEADERS) + + libjackoss_pl.o: libjackoss.c +- $(CC) -c $(CFLAGS) -DLD_PRELOAD -o $@ $< ++ $(CC) -c $(CFLAGS) $(CFLAGS_ADD) -DLD_PRELOAD -o $@ $< ++ ++libjackoss_pl.opic: libjackoss.c ++ $(CC) -c $(CFLAGS) $(CFLAGS_ADD) -fPIC -DLD_PRELOAD -o $@ $< diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch new file mode 100644 index 000000000000..437faa9a6adf --- /dev/null +++ b/media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch @@ -0,0 +1,48 @@ +diff -u -r libjackasyn-0.13.old/Makefile.in libjackasyn-0.13/Makefile.in +--- libjackasyn-0.13.old/Makefile.in 2007-02-04 13:26:52.000000000 +0100 ++++ libjackasyn-0.13/Makefile.in 2007-02-04 13:27:14.000000000 +0100 +@@ -14,6 +14,7 @@ + + prefix = @prefix@ + ++libdir = @libdir@ + + all: static shared + +@@ -22,22 +23,21 @@ + ar cr libjackasyn.a *.o + + shared: +- gcc -shared -Wl,-soname=libjackasyn.so.0 -o libjackasyn.so.$(VERSION) *.o $(LIBS) ++ $(CC) -shared -Wl,-soname=libjackasyn.so.0 $(LDFLAGS) -o libjackasyn.so.$(VERSION) *.o $(LIBS) + + install: +- -rm $(DESTDIR)/$(prefix)/lib/libjackasyn.so* +- -install -d $(DESTDIR)/$(prefix)/lib ++ -install -d $(DESTDIR)/$(libdir) + -install -d $(DESTDIR)/$(prefix)/include +- install -m 644 libjackasyn.a $(DESTDIR)/$(prefix)/lib +- install -m 644 libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib ++ install -m 644 libjackasyn.a $(DESTDIR)/$(libdir) ++ install -m 644 libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir) + install -m 644 libjackoss.h $(DESTDIR)/$(prefix)/include +- ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib/libjackasyn.so.0 +- ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib/libjackasyn.so ++ ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)/libjackasyn.so.0 ++ ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)/libjackasyn.so + -install -d $(DESTDIR)/$(prefix)/bin + install -m 755 jacklaunch $(DESTDIR)/$(prefix)/bin + + test: +- gcc -o test test.c libjackasyn.a -ljack -ldl -lm ++ $(CC) -o test test.c libjackasyn.a -ljack -ldl -lm + + clean: + -rm *~ $(OBJ_FILES) +@@ -58,4 +58,4 @@ + $(OBJ_FILES) : $(HEADERS) + + libjackoss_pl.o: libjackoss.c +- gcc -c $(CFLAGS) -DLD_PRELOAD -o $@ $< ++ $(CC) -c $(CFLAGS) -DLD_PRELOAD -o $@ $< +Only in libjackasyn-0.13.old: Makefile.in.orig diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch new file mode 100644 index 000000000000..8d48b1f47d7e --- /dev/null +++ b/media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch @@ -0,0 +1,13 @@ +Index: libjackasyn-0.13/Makefile.in +=================================================================== +--- libjackasyn-0.13.orig/Makefile.in ++++ libjackasyn-0.13/Makefile.in +@@ -45,7 +45,7 @@ install: + install -m 755 jacklaunch $(DESTDIR)/$(prefix)/bin + + test: +- $(CC) -o test test.c libjackasyn.a -ljack -ldl -lm ++ $(CC) $(LDFLAGS) $(CFLAGS) -o test test.c libjackasyn.a $(LIBS) + + clean: + -rm *~ $(OBJ_FILES) diff --git a/media-libs/libjackasyn/libjackasyn-0.13.ebuild b/media-libs/libjackasyn/libjackasyn-0.13.ebuild new file mode 100644 index 000000000000..a85670158889 --- /dev/null +++ b/media-libs/libjackasyn/libjackasyn-0.13.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +IUSE="debug" + +DESCRIPTION="An application/library for connecting OSS apps to Jackit" +HOMEPAGE="http://gige.xdv.org/soft/libjackasyn" +SRC_URI="http://gige.xdv.org/soft/libjackasyn/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 sparc x86" + +DEPEND="media-sound/jack-audio-connection-kit + media-libs/libsamplerate" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-qa.patch" + epatch "${FILESDIR}/${P}-pic.patch" + epatch "${FILESDIR}/${P}-libdir.patch" + epatch "${FILESDIR}/${P}-execprefix.patch" + epatch "${FILESDIR}/${P}-tests.patch" +} + +src_compile() { + tc-export CC + local myconf + use debug && myconf="--enable-debug" + econf ${myconf} || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS CHANGELOG WORKING TODO README +} diff --git a/media-libs/libjackasyn/metadata.xml b/media-libs/libjackasyn/metadata.xml new file mode 100644 index 000000000000..f79bb67acbd9 --- /dev/null +++ b/media-libs/libjackasyn/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>proaudio@gentoo.org</email> + <name>Gentoo ProAudio Project</name> +</maintainer> +</pkgmetadata> |