/
enigma2-plugin-systemplugins-serviceapp.bb
59 lines (46 loc) · 2.28 KB
/
enigma2-plugin-systemplugins-serviceapp.bb
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
DESCRIPTION = "serviceapp service for enigma2"
AUTHOR = "Maroš Ondrášek <mx3ldev@gmail.com>"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
require conf/python/python3-compileall.inc
DEPENDS = "enigma2 uchardet openssl"
RDEPENDS:${PN} = "enigma2 uchardet openssl exteplayer3 ${PYTHON_PN}-json"
RCONFLICTS:${PN} = "enigma2-plugin-extensions-serviceapp"
RREPLACES:${PN} = "enigma2-plugin-extensions-serviceapp"
SRCREV = "${AUTOREV}"
SRC_URI = "git://github.com/oe-mirrors/serviceapp.git;branch=develop;protocol=https \
file://ax-python-devel-dont-check-for-distutils.patch"
SRC_URI:openvix = "git://github.com/OpenViX/serviceapp.git;branch=sigc3;protocol=https"
SRC_URI:openbh = "git://github.com/BlackHole/serviceapp.git;branch=sigc3;protocol=https"
S = "${WORKDIR}/git"
inherit autotools gitpkgv ${PYTHON_PN}native pkgconfig gettext ${@bb.utils.contains("PYTHON_PN", "python3", "python3targetconfig", "", d)}
CXXFLAGS += "${@bb.utils.contains_any("DISTRO_NAME", "openvix openbh", "" , " -std=c++11", d)}"
PV = "0.5+git${SRCPV}"
PKGV = "0.5+git${GITPKGV}"
PR = "r2"
EXTRA_OECONF = "\
BUILD_SYS=${BUILD_SYS} \
HOST_SYS=${HOST_SYS} \
STAGING_INCDIR=${STAGING_INCDIR} \
STAGING_LIBDIR=${STAGING_LIBDIR} \
"
PACKAGES = "${PN} ${PN}-src ${PN}-dbg"
FILES:${PN} = "\
${libdir}/enigma2/python/Plugins/SystemPlugins/ServiceApp/*.pyc \
${libdir}/enigma2/python/Plugins/SystemPlugins/ServiceApp/serviceapp.so \
${libdir}/enigma2/python/Plugins/SystemPlugins/ServiceApp/locale/*/*/*.mo \
"
FILES:${PN}-src = "\
${libdir}/enigma2/python/Plugins/SystemPlugins/ServiceApp/*.py \
${libdir}/enigma2/python/Plugins/SystemPlugins/ServiceApp/locale/*/LC_MESSAGES/*.po \
/usr/src/debug/* \
"
FILES:${PN}-dbg = "\
${libdir}/enigma2/python/Plugins/SystemPlugins/ServiceApp/serviceapp.la \
/usr/src/debug/enigma2-plugin-systemplugins-serviceapp/*/*/*/*/*.cpp \
/usr/src/debug/enigma2-plugin-systemplugins-serviceapp/*/*/*/*/*.h \
/usr/src/debug/enigma2-plugin-systemplugins-serviceapp/*/*/*/*/*.c \
/usr/src/debug/enigma2-plugin-systemplugins-serviceapp/*/*/*/*/*/*.cpp \
/usr/src/debug/enigma2-plugin-systemplugins-serviceapp/*/*/*/*/*/*.h \
/usr/src/debug/enigma2-plugin-systemplugins-serviceapp/*/*/*/*/*/*.c \
"