aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/jaaa
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/jaaa
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
downloadopenembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/jaaa')
-rw-r--r--recipes/jaaa/clalsadrv_1.2.2.bb21
-rw-r--r--recipes/jaaa/clthreads_2.4.0.bb21
-rw-r--r--recipes/jaaa/clxclient_3.6.1.bb22
-rw-r--r--recipes/jaaa/files/clalsadrv-Makefile.patch29
-rw-r--r--recipes/jaaa/files/clthreads-Makefile.patch29
-rw-r--r--recipes/jaaa/files/clxclient-Makefile.patch29
-rw-r--r--recipes/jaaa/files/jaaa-Makefile.patch36
-rw-r--r--recipes/jaaa/jaaa_0.4.2.bb19
8 files changed, 206 insertions, 0 deletions
diff --git a/recipes/jaaa/clalsadrv_1.2.2.bb b/recipes/jaaa/clalsadrv_1.2.2.bb
new file mode 100644
index 0000000000..de0df937a4
--- /dev/null
+++ b/recipes/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/recipes/jaaa/clthreads_2.4.0.bb b/recipes/jaaa/clthreads_2.4.0.bb
new file mode 100644
index 0000000000..ac67c5028d
--- /dev/null
+++ b/recipes/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/recipes/jaaa/clxclient_3.6.1.bb b/recipes/jaaa/clxclient_3.6.1.bb
new file mode 100644
index 0000000000..ff499ba4dc
--- /dev/null
+++ b/recipes/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/recipes/jaaa/files/clalsadrv-Makefile.patch b/recipes/jaaa/files/clalsadrv-Makefile.patch
new file mode 100644
index 0000000000..cd83154296
--- /dev/null
+++ b/recipes/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/recipes/jaaa/files/clthreads-Makefile.patch b/recipes/jaaa/files/clthreads-Makefile.patch
new file mode 100644
index 0000000000..4e939bcee6
--- /dev/null
+++ b/recipes/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/recipes/jaaa/files/clxclient-Makefile.patch b/recipes/jaaa/files/clxclient-Makefile.patch
new file mode 100644
index 0000000000..2b4ae24cc1
--- /dev/null
+++ b/recipes/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/recipes/jaaa/files/jaaa-Makefile.patch b/recipes/jaaa/files/jaaa-Makefile.patch
new file mode 100644
index 0000000000..a09fa72119
--- /dev/null
+++ b/recipes/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/recipes/jaaa/jaaa_0.4.2.bb b/recipes/jaaa/jaaa_0.4.2.bb
new file mode 100644
index 0000000000..693d7061d1
--- /dev/null
+++ b/recipes/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
+}