diff options
author | Mike Montour <mail@mmontour.net> | 2008-05-11 12:58:21 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-05-11 12:58:21 +0000 |
commit | 881d267f49606d1834552a329cb0e0c3a5b33333 (patch) | |
tree | fc09bc8c1dc0ad52dc8e913c481c6c8355068284 /packages | |
parent | f91cc88da285f871bdbbfb2b332a9b16195c5496 (diff) |
Jaaa: add 0.4.2 + deps. Jaaa (JACK and ALSA Audio Analyser, is an audio signal generator and spectrum analyser designed to make accurate measurements.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/jaaa/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/jaaa/clalsadrv_1.2.2.bb | 21 | ||||
-rw-r--r-- | packages/jaaa/clthreads_2.4.0.bb | 21 | ||||
-rw-r--r-- | packages/jaaa/clxclient_3.6.1.bb | 22 | ||||
-rw-r--r-- | packages/jaaa/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/jaaa/files/clalsadrv-Makefile.patch | 29 | ||||
-rw-r--r-- | packages/jaaa/files/clthreads-Makefile.patch | 29 | ||||
-rw-r--r-- | packages/jaaa/files/clxclient-Makefile.patch | 29 | ||||
-rw-r--r-- | packages/jaaa/files/jaaa-Makefile.patch | 36 | ||||
-rw-r--r-- | packages/jaaa/jaaa_0.4.2.bb | 19 |
10 files changed, 206 insertions, 0 deletions
diff --git a/packages/jaaa/.mtn2git_empty b/packages/jaaa/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/jaaa/.mtn2git_empty diff --git a/packages/jaaa/clalsadrv_1.2.2.bb b/packages/jaaa/clalsadrv_1.2.2.bb new file mode 100644 index 0000000000..de0df937a4 --- /dev/null +++ b/packages/jaaa/clalsadrv_1.2.2.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "clalsadrv library from http://www.kokkinizita.net/linuxaudio/" +SECTION = "libs/multimedia" +PRIORITY = "optional" +LICENSE = "GPL" +PR = "r0" + +DEPENDS = "alsa-lib" + +SRC_URI = "http://www.kokkinizita.net/linuxaudio/downloads/clalsadrv-${PV}.tar.bz2 \ + file://clalsadrv-Makefile.patch;patch=1 \ +" + +S = "${WORKDIR}/clalsadrv" + +inherit autotools pkgconfig lib_package + +do_stage() { + autotools_stage_all + oe_libinstall -so libclalsadrv ${STAGING_LIBDIR} + install -m 0644 clalsadrv.h ${STAGING_INCDIR} +} diff --git a/packages/jaaa/clthreads_2.4.0.bb b/packages/jaaa/clthreads_2.4.0.bb new file mode 100644 index 0000000000..ac67c5028d --- /dev/null +++ b/packages/jaaa/clthreads_2.4.0.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "clthreads library from http://www.kokkinizita.net/linuxaudio/" +SECTION = "libs/multimedia" +PRIORITY = "optional" +LICENSE = "LGPL" +PR = "r0" + +DEPENDS = "" + +SRC_URI = "http://www.kokkinizita.net/linuxaudio/downloads/clthreads-${PV}.tar.bz2 \ + file://clthreads-Makefile.patch;patch=1 \ +" + +S = "${WORKDIR}/clthreads-${PV}" + +inherit autotools pkgconfig lib_package + +do_stage() { + autotools_stage_all + oe_libinstall -so libclthreads ${STAGING_LIBDIR} + install -m 0644 clthreads.h ${STAGING_INCDIR} +} diff --git a/packages/jaaa/clxclient_3.6.1.bb b/packages/jaaa/clxclient_3.6.1.bb new file mode 100644 index 0000000000..ff499ba4dc --- /dev/null +++ b/packages/jaaa/clxclient_3.6.1.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "clxclient library from http://www.kokkinizita.net/linuxaudio/" +SECTION = "libs/multimedia" +PRIORITY = "optional" +LICENSE = "LGPL" +PR = "r0" + +DEPENDS = "libx11 clthreads freetype libxft" +RDEPENDS = "libx11-locale" + +SRC_URI = "http://www.kokkinizita.net/linuxaudio/downloads/clxclient-${PV}.tar.bz2 \ + file://clxclient-Makefile.patch;patch=1 \ +" + +S = "${WORKDIR}/clxclient-${PV}" + +inherit autotools pkgconfig lib_package + +do_stage() { + autotools_stage_all + oe_libinstall -so libclxclient ${STAGING_LIBDIR} + install -m 0644 clxclient.h ${STAGING_INCDIR} +} diff --git a/packages/jaaa/files/.mtn2git_empty b/packages/jaaa/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/jaaa/files/.mtn2git_empty diff --git a/packages/jaaa/files/clalsadrv-Makefile.patch b/packages/jaaa/files/clalsadrv-Makefile.patch new file mode 100644 index 0000000000..cd83154296 --- /dev/null +++ b/packages/jaaa/files/clalsadrv-Makefile.patch @@ -0,0 +1,29 @@ +--- clalsadrv.orig/Makefile 2008-05-10 12:13:03.000000000 -0700 ++++ clalsadrv/Makefile 2008-05-10 12:13:48.000000000 -0700 +@@ -17,9 +17,9 @@ + + # Modify as required. + # +-PREFIX = /usr ++PREFIX = ${DESTDIR}/usr + SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') +-LIBDIR = lib$(SUFFIX) ++LIBDIR = lib + + + MAJVERS = 1 +@@ -42,12 +42,12 @@ + + + $(CLALSADRV_MIN): $(CLALSADRV_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP) ++ ${CXX} -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP) + + + install: $(CLALSADRV_MIN) + /usr/bin/install -d $(PREFIX)/$(LIBDIR) +- /usr/bin/install -m 644 $(CLALSADRV_H) $(PREFIX)/include ++ /usr/bin/install -D -m 644 $(CLALSADRV_H) $(PREFIX)/include/$(CLALSADRV_H) + /usr/bin/install -m 755 $(CLALSADRV_MIN) $(PREFIX)/$(LIBDIR) + /sbin/ldconfig -n $(PREFIX)/$(LIBDIR) + ln -sf $(CLALSADRV_MIN) $(PREFIX)/$(LIBDIR)/$(CLALSADRV_SO) diff --git a/packages/jaaa/files/clthreads-Makefile.patch b/packages/jaaa/files/clthreads-Makefile.patch new file mode 100644 index 0000000000..4e939bcee6 --- /dev/null +++ b/packages/jaaa/files/clthreads-Makefile.patch @@ -0,0 +1,29 @@ +--- clthreads-2.4.0.orig/Makefile 2008-05-10 11:49:46.000000000 -0700 ++++ clthreads-2.4.0/Makefile 2008-05-10 11:49:49.000000000 -0700 +@@ -17,9 +17,9 @@ + + # Modify as required. + # +-PREFIX = /usr/local ++PREFIX = ${DESTDIR}/usr + SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') +-LIBDIR = lib$(SUFFIX) ++LIBDIR = lib + + + MAJVERS = 2 +@@ -42,12 +42,12 @@ + + + $(CLTHREADS_MIN): $(CLTHREADS_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP) + + + install: $(CLTHREADS_MIN) + /usr/bin/install -d $(PREFIX)/$(LIBDIR) +- /usr/bin/install -m 644 $(CLTHREADS_H) $(PREFIX)/include ++ /usr/bin/install -D -m 644 $(CLTHREADS_H) $(PREFIX)/include/$(CLTHREADS_H) + /usr/bin/install -m 755 $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR) + /sbin/ldconfig -n $(PREFIX)/$(LIBDIR) + ln -sf $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR)/$(CLTHREADS_SO) diff --git a/packages/jaaa/files/clxclient-Makefile.patch b/packages/jaaa/files/clxclient-Makefile.patch new file mode 100644 index 0000000000..2b4ae24cc1 --- /dev/null +++ b/packages/jaaa/files/clxclient-Makefile.patch @@ -0,0 +1,29 @@ +--- clxclient-3.6.1.orig/Makefile 2008-05-10 12:00:47.000000000 -0700 ++++ clxclient-3.6.1/Makefile 2008-05-10 12:01:26.000000000 -0700 +@@ -17,9 +17,9 @@ + + # Modify as required. + # +-PREFIX = /usr/local ++PREFIX = ${DESTDIR}/usr + SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') +-LIBDIR = lib$(SUFFIX) ++LIBDIR = lib + + + MAJVERS = 3 +@@ -43,12 +43,12 @@ + + + $(CLXCLIENT_MIN): $(CLXCLIENT_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) ++ ${CXX} -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) + + + install: $(CLXCLIENT_MIN) + /usr/bin/install -d $(PREFIX)/$(LIBDIR) +- /usr/bin/install -m 644 $(CLXCLIENT_H) $(PREFIX)/include ++ /usr/bin/install -D -m 644 $(CLXCLIENT_H) $(PREFIX)/include/$(CLXCLIENT_H) + /usr/bin/install -m 755 $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR) + /sbin/ldconfig -n $(PREFIX)/$(LIBDIR) + ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO) diff --git a/packages/jaaa/files/jaaa-Makefile.patch b/packages/jaaa/files/jaaa-Makefile.patch new file mode 100644 index 0000000000..a09fa72119 --- /dev/null +++ b/packages/jaaa/files/jaaa-Makefile.patch @@ -0,0 +1,36 @@ +--- jaaa.orig/Makefile 2007-03-15 07:21:57.000000000 -0700 ++++ jaaa/Makefile 2008-05-10 11:03:53.000000000 -0700 +@@ -15,15 +15,15 @@ + # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + +-PREFIX = /usr ++PREFIX = ${DESTDIR}/usr + SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') +-LIBDIR = lib$(SUFFIX) ++LIBDIR = lib + VERSION = 0.4.2 + DISTDIR = jaaa-$(VERSION) +-CPPFLAGS += -O3 -Wall -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -I/usr/include/freetype2 ++CPPFLAGS += -O3 -Wall -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -I${PKG_CONFIG_SYSROOT_DIR}/usr/include/freetype2 + #CPPFLAGS += -march=pentium4 + +-LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L/usr/X11R6/$(LIBDIR) ++LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L${PKG_CONFIG_SYSROOT_DIR}/usr/X11R6/$(LIBDIR) + LDLIBS += -lclalsadrv -lclthreads -lclxclient -lpthread -lfftw3f -ljack -lasound -lpthread -lXft -lX11 -lrt + + JAAA_H = styles.h spectwin.h audio.h prbsgen.h rngen.h +@@ -31,11 +31,11 @@ + + + jaaa: $(JAAA_O) +- g++ $(LDFLAGS) -o jaaa $(JAAA_O) $(LDLIBS) ++ ${CXX} $(LDFLAGS) -o jaaa $(JAAA_O) $(LDLIBS) + + + install: jaaa +- /usr/bin/install -m 755 jaaa $(PREFIX)/bin ++ /usr/bin/install -D -m 755 jaaa $(PREFIX)/bin/jaaa + + $(JAAA_O): $(JAAA_H) + diff --git a/packages/jaaa/jaaa_0.4.2.bb b/packages/jaaa/jaaa_0.4.2.bb new file mode 100644 index 0000000000..693d7061d1 --- /dev/null +++ b/packages/jaaa/jaaa_0.4.2.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "JACK and ALSA Audio Analyzer from http://www.kokkinizita.net/linuxaudio/" +SECTION = "x11/multimedia" +PRIORITY = "optional" +LICENSE = "GPL" +PR = "r0" + +DEPENDS = "clthreads clxclient clalsadrv jack freetype fftwf" + +SRC_URI = "http://www.kokkinizita.net/linuxaudio/downloads/jaaa-${PV}.tar.bz2 \ + file://jaaa-Makefile.patch;patch=1 \ +" + +S = "${WORKDIR}/jaaa" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} |