Skip to content

Made a small alteration in de postrm part #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5a950ec
Adjust for OpenPLi4 (upstream)
Aug 4, 2013
57a7d89
Merge branch 'master' into upstream
pieterg Aug 21, 2013
6c7f404
Merge branch 'master' into upstream
Nov 18, 2013
455a975
ppanel: Package PPanel_tutorial.xml into "example" package. Set PACKA…
Jan 6, 2014
b8f0174
assume-gplv2.inc: Use "append" instead of +=
Jan 6, 2014
d4aa087
Update packagegroup-openplugins.bb
Mar 31, 2014
17c1628
Create enigma2-plugin-extensions-analogclock.bb
Mar 31, 2014
036d4b3
Update enigma2-plugin-extensions-analogclock.bb
Mar 31, 2014
717a6e5
openwebif: Sanitize version number
Apr 20, 2014
1e9f84c
python-compression needed for gzip support in OWI
Schimmelreiter May 19, 2014
7f50303
Merge branch 'upstream'
May 22, 2014
2ff0f44
Merge branch 'master' into upstream
May 22, 2014
8f5354b
suspend enigma2-plugin-systemplugins-autoshutdown
Jul 21, 2014
9a993a7
enigma2-plugin-extensions-openwebif: Sort dependency list
Sep 4, 2014
2a2bc9c
enigma2-plugin-extensions-openwebif: Add python-numbers to RDEPENDS
Sep 4, 2014
1249114
e2openplugins: add SeriesPlugin.
eriksl Nov 14, 2014
4cdce53
e2openplugins: add EPGImportFilter.
eriksl Nov 14, 2014
d607745
Revert "e2openplugins: add SeriesPlugin."
eriksl Nov 21, 2014
f3eb178
Revert "e2openplugins: add EPGImportFilter."
eriksl Nov 21, 2014
41ca65f
EPGImportFilter: new attempt at adding to the repo.
eriksl Jan 6, 2015
1eff0a2
EPGImportFilter: add PV and PKGV
eriksl Jan 6, 2015
13017be
EPGImportFilter: add "inherit gitpkgv"
eriksl Jan 6, 2015
8856a8d
openplugins.inc: Fix SRCREV assignment
Feb 21, 2015
8387d82
autobackup: Architecture is "all". Add summary.
Feb 21, 2015
00b2330
Add HetWeer plugin.
eriksl Mar 12, 2015
9be3f59
crossepg: disabled, it breaks the build of non-mips32el targets.
eriksl Dec 11, 2015
4b71282
enigma2-plugin-extensions-openwebif: Use default file permissions
athoik Feb 6, 2016
c899ce9
openplugins.inc: Remove DEPENDS=enigma2
Feb 13, 2016
556df3a
enigma2-plugin-systemplugins-crossepg: Change URL and version
Feb 13, 2016
4864848
openairplay, openwebif: Don't preserve file ownership during install
Feb 13, 2016
701d932
autobouquets and autobouquetsmaker: move here from enigma-plugins.
eriksl Mar 18, 2016
3e07314
autobouquets - add localization (en_GB,ru)
Mar 22, 2016
d8f3cec
Merge pull request #5 from LraiZer/autobouquets
LraiZer Apr 16, 2016
006c457
Revert "suspend enigma2-plugin-systemplugins-autoshutdown"
Taapat Jul 4, 2016
e5e6522
Merge pull request #6 from Taapat/autoshutdown
littlesat Jul 6, 2016
ab845c5
Added the images folder
WanWizard Sep 16, 2016
088a02d
add postrm command
technl Sep 26, 2016
12a3ffe
Update enigma2-plugin-extensions-hetweer.bb
Pedro-Newbie Sep 27, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assume-gplv2.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://../LICENSE.GPLv2;md5=eb723b61539feef013de476e68b5c50a"

SRC_URI += "file://LICENSE.GPLv2"
SRC_URI_append = " file://LICENSE.GPLv2"
5 changes: 4 additions & 1 deletion enigma2-plugin-extensions-autobackup.bb
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
MODULE = "AutoBackup"
DESCRIPTION = "Backup settings automatically"
SUMMARY = "Backup settings and restore them automatically"
DESCRIPTION = "Can create daily backups. Backups created will be restored automaticaly after a new flash."

require openplugins-replace-pli.inc

require openplugins-distutils.inc

PACKAGE_ARCH = "all"

# I spent over 2 hours trying to get the shell file to be executable. Sorry, I just gave up
# and decided that this would be good enough until someone explains how to do this properly
# with distutils.
Expand Down
48 changes: 48 additions & 0 deletions enigma2-plugin-extensions-autobouquets.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
DESCRIPTION = "28.2E stream bouquet downloader"
SUMMARY = "scan dvb data for automatic bouquets creation on Enigma2 STB"
MAINTAINER = "LraiZer"
HOMEPAGE = "https://github.com/LraiZer/AutoBouquets"
SECTION = "extra"
PRIORITY = "optional"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "\
file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb \
file://COPYING;md5=036b9f2d884ff3a35bed6ab09bafff32 \
"

inherit gitpkgv

AUTOBOUQUETS_BRANCH ?= "release"
SRCREV = "${AUTOREV}"
PV = "1.0+git${SRCPV}"
PKGV = "1.0+git${GITPKGV}"
PR = "r2"

INSANE_SKIP_${PN} += "already-stripped"

SRC_URI="git://github.com/LraiZer/AutoBouquets.git;branch=${AUTOBOUQUETS_BRANCH}"

S = "${WORKDIR}/git"

FILES_${PN} = "/usr/lib/enigma2/python/Plugins/Extensions/AutoBouquets"
D_FILES_PN = "${D}${FILES_${PN}}"

EXTRA_OECONF = ""

do_install() {
install -d ${D_FILES_PN}
install -d ${D_FILES_PN}/locale
install -m 755 ${S}/autobouquetsreader ${D_FILES_PN}
install -m 755 ${S}/*.sh ${D_FILES_PN}
install -m 644 ${S}/*.py *.txt *.png ${D_FILES_PN}
install -m 644 ${S}/locale/*.* ${D_FILES_PN}/locale
install -m 644 ${S}/COPYING ${D_FILES_PN}
install -m 644 ${S}/LICENSE ${D_FILES_PN}

install -d ${D_FILES_PN}/locale/en_GB/LC_MESSAGES
install -d ${D_FILES_PN}/locale/ru/LC_MESSAGES
install -m 644 ${S}/locale/en_GB/LC_MESSAGES/*.* ${D_FILES_PN}/locale/en_GB/LC_MESSAGES
install -m 644 ${S}/locale/ru/LC_MESSAGES/*.* ${D_FILES_PN}/locale/ru/LC_MESSAGES
}

15 changes: 15 additions & 0 deletions enigma2-plugin-extensions-epgimportfilter.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
MODULE = "EPGImportFilter"
DESCRIPTION = "EPGImport Filter"

RDEPENDS_${PN} = "\
python-difflib \
python-shell \
"

inherit gitpkgv
PV = "1.0+git${SRCPV}"
PKGV = "1.0+git${GITPKGV}"

require openplugins-distutils.inc

require assume-gplv2.inc
24 changes: 24 additions & 0 deletions enigma2-plugin-extensions-hetweer.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
MODULE = "HetWeer"
DESCRIPTION = "HetWeer plugin"

require openplugins-replace-pli.inc

require openplugins-distutils.inc

require assume-gplv2.inc

PLUGINPATH = "/usr/lib/enigma2/python/Plugins/Extensions/${MODULE}"
do_install() {
install -d ${D}${PLUGINPATH}/Images
cp -r ${S}/plugin/* ${D}${PLUGINPATH}
chmod a+rX ${D}${PLUGINPATH}
}


pkg_postrm_${PN}() {
#!/bin/sh
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/HetWeer
exit 0
}

FILES_${PN} = "${PLUGINPATH}"
2 changes: 1 addition & 1 deletion enigma2-plugin-extensions-openairplay.bb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require openplugins.inc
PLUGINPATH = "/usr/lib/enigma2/python/Plugins/Extensions/${MODULE}"
do_install() {
install -d ${D}${PLUGINPATH}
cp -rp ${S}/plugin/* ${D}${PLUGINPATH}
cp -r --preserve=mode,links ${S}/plugin/* ${D}${PLUGINPATH}
}

FILES_${PN} = "${PLUGINPATH}"
Expand Down
15 changes: 13 additions & 2 deletions enigma2-plugin-extensions-openwebif.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://README;firstline=10;lastline=12;md5=9c14f792d0aeb54e15490a28c89087f7"

DEPENDS = "python-cheetah-native"
RDEPENDS_${PN} = "python-cheetah python-json python-unixadmin python-misc python-pyopenssl python-shell aio-grab python-compression"
RDEPENDS_${PN} = "\
aio-grab \
python-cheetah \
python-compression\
python-json \
python-misc \
python-numbers \
python-pyopenssl \
python-shell \
python-unixadmin \
"

inherit gitpkgv
PV = "1+git${SRCPV}"
Expand All @@ -21,7 +31,8 @@ do_compile() {
PLUGINPATH = "/usr/lib/enigma2/python/Plugins/Extensions/${MODULE}"
do_install_append() {
install -d ${D}${PLUGINPATH}
cp -rp ${S}/plugin/* ${D}${PLUGINPATH}
cp -r ${S}/plugin/* ${D}${PLUGINPATH}
chmod a+rX ${D}${PLUGINPATH}
}

FILES_${PN} = "${PLUGINPATH}"
5 changes: 5 additions & 0 deletions enigma2-plugin-extensions-ppanel.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ require openplugins-replace-pli.inc
require openplugins-distutils.inc

require assume-gplv2.inc

PACKAGE_ARCH = "all"

PACKAGES =+ "${PN}-example"
FILES_${PN}-example = "/etc/ppanel/PPanel_tutorial.xml"
46 changes: 46 additions & 0 deletions enigma2-plugin-systemplugins-autobouquetsmaker.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
SUMMARY = "Automatically build and update bouquets from the DVB stream."
DESCRIPTION = "Automatically build and update bouquets from the DVB stream."
MAINTAINER = "oe-alliance team"
PACKAGE_ARCH = "${MACHINE_ARCH}"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"

inherit autotools-brokensep gitpkgv pythonnative

SRCREV = "${AUTOREV}"
PV = "2.1+git${SRCPV}"
PKGV = "2.1+git${GITPKGV}"
PR = "r2"

SRC_URI = "git://github.com/oe-alliance/AutoBouquetsMaker.git;protocol=git"

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

S = "${WORKDIR}/git"

python populate_packages_prepend() {
enigma2_plugindir = bb.data.expand('${libdir}/enigma2/python/Plugins', d)
do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/[a-zA-Z0-9_]+.*$', 'enigma2-plugin-%s', '%s', recursive=True, match_path=True, prepend=True, extra_depends="enigma2")
do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\.py$', 'enigma2-plugin-%s-src', '%s (source files)', recursive=True, match_path=True, prepend=True, extra_depends="enigma2")
do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\.la$', 'enigma2-plugin-%s-dev', '%s (development)', recursive=True, match_path=True, prepend=True)
do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\.a$', 'enigma2-plugin-%s-staticdev', '%s (static development)', recursive=True, match_path=True, prepend=True)
do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/(.*/)?\.debug/.*$', 'enigma2-plugin-%s-dbg', '%s (debug)', recursive=True, match_path=True, prepend=True)
do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\/.*\.po$', 'enigma2-plugin-%s-po', '%s (translations)', recursive=True, match_path=True, prepend=True)
}

pkg_preinst_${PN}_prepend() {
#!/bin/sh
echo "Checking for an ABM cache file"

if [ -f /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/providers/providers.cache ]; then
rm -f /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/providers/providers.cache > /dev/null 2>&1
echo "Cache file has been removed"
else
echo "No cache file found"
fi
}
10 changes: 5 additions & 5 deletions enigma2-plugin-systemplugins-crossepg.bb
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
DESCRIPTION = "Handle your EPG on enigma2 from various sources (opentv, mhw, xmltv, custom sources)"
HOMEPAGE = "https://github.com/E2OpenPlugins/e2openplugin-CrossEPG"
HOMEPAGE = "https://github.com/oe-alliance/e2openplugin-${MODULE}"
MODULE = "CrossEPG"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4fbd65380cdd255951079008b364516c"

DEPENDS += "libxml2 zlib python"

inherit gitpkgv
SRCREV = ""
PV = "0.6.2+git${SRCPV}"
PKGV = "0.6.2+git${GITPKGV}"
PR = "r0"

inherit python-dir

require openplugins.inc

SRC_URI = "git://github.com/oe-alliance/e2openplugin-${MODULE}.git"
PV = "0.8.1+git${SRCPV}"
PKGV = "0.8.1+git${GITPKGV}"

FILES_${PN} = "/usr/*"
FILES_${PN}-dbg += "/usr/crossepg/scripts/mhw2epgdownloader/.debug"

Expand Down
4 changes: 1 addition & 3 deletions openplugins-distutils.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require openplugins.inc

inherit distutils

DISTUTILS_INSTALL_ARGS = "--root=${D} --install-lib=/usr/lib/enigma2/python/Plugins"
inherit distutils-openplugins
4 changes: 1 addition & 3 deletions openplugins.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
DEPENDS += "enigma2"

SRC_URI = "git://github.com/E2OpenPlugins/e2openplugin-${MODULE}.git;protocol=git"

S="${WORKDIR}/git"

SRCREV_pn-${PN} ?= "${AUTOREV}"
SRCREV = "${AUTOREV}"
10 changes: 8 additions & 2 deletions task-openplugins.bb → packagegroup-openplugins.bb
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
DESCRIPTION = "E2OpenPlugins Task"
PR = "r0"

inherit task
inherit packagegroup

# disabled because it contains mips32el code that breaks the arm build.
# enigma2-plugin-systemplugins-crossepg

DEPENDS = " \
enigma2-plugin-extensions-addstreamurl \
enigma2-plugin-extensions-antilogo \
enigma2-plugin-extensions-autobackup \
enigma2-plugin-extensions-autobouquets \
enigma2-plugin-extensions-bitrate \
enigma2-plugin-extensions-buienradar \
enigma2-plugin-extensions-changerootpassword \
enigma2-plugin-extensions-foreca \
enigma2-plugin-extensions-hetweer \
enigma2-plugin-extensions-meteoitalia2 \
enigma2-plugin-extensions-newsreader \
enigma2-plugin-extensions-nfsserver \
Expand All @@ -27,14 +32,15 @@ DEPENDS = " \
enigma2-plugin-extensions-streaminterface \
enigma2-plugin-extensions-wakeonlan \
enigma2-plugin-systemplugins-autoshutdown \
enigma2-plugin-systemplugins-crossepg \
enigma2-plugin-extensions-setpicon \
enigma2-plugin-extensions-xpower \
enigma2-plugin-extensions-meteoviewer \
enigma2-plugin-extensions-snmpagent \
enigma2-plugin-extensions-systemtools \
enigma2-plugin-extensions-cacheflush \
enigma2-plugin-extensions-analogclock \
enigma2-plugin-extensions-epgimportfilter \
enigma2-plugin-systemplugins-autobouquetsmaker \
"

require assume-gplv2.inc