libdvdnav: switch to git, remove host paths from libdvdnavmini.pc
[opendreambox.git] / meta-opendreambox / recipes-multimedia / libdvdnav / libdvdnav_git.bb
1 SUMMARY = "DVD navigation multimedia library"
2 SECTION = "libs/multimedia"
3 LICENSE = "GPLv2+"
4 LIC_FILES_CHKSUM = "file://README;beginline=42;endline=43;md5=3f2e6972567beedaa901b809725027ff \
5                     file://src/dvdnav.c;beginline=1;endline=19;md5=8270661e7e05a78e14714e0fb3048b12"
6 DEPENDS = "libdvdread"
7 SRCREV = "7348aa30bca2d86d69f642b7a0347f42863f5743"
8 PV = "4.2.0+git${SRCPV}"
9
10 SRC_URI = "git://git.videolan.org/libdvdnav.git \
11            file://0001-dvdnavmini.pc-link-against-libdvdnavmini-and-drop-DV.patch"
12
13 S = "${WORKDIR}/git"
14
15 inherit autotools lib_package binconfig pkgconfig
16
17 python populate_packages_prepend() {
18     description = bb.data.expand('${DESCRIPTION}', d)
19     libdir = bb.data.expand('${libdir}', d)
20     do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', description + ' (%s)', extra_depends='', allow_links=True)
21 }