diff --git a/packages/addons/addon-depends/dvb-tools-depends/w_scan/package.mk b/packages/addons/addon-depends/dvb-tools-depends/w_scan/package.mk new file mode 100644 index 0000000000..c1734f45e8 --- /dev/null +++ b/packages/addons/addon-depends/dvb-tools-depends/w_scan/package.mk @@ -0,0 +1,38 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="w_scan" +PKG_VERSION="20141122" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://wirbel.htpc-forum.de/w_scan/index2.html" +PKG_URL="http://wirbel.htpc-forum.de/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS_TARGET="toolchain" +PKG_SECTION="tools" +PKG_SHORTDESC="DVBlast is a small channel scan tool to create an channel.conf for VDR" +PKG_LONGDESC="DVBlast is a small channel scan tool to create an channel.conf for VDR" +PKG_AUTORECONF="yes" + +# aml 3.14 is meh +pre_configure_target() { +if [ "$TARGET_ARCH" = "aarch64" ]; then + sed -i 's/DVB_HEADER=0/DVB_HEADER=1/g' $ROOT/$PKG_BUILD/configure* + sed -i 's/HAS_DVB_API5=0/HAS_DVB_API5=1/g' $ROOT/$PKG_BUILD/configure* +fi +} diff --git a/packages/addons/tools/dvb-tools/changelog.txt b/packages/addons/tools/dvb-tools/changelog.txt index f6abfd1747..2ca2a72d41 100644 --- a/packages/addons/tools/dvb-tools/changelog.txt +++ b/packages/addons/tools/dvb-tools/changelog.txt @@ -1,2 +1,5 @@ -8.0.100 +101 +- added w_scan + +100 - Initial Release diff --git a/packages/addons/tools/dvb-tools/package.mk b/packages/addons/tools/dvb-tools/package.mk index c36ba6df4c..a36faf7cc2 100644 --- a/packages/addons/tools/dvb-tools/package.mk +++ b/packages/addons/tools/dvb-tools/package.mk @@ -18,31 +18,28 @@ PKG_NAME="dvb-tools" PKG_VERSION="" -PKG_REV="100" +PKG_REV="101" PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="" PKG_URL="" PKG_DEPENDS_TARGET="toolchain" PKG_SECTION="virtual" -PKG_SHORTDESC="A bundle of dvb tools and programs" -PKG_LONGDESC="This bundle currently includes dvb-apps, dvb-fe-tool and dvblast." +PKG_SHORTDESC="DVB-Tools: is a bundle of dvb tools and programs" +PKG_LONGDESC="This bundle currently includes dvb-apps, dvb-fe-tool, dvblast and w_scan." +PKG_AUTORECONF="no" PKG_IS_ADDON="yes" PKG_ADDON_NAME="DVB Tools" PKG_ADDON_TYPE="xbmc.python.script" -PKG_ADDON_PROVIDES="" - -PKG_AUTORECONF="no" PKG_DEPENDS_TARGET="toolchain \ dvb-apps \ dvb-fe-tool \ - dvblast" + dvblast \ + w_scan" addon() { - mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/ - mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/ # dvb-apps cp -P $(get_build_dir dvb-apps)/util/dvbdate/dvbdate $ADDON_BUILD/$PKG_ADDON_ID/bin @@ -63,5 +60,8 @@ addon() { # dvblast cp -P $(get_build_dir dvblast)/dvblast $ADDON_BUILD/$PKG_ADDON_ID/bin + # w_scan + cp -P $(get_build_dir w_scan)/.$TARGET_NAME/w_scan $ADDON_BUILD/$PKG_ADDON_ID/bin + debug_strip $ADDON_BUILD/$PKG_ADDON_ID/bin }