diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-10-08 12:03:34 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-10-21 18:20:44 +0200 |
commit | 2846999f6ce2cbbc30ec792a114d548ef8739a54 (patch) | |
tree | 4dfacf7ba00192ed1060177746b1dcb07ac88c8f /meta-oe/recipes-multimedia | |
parent | d6cd37b49557441c893f0af5fdb13871394a8acb (diff) | |
download | meta-openembedded-2846999f6ce2cbbc30ec792a114d548ef8739a54.tar.gz |
a2jmidid: initial add v8
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r-- | meta-oe/recipes-multimedia/jack/a2jmidid/0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch | 43 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/jack/a2jmidid_8.bb | 22 |
2 files changed, 65 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid/0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch b/meta-oe/recipes-multimedia/jack/a2jmidid/0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch new file mode 100644 index 000000000..d17d311bd --- /dev/null +++ b/meta-oe/recipes-multimedia/jack/a2jmidid/0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From 488dc9b00239976caac6bd9ed76b38d9d1659dd9 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Tue, 4 Oct 2016 23:44:49 +0200 | ||
4 | Subject: [PATCH] wscript: add pthread library dependency to fix linking | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Stolen from [1] | ||
10 | |||
11 | [1] http://pkgs.fedoraproject.org/cgit/rpms/a2jmidid.git/tree/a2jmidid-linking.patch | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
16 | --- | ||
17 | wscript | 3 ++- | ||
18 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/wscript b/wscript | ||
21 | index 664625b..66a532a 100644 | ||
22 | --- a/wscript | ||
23 | +++ b/wscript | ||
24 | @@ -67,6 +67,7 @@ def configure(conf): | ||
25 | conf.env['DBUS_ENABLED'] = False | ||
26 | |||
27 | conf.env['LIB_DL'] = ['dl'] | ||
28 | + conf.env['LIB_PTHREAD'] = ['pthread'] | ||
29 | |||
30 | #conf.check_header('expat.h', mandatory=True) | ||
31 | #conf.env['LIB_EXPAT'] = ['expat'] | ||
32 | @@ -152,7 +153,7 @@ def build(bld): | ||
33 | |||
34 | prog.includes = '.' # make waf dependency tracking work | ||
35 | prog.target = 'a2jmidid' | ||
36 | - prog.uselib = 'ALSA JACK DL' | ||
37 | + prog.uselib = 'ALSA JACK DL PTHREAD' | ||
38 | if bld.env()['DBUS_ENABLED']: | ||
39 | prog.uselib += " DBUS-1" | ||
40 | prog = bld.create_obj('cc', 'program') | ||
41 | -- | ||
42 | 2.5.5 | ||
43 | |||
diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb new file mode 100644 index 000000000..d7e93b64a --- /dev/null +++ b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "a2jmidid is daemon for exposing ALSA sequencer applications as JACK MIDI" | ||
2 | SECTION = "libs/multimedia" | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://gpl2.txt;md5=751419260aa954499f7abaabaa882bbe \ | ||
7 | " | ||
8 | |||
9 | DEPENDS = "alsa-lib jack dbus" | ||
10 | |||
11 | SRC_URI = " \ | ||
12 | http://download.gna.org/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
13 | file://0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "9cf4edbc3ad2ddeeaf6c8c1791ff3ddd" | ||
16 | SRC_URI[sha256sum] = "2a9635f62aabc59edb54ada07048dd47e896b90caff94bcee710d3582606f55f" | ||
17 | |||
18 | inherit waf | ||
19 | |||
20 | export LINKFLAGS="${LDFLAGS}" | ||
21 | |||
22 | FILES_${PN} += "${datadir}/dbus-1/services" | ||