summaryrefslogtreecommitdiff
path: root/recipes/vdr/vdr_1.7.10.bb
blob: 8cc575709167967925298b34c80e3d9fcde64abb (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
27
28
29
30
31
32
33
34
35
36
37
38
require vdr.inc
PR = "r3"

SRC_URI += " file://fixpaths.patch \
           file://cplusplus.patch \
           file://disable_plugin.patch \
           file://linkerflags.patch \
          "

SRC_URI_append_linux-uclibceabi = " file://libintl.patch "
SRC_URI_append_uclinux-uclibc = " file://libintl.patch "

CFLAGS_append += " -I${STAGING_INCDIR}/freetype2"

PLUGINDIR = "${libdir}/vdr/plugins"

do_install () {
      oe_runmake 'DESTDIR=${D}' \
                 'PREFIX=${prefix}' \
                 'CONFDIR=${sysconfdir}/vdr' \
                 'VIDEODIR=/var/lib/vdr/video' \
                 'PLUGINLIBDIR=${PLUGINDIR}' \
                 'LOCDIR=${datadir}/locale' \
                 install
}

PACKAGES_DYNAMIC += "vdr-plugin-*"

python populate_packages_prepend () {
        plugindir = bb.data.expand('${PLUGINDIR}', d)
        do_split_packages(d, plugindir, '^libvdr-(.*)\.so*', 'libvdr-%s', 'vdr plugin %s',  extra_depends='')
}

FILES_${PN} = "${bindir}/* /var/lib/vdr/conf/* ${sysconfdir}/*"
FILES_${PN}-dbg += "${PLUGINDIR}/.debug/*"

SRC_URI[md5sum] = "c74ee966baca1c47ed6b9e2be3d1639b"
SRC_URI[sha256sum] = "165bfcd811ef92cab50d11a88a76c481e105689438929414d27edfacfb312f52"