aboutsummaryrefslogtreecommitdiff
path: root/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
blob: 61a87642167d5fc29ca6f4c20f84f9635b8aafad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "DVD navigation multimeda library"
SECTION = "libs/multimedia"
LICENSE = "GPLv2+"
DEPENDS = "libdvdread"

SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian \
           file://0001-dvdnavmini.pc-link-against-libdvdnavmini.patch"

SRCREV = "850e513d4fea29b40879378b13003cd677e5214b"
S = "${WORKDIR}/git"

inherit autotools lib_package binconfig pkgconfig

do_unpackpost() {
        QUILT_PATCHES=debian/patches quilt push -a
}

FILES_${PN} = "${libdir}/${PN}${SOLIB}"

addtask unpackpost after do_unpack before do_patch

python populate_packages_prepend () {
        description = bb.data.expand('${DESCRIPTION}', d)
        libdir = bb.data.expand('${libdir}', d)
        do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', description + ' (%s)', extra_depends='', allow_links=True)
}