diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2017-02-18 19:40:20 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-22 21:38:39 +0100 |
commit | 053d28528fec245bc2d4c45240bc5c64bbadff28 (patch) | |
tree | 30119bbd844e40a6437a27a6576f95a99fca356c /meta-multimedia/recipes-multimedia | |
parent | 1bd00db14a3fc1489ea78a339957fc58b5d4517c (diff) | |
download | meta-openembedded-053d28528fec245bc2d4c45240bc5c64bbadff28.tar.gz |
mpd: add pkgconfig to inherit, rework DEPENDS and unblacklist
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb index a2b85b88b..c16f3be77 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb | |||
@@ -3,7 +3,41 @@ LICENSE = "GPLv2" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | HOMEPAGE ="http://www.musicpd.org" | 4 | HOMEPAGE ="http://www.musicpd.org" |
5 | 5 | ||
6 | DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg curl sqlite bzip2 pulseaudio tcp-wrappers openal-soft yajl jack faad2 flac libao fluidsynth libcdio wavpack libopus mpg123 libmms libmodplug boost icu dbus expat zlib libupnp" | 6 | inherit autotools useradd systemd pkgconfig |
7 | |||
8 | DEPENDS += " \ | ||
9 | alsa-lib \ | ||
10 | libsamplerate0 \ | ||
11 | libsndfile1 \ | ||
12 | libvorbis \ | ||
13 | libogg \ | ||
14 | faad2 \ | ||
15 | ffmpeg \ | ||
16 | curl \ | ||
17 | sqlite \ | ||
18 | bzip2 \ | ||
19 | pulseaudio \ | ||
20 | tcp-wrappers \ | ||
21 | openal-soft \ | ||
22 | yajl \ | ||
23 | jack \ | ||
24 | faad2 \ | ||
25 | flac \ | ||
26 | libao \ | ||
27 | fluidsynth \ | ||
28 | libcdio \ | ||
29 | wavpack \ | ||
30 | libopus \ | ||
31 | mpg123 \ | ||
32 | libmms \ | ||
33 | libmodplug \ | ||
34 | boost \ | ||
35 | icu \ | ||
36 | dbus \ | ||
37 | expat \ | ||
38 | zlib \ | ||
39 | libupnp \ | ||
40 | " | ||
7 | 41 | ||
8 | SRC_URI = " \ | 42 | SRC_URI = " \ |
9 | http://www.musicpd.org/download/${BPN}/0.19/${BP}.tar.xz \ | 43 | http://www.musicpd.org/download/${BPN}/0.19/${BP}.tar.xz \ |
@@ -12,8 +46,6 @@ SRC_URI = " \ | |||
12 | SRC_URI[md5sum] = "fc19f76b512bd471b6af5214965ff7c5" | 46 | SRC_URI[md5sum] = "fc19f76b512bd471b6af5214965ff7c5" |
13 | SRC_URI[sha256sum] = "8305b8bc026f4b6bde28b8dd09bfdddbe5590acf36358eed4d083a396e301730" | 47 | SRC_URI[sha256sum] = "8305b8bc026f4b6bde28b8dd09bfdddbe5590acf36358eed4d083a396e301730" |
14 | 48 | ||
15 | inherit autotools useradd systemd | ||
16 | |||
17 | EXTRA_OECONF = "enable_bzip2=yes" | 49 | EXTRA_OECONF = "enable_bzip2=yes" |
18 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | 50 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" |
19 | 51 | ||
@@ -63,5 +95,3 @@ USERADD_PARAM_${PN} = " \ | |||
63 | --home ${localstatedir}/lib/mpd \ | 95 | --home ${localstatedir}/lib/mpd \ |
64 | --groups audio \ | 96 | --groups audio \ |
65 | --user-group mpd" | 97 | --user-group mpd" |
66 | |||
67 | PNBLACKLIST[mpd] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130612/" | ||