<commit_before>DESCRIPTION = "Additional plugins for Enigma2"
MAINTAINER = "<NAME> <<EMAIL>>"

PACKAGES_DYNAMIC = "enigma2-plugin-*"

# if you want experimental, use:
SRCREV="87fd2f1120962f553ecb1a88bbee46ed821df975"
SRCDATE="20110215"
BRANCH="master"
PV = "experimental-git${SRCDATE}"

PR = "r0"
SRC_URI="git://schwerkraft.elitedvb.net/enigma2-plugins/enigma2-plugins.git;protocol=git;branch=${BRANCH};tag=${SRCREV}"

EXTRA_OECONF = " \
        BUILD_SYS=${BUILD_SYS} \
        HOST_SYS=${HOST_SYS} \
        STAGING_INCDIR=${STAGING_INCDIR} \
        STAGING_LIBDIR=${STAGING_LIBDIR} \
"

FILES_${PN} += " /usr/share/enigma2 /usr/share/fonts "
FILES_${PN}-meta = "${datadir}/meta"
PACKAGES += "${PN}-meta"
PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit autotools

S = "${WORKDIR}/git"

DEPENDS = "python-pyopenssl python-gdata streamripper python-mutagen python-daap"
DEPENDS += "enigma2"

python populate_packages_prepend () {
	enigma2_plugindir = bb.data.expand('${libdir}/enigma2/python/Plugins', d)

	do_split_packages(d, enigma2_plugindir, '(.*?/.*?)/.*', 'enigma2-plugin-%s', 'Enigma2 Plugin: %s', recursive=True, match_path=True, prepend=True)

	def getControlLines(mydir, d, package):
		import os
		try:<commit_msg>enigma2-plugins: add depends on flickrapi and transmissionrpc<commit_after>DESCRIPTION = "Additional plugins for Enigma2"
MAINTAINER = "<NAME> <<EMAIL>>"

PACKAGES_DYNAMIC = "enigma2-plugin-*"

# if you want experimental, use:
SRCREV="87fd2f1120962f553ecb1a88bbee46ed821df975"
SRCDATE="20110215"
BRANCH="master"
PV = "experimental-git${SRCDATE}"

PR = "r0"
SRC_URI="git://schwerkraft.elitedvb.net/enigma2-plugins/enigma2-plugins.git;protocol=git;branch=${BRANCH};tag=${SRCREV}"

EXTRA_OECONF = " \
        BUILD_SYS=${BUILD_SYS} \
        HOST_SYS=${HOST_SYS} \
        STAGING_INCDIR=${STAGING_INCDIR} \
        STAGING_LIBDIR=${STAGING_LIBDIR} \
"

FILES_${PN} += " /usr/share/enigma2 /usr/share/fonts "
FILES_${PN}-meta = "${datadir}/meta"
PACKAGES += "${PN}-meta"
PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit autotools

S = "${WORKDIR}/git"

DEPENDS = "python-pyopenssl python-gdata streamripper python-mutagen python-daap python-flickrapi python-transmissionrpc"
DEPENDS += "enigma2"

python populate_packages_prepend () {
	enigma2_plugindir = bb.data.expand('${libdir}/enigma2/python/Plugins', d)

	do_split_packages(d, enigma2_plugindir, '(.*?/.*?)/.*', 'enigma2-plugin-%s', 'Enigma2 Plugin: %s', recursive=True, match_path=True, prepend=True)

	def getControlLines(mydir, d, package):
		import os
		try:
{'fraction_non_alphanumeric': 0.16455696202531644, 'fraction_numerical': 0.035205696202531646, 'mean_word_length': 5.484615384615385, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1766531', 'n_tokens_mistral': 1062, 'n_tokens_neox': 991, 'n_words': 147}