Compare commits

..

59 Commits

Author SHA1 Message Date
Christian Hewitt
dda7270a12 Merge pull request #2193 from awiouy/8.0-mono-5.4.1
mono: update to 5.4.1.6
2017-11-09 21:45:03 +04:00
awiouy
1a34d0ad78 mono: update to 5.4.1.6 2017-11-09 13:36:59 +01:00
Christian Hewitt
08ec9e2f68 Merge pull request #2145 from awiouy/mono-54-80
mono: update to 5.4.0.201
2017-10-29 15:09:37 +04:00
awiouy
602363bcfc mono: update to 5.4.0.201 2017-10-25 18:58:36 +02:00
Lukas Rusak
191ab596d7 Merge pull request #2033 from chewitt/addons-80
kodi: binary add-on updates for 8.0
2017-10-13 21:06:59 -07:00
chewitt
cd35e13a04 kodi: binary add-on updates for 8.0 2017-10-14 04:50:56 +01:00
Christian Hewitt
6f41051159 Merge pull request #2012 from awiouy/mono-5.2-8.0
mono: update to 5.2.0.224
2017-09-21 11:03:41 +04:00
awiouy
52a7c157e5 mono: update to 5.2.0.224 2017-09-21 07:59:50 +02:00
Christian Hewitt
a065ed50b1 Merge pull request #1972 from awiouy/ls-8.0
librespot: update to ddfc28f
2017-09-14 00:06:34 +04:00
awiouy
8e7e78adae librespot: update to ddfc28f 2017-09-13 21:22:50 +02:00
awiouy
7219358a10 rust: update to 1.20.0 2017-09-13 21:21:09 +02:00
Christian Hewitt
7fe1846de3 Merge pull request #1960 from vpeter4/sundtek-80
sundtek-mediatv: localize ir_disabled parameter
2017-09-11 04:35:14 +04:00
Peter Vicman
3eaed78297 sundtek-mediatv: localize ir_disabled parameter
once a serial number is in config file then ir_disabled parameter needs to be localized below it (it is not global parameter anymore)
2017-09-08 18:31:56 +02:00
Christian Hewitt
8adac83b90 Merge pull request #1887 from awiouy/vnc-8.0
dispmanx_vnc: update to 77b33a6
2017-08-25 07:19:41 +04:00
Christian Hewitt
071ce51ca2 Merge pull request #1889 from awiouy/emby-8.0
emby: update to 3.2.27.0 and rename to Emby Server
2017-08-25 07:18:06 +04:00
Christian Hewitt
a038784590 Merge pull request #1882 from awiouy/mono-5.2-8.0
mono: update to 5.2.0.215
2017-08-23 10:43:28 +04:00
Christian Hewitt
faf6e178ee Merge pull request #1895 from awiouy/inadyn-8.0
inadyn: update to 2.2
2017-08-23 10:43:11 +04:00
awiouy
32ca479021 inadyn: update to 2.2 2017-08-15 21:25:25 +02:00
awiouy
0625e3f705 libconfuse: update to 3.2 2017-08-15 21:23:55 +02:00
awiouy
9b55d0e858 libite: remove package 2017-08-15 21:23:47 +02:00
awiouy
b759d30b1c emby: update to 3.2.27.0 and rename to Emby Server 2017-08-15 16:43:37 +02:00
awiouy
7f89ca5c17 dispmanx_vnc: update to 77b33a6 2017-08-15 16:26:41 +02:00
awiouy
8d97dc984d libvncserver: update to 0.9.11 and depend on libressl 2017-08-15 16:26:32 +02:00
awiouy
7cfdfb28a3 mono: update to 5.2.0.215 2017-08-15 14:28:26 +02:00
Christian Hewitt
17e72d00bf Merge pull request #1841 from Jdiesel87/libreelec-8.0
Emby: update to 3.2.26.0
2017-07-30 09:46:55 +04:00
Jdiesel87
35c3078930 Emby: update to 3.2.26.0 2017-07-28 13:39:42 -06:00
Christian Hewitt
bbe1c0efff Merge pull request #1827 from awiouy/lsrw-8.0
librespot: ux improvements
2017-07-25 08:30:08 +04:00
awiouy
0b5a8acf0e librespot: ux improvements 2017-07-24 18:47:05 +02:00
Christian Hewitt
19662a5e8b Merge pull request #1810 from awiouy/ls-105-8.0
librespot: update to 910974e
2017-07-19 12:04:01 +04:00
awiouy
25aa2cf3bd librespot: update to 910974e 2017-07-19 09:59:52 +02:00
Christian Hewitt
0f15554b24 Merge pull request #1781 from awiouy/librespot-103-8.0
librespot: switch from ffmpegx to pulseaudio to stream to Kodi
2017-07-19 09:44:10 +04:00
awiouy
fc1e611a73 librespot: switch from ffmpegx to pulseaudio to stream to Kodi 2017-07-18 18:49:14 +02:00
Christian Hewitt
c505664799 Merge pull request #1788 from awiouy/ls-103-80
librespot: update system_information_string
2017-07-13 17:24:24 +04:00
awiouy
62b6bb6bde librespot: update system_information_string 2017-07-13 13:50:52 +02:00
Christian Hewitt
938c524add Merge pull request #1771 from CvH/8.0-librespot
librespot: update addon
2017-07-10 00:20:39 +04:00
cvh
f50336148b librespot: update addon 2017-07-09 21:35:58 +02:00
Christian Hewitt
9f9678d199 Merge pull request #1735 from awiouy/librespot-streaming-8.0
librespot: enable streaming to Kodi
2017-07-06 09:47:58 +04:00
awiouy
018ab60699 librespot: enable streaming to Kodi 2017-07-05 13:05:19 +02:00
awiouy
a2900fdacc addon: add xbmc.service.library.xml 2017-07-04 21:08:33 +02:00
Christian Hewitt
9b8d0d7c14 Merge pull request #1733 from thoradia/compress-old
system-tools: bump p7zip and unrar
2017-06-27 11:20:00 +04:00
thoradia
8ecc728f7b system-tools: bump p7zip and unrar 2017-06-27 09:17:52 +02:00
thoradia
4acd8796a5 unrar: update to 5.4.5 2017-06-27 09:17:35 +02:00
thoradia
a9bf69a09d p7zip: update to 16.02 2017-06-27 09:17:18 +02:00
Christian Hewitt
a14fcb506e Merge pull request #1661 from lsellens/libreelec-8.0
peripheral.joystick: fix JOYSTICK_SUPPORT build option
2017-06-23 11:43:27 +04:00
Christian Hewitt
5e5bc0b540 Merge pull request #1707 from awiouy/librespot
librespot: depends on libvorbis built with -fPIC, use proposed upstream commit to disable audio cache
2017-06-23 09:28:32 +04:00
awiouy
4002953f19 librespot: depends on libvorbis built with -fPIC, use proposed upstream commit to disable audio cache 2017-06-20 20:02:19 +02:00
awiouy
5bdb65cffa libvorbis: compile with -fPIC 2017-06-20 19:38:07 +02:00
Christian Hewitt
e855d1ea11 Merge pull request #1705 from codesnake/wetek_hub_ap6255_le8
Backport of #1701 from master to libreelec-8.0 (Add support for AP6255 wireless chip)
2017-06-20 20:13:19 +04:00
Alex Deryskyba
8fba548a46 brcmap6xxx-aml: add support for AP6255 chip 2017-06-20 12:15:58 +02:00
Alex Deryskyba
75170db1aa brcmfmac_sdio-firmware-aml: add support for Broadcom bcm4345c0 bluetooth module built into AP6255 chip 2017-06-20 12:15:51 +02:00
Alex Deryskyba
79c59908cf wlan-firmware-aml: install firmware for AP6255 chip 2017-06-20 12:15:45 +02:00
Alex Deryskyba
6285685de7 wlan-firmware-aml: update package to wlan-firmware-aml-5f5fae7 2017-06-20 12:15:38 +02:00
Alex Deryskyba
8c39d597f7 wlan-firmware-aml: download package source from openwetek repository 2017-06-20 12:15:31 +02:00
Christian Hewitt
97fa217f54 Merge pull request #1622 from awiouy/librespot
librespot: initial addon
2017-06-20 10:00:52 +04:00
awiouy
ab246ebe97 librespot: initial addon 2017-06-20 01:04:28 +02:00
awiouy
4862642f6e rust: initial package 2017-06-19 22:53:11 +02:00
awiouy
4ab656fe61 pyalsaaudio: initial package 2017-06-19 22:53:10 +02:00
awiouy
bb4e3f354d avahi: build libdns_sd without installing it 2017-06-19 17:02:20 +02:00
lsellens
f60c721fa0 peripheral.joystick: fix JOYSTICK_SUPPORT build option 2017-05-28 23:36:00 -05:00
600 changed files with 55643 additions and 175677 deletions

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.service" library="default.py">
<provides>@PKG_ADDON_PROVIDES@</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<broken>
@PKG_ADDON_BROKEN@
</broken>
<platform>all</platform>
<news>
@PKG_ADDON_NEWS@
</news>
<assets>
<icon>resources/icon.png</icon>
<fanart>resources/fanart.png</fanart>
@PKG_ADDON_SCREENSHOT@
</assets>
</extension>
</addon>

View File

@@ -17,16 +17,16 @@ setup_toolchain() {
export CFLAGS="$TARGET_CFLAGS"
export CXXFLAGS="$TARGET_CXXFLAGS"
export LDFLAGS="$TARGET_LDFLAGS"
export PKG_CONFIG="$TOOLCHAIN/bin/pkg-config"
export PKG_CONFIG="$ROOT/$TOOLCHAIN/bin/pkg-config"
export PKG_CONFIG_PATH=""
export PKG_CONFIG_LIBDIR="$SYSROOT_PREFIX/usr/lib/pkgconfig:$SYSROOT_PREFIX/usr/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR="$SYSROOT_PREFIX"
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
export CMAKE_CONF=$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf
export CMAKE_CONF=$ROOT/$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf
export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=/usr"
if [ ! -f $CMAKE_CONF ] ; then
mkdir -p $TOOLCHAIN/etc
mkdir -p $ROOT/$TOOLCHAIN/etc
echo "SET(CMAKE_SYSTEM_NAME Linux)" >> $CMAKE_CONF
echo "SET(CMAKE_SYSTEM_VERSION 1)" >> $CMAKE_CONF
echo "SET(CMAKE_SYSTEM_PROCESSOR $TARGET_ARCH)" >> $CMAKE_CONF
@@ -39,8 +39,8 @@ setup_toolchain() {
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $CMAKE_CONF
fi
export HOST_CC="$TOOLCHAIN/bin/host-gcc"
export HOST_CXX="$TOOLCHAIN/bin/host-g++"
export HOST_CC="$ROOT/$TOOLCHAIN/bin/host-gcc"
export HOST_CXX="$ROOT/$TOOLCHAIN/bin/host-g++"
export HOSTCC="$HOST_CC"
export HOSTCXX="$HOST_CXX"
export CC_FOR_BUILD="$HOST_CC"
@@ -54,8 +54,8 @@ setup_toolchain() {
host|bootstrap)
export DESTIMAGE="host"
export AWK="gawk"
export CC="$TOOLCHAIN/bin/host-gcc"
export CXX="$TOOLCHAIN/bin/host-g++"
export CC="$ROOT/$TOOLCHAIN/bin/host-gcc"
export CXX="$ROOT/$TOOLCHAIN/bin/host-g++"
export CPP="cpp"
export LD="ld"
export AS="as"
@@ -69,14 +69,14 @@ setup_toolchain() {
export CFLAGS="$HOST_CFLAGS"
export CXXFLAGS="$HOST_CXXFLAGS"
export LDFLAGS="$HOST_LDFLAGS"
export PKG_CONFIG="$TOOLCHAIN/bin/pkg-config"
export PKG_CONFIG="$ROOT/$TOOLCHAIN/bin/pkg-config"
export PKG_CONFIG_PATH=""
export PKG_CONFIG_LIBDIR="$TOOLCHAIN/lib/pkgconfig:$TOOLCHAIN/share/pkgconfig"
export PKG_CONFIG_LIBDIR="$ROOT/$TOOLCHAIN/lib/pkgconfig:$ROOT/$TOOLCHAIN/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR=""
unset PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
unset PKG_CONFIG_ALLOW_SYSTEM_LIBS
export CMAKE_CONF=$TOOLCHAIN/etc/cmake-$HOST_NAME.conf
export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=$TOOLCHAIN"
export CMAKE_CONF=$ROOT/$TOOLCHAIN/etc/cmake-$HOST_NAME.conf
export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=$ROOT/$TOOLCHAIN"
if [ ! -f $CMAKE_CONF ] ; then
mkdir -p $TOOLCHAIN/etc
echo "SET(CMAKE_SYSTEM_NAME Linux)" >> $CMAKE_CONF
@@ -85,7 +85,7 @@ setup_toolchain() {
echo "SET(CMAKE_CXX_COMPILER $CXX)" >> $CMAKE_CONF
echo "SET(CMAKE_CPP_COMPILER $CXX)" >> $CMAKE_CONF
echo "SET(CMAKE_AR $AR CACHE FILEPATH "Archiver")" >> $CMAKE_CONF # hum?
echo "SET(CMAKE_FIND_ROOT_PATH $TOOLCHAIN)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH $ROOT/$TOOLCHAIN)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)" >> $CMAKE_CONF
@@ -120,7 +120,7 @@ get_module_dir() {
get_build_dir() {
local _PKG_NAME="$(get_pkg_variable "$1" PKG_NAME)" _PKG_VERSION="$(get_pkg_version "$1")"
if [ -n "$_PKG_NAME" -a -n "$_PKG_VERSION" ]; then
echo $BUILD/${_PKG_NAME}-${_PKG_VERSION}
echo $ROOT/$BUILD/${_PKG_NAME}-${_PKG_VERSION}
fi
}
@@ -182,41 +182,41 @@ add_group() {
do_autoreconf() {
export ACLOCAL_DIR=$SYSROOT_PREFIX/usr/share/aclocal
if [ -e "$TOOLCHAIN/bin/autoconf" ]; then
export AUTOCONF=$TOOLCHAIN/bin/autoconf
if [ -e "$ROOT/$TOOLCHAIN/bin/autoconf" ]; then
export AUTOCONF=$ROOT/$TOOLCHAIN/bin/autoconf
fi
if [ -e "$TOOLCHAIN/bin/automake" ]; then
export AUTOMAKE=$TOOLCHAIN/bin/automake
if [ -e "$ROOT/$TOOLCHAIN/bin/automake" ]; then
export AUTOMAKE=$ROOT/$TOOLCHAIN/bin/automake
fi
if [ -e "$TOOLCHAIN/bin/autopoint" ]; then
export AUTOPOINT=$TOOLCHAIN/bin/autopoint
if [ -e "$ROOT/$TOOLCHAIN/bin/autopoint" ]; then
export AUTOPOINT=$ROOT/$TOOLCHAIN/bin/autopoint
fi
if [ -e "$TOOLCHAIN/bin/libtoolize" ]; then
export LIBTOOLIZE=$TOOLCHAIN/bin/libtoolize
if [ -e "$ROOT/$TOOLCHAIN/bin/libtoolize" ]; then
export LIBTOOLIZE=$ROOT/$TOOLCHAIN/bin/libtoolize
fi
if [ -e "$TOOLCHAIN/bin/intltoolize" ]; then
export INTLTOOLIZE=$TOOLCHAIN/bin/intltoolize
if [ -e "$ROOT/$TOOLCHAIN/bin/intltoolize" ]; then
export INTLTOOLIZE=$ROOT/$TOOLCHAIN/bin/intltoolize
fi
if [ -e "$TOOLCHAIN/bin/aclocal" ]; then
export ACLOCAL="$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
if [ -e "$ROOT/$TOOLCHAIN/bin/aclocal" ]; then
export ACLOCAL="$ROOT/$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
fi
if [ -e "$TOOLCHAIN/bin/autoheader" ]; then
export AUTOHEADER=$TOOLCHAIN/bin/autoheader
if [ -e "$ROOT/$TOOLCHAIN/bin/autoheader" ]; then
export AUTOHEADER=$ROOT/$TOOLCHAIN/bin/autoheader
fi
if [ -e "$TOOLCHAIN/bin/libtool" ]; then
export LIBTOOL=$TOOLCHAIN/bin/libtool
if [ -e "$ROOT/$TOOLCHAIN/bin/libtool" ]; then
export LIBTOOL=$ROOT/$TOOLCHAIN/bin/libtool
fi
if [ -e "$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
if [ -e "$ROOT/$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
mkdir -p $ACLOCAL_DIR
export AUTORECONF="$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
$AUTORECONF $@
fi
}
@@ -329,7 +329,7 @@ dashes="==========================="
linux_config_dir="$PROJECT_DIR/$PROJECT/linux"
fi
if [ ! -e $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
if [ ! -f $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
! ls $linux_config_dir/*/linux.$TARGET_ARCH.conf &>/dev/null; then
check_arch="$check_arch\n $dashes$dashes$dashes"
check_arch="$check_arch\n ERROR: Architecture not found, use a valid Architecture"
@@ -338,7 +338,6 @@ dashes="==========================="
check_arch="$check_arch\n\n Valid Architectures for your project: $PROJECT"
for arch in $linux_config_dir/*.conf $linux_config_dir/*/linux.$TARGET_ARCH.conf; do
[[ ${arch} =~ .*\*.* ]] && continue #ignore unexpanded wildcard
check_arch="$check_arch\n - $(basename $arch | cut -f2 -d".")"
done
echo -e $check_arch
@@ -508,7 +507,7 @@ show_config() {
# strip
debug_strip() {
if [ ! "$DEBUG" = yes ]; then
find $* -type f -executable | xargs $STRIP 2>/dev/null || :
find $* -type f -executable | xargs $STRIP 1>/dev/null || :
fi
}

View File

@@ -28,10 +28,10 @@ TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"
HOST_CPPFLAGS=""
HOST_CFLAGS="-O2 -Wall -pipe -I$TOOLCHAIN/include"
HOST_CFLAGS="-O2 -Wall -pipe -I$ROOT/$TOOLCHAIN/include"
HOST_CXXFLAGS="$HOST_CFLAGS"
HOST_LDFLAGS="-Wl,-rpath,$TOOLCHAIN/lib -L$TOOLCHAIN/lib"
HOST_LIBDIR="$TOOLCHAIN/lib"
HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
HOST_LIBDIR="$ROOT/$TOOLCHAIN/lib"
# work around Ubuntu default C*FLAGS
# see https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
@@ -70,4 +70,4 @@ HOST_CXXFLAGS="$HOST_CXXFLAGS -Wno-format-security"
# default dirs
HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
HOST_INCDIR="$TOOLCHAIN/include /usr/include"
HOST_INCDIR="$ROOT/$TOOLCHAIN/include /usr/include"

View File

@@ -19,9 +19,16 @@ set -e
HOST_NAME=`$LOCAL_CC -dumpmachine`
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$LIBREELEC_VERSION
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
if [ -n "$DEVICE" ]; then
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$LIBREELEC_VERSION
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
fi
else
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
fi
fi
if [ -n "$BUILD_SUFFIX" ]; then
@@ -36,11 +43,11 @@ STAMPS=$BUILD/.stamps
STAMPS_INSTALL=$BUILD/image/.stamps
DOCS=DOCS
TOOLCHAIN=$BUILD/toolchain
SYSROOT_PREFIX=$TOOLCHAIN/$TARGET_NAME/sysroot
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
LIB_PREFIX=$SYSROOT_PREFIX/usr
TARGET_PREFIX=$TOOLCHAIN/bin/$TARGET_NAME-
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
FAKEROOT_SCRIPT=$BUILD/.fakeroot
FAKEROOT_SCRIPT=$ROOT/.fakeroot.$BUILD
if [ -z "$INSTALL" ]; then
INSTALL=$BUILD/image/system
@@ -49,8 +56,8 @@ INSTALL_INIT=$BUILD/image/initramfs/root-image
. config/sources
MAKE="$TOOLCHAIN/bin/make"
MAKEINSTALL="$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
MAKE="$ROOT/$TOOLCHAIN/bin/make"
MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
SED="sed -i"
# set package metadata
@@ -69,19 +76,9 @@ SED="sed -i"
PKG_DEPENDS_BOOTSTRAP=""
PKG_SECTION=""
PKG_SHORTDESC="$1 (autogenerated)"
PKG_LONGDESC="$1 (autogenerated)"
PKG_LONGDESC=""
PKG_IS_ADDON="no"
PKG_PATCH_DIRS=""
PKG_NEED_UNPACK=""
PKG_SHA256=""
PKG_ADDON_BROKEN=""
PKG_ADDON_NAME=""
PKG_ADDON_PROVIDES=""
PKG_ADDON_REQUIRES=""
PKG_ADDON_SCREENSHOT=""
PKG_ADDON_TYPE=""
PKG_DISCLAIMER=""
PKG_MAINTAINER=""
if [ -n "$1" ]; then
_PKG_ROOT_NAME=${1%:*}
@@ -144,7 +141,6 @@ SED="sed -i"
if [ "$PKG_IS_ADDON" = "yes" ] ; then
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME"
PKG_NEED_UNPACK="${PKG_NEED_UNPACK} $(get_pkg_directory $MEDIACENTER)"
fi
# Automatically set PKG_SOURCE_NAME unless it is already defined.
@@ -191,17 +187,17 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
. config/optimize
if [ -z "$CCACHE_DIR" ]; then
export CCACHE_DIR=$BUILD/.ccache
export CCACHE_DIR=$ROOT/$BUILD/.ccache
fi
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
export PKG_CONFIG=$TOOLCHAIN/bin/pkg-config
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
if [ -z "$PATH" -o "$PATH" = "${PATH#$TOOLCHAIN/bin:}" ]; then
export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin:$PATH"
if [ -z "$PATH" -o "$PATH" = "${PATH#$ROOT/$TOOLCHAIN/bin:}" ]; then
export PATH="$ROOT/$TOOLCHAIN/bin:$ROOT/$TOOLCHAIN/sbin:$PATH"
fi
if [ -z "$LD_LIBRARY_PATH" -o "$LD_LIBRARY_PATH" = "${LD_LIBRARY_PATH#$TOOLCHAIN/lib:}" ]; then
export LD_LIBRARY_PATH="$TOOLCHAIN/lib:$LD_LIBRARY_PATH"
if [ -z "$LD_LIBRARY_PATH" -o "$LD_LIBRARY_PATH" = "${LD_LIBRARY_PATH#$ROOT/$TOOLCHAIN/lib:}" ]; then
export LD_LIBRARY_PATH="$ROOT/$TOOLCHAIN/lib:$LD_LIBRARY_PATH"
fi
VERSION_SUFFIX=$TARGET_ARCH

View File

@@ -1,8 +1,9 @@
# VERSION: set full version, use "devel" for development version
LIBREELEC_VERSION="8.2.3"
LIBREELEC_VERSION="devel"
# OS_VERSION: OS Version
OS_VERSION="8.2"
OS_VERSION="8.0"
# ADDON_VERSION: Addon version
ADDON_VERSION="8.2"
ADDON_VERSION="8.1"

View File

@@ -12,8 +12,8 @@
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREETING0="##############################################"
GREETING1="# LibreELEC #"
GREETING2="# https://libreelec.tv #"
GREETING1="# LibreELEC #"
GREETING2="# http://libreelec.tv #"
GREETING3="##############################################"
GREETING4=""
@@ -136,7 +136,7 @@
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy vmware"
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy"
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
@@ -158,13 +158,13 @@
INITRAMFS_PARTED_SUPPORT="no"
# build with swap support (yes / no)
SWAP_SUPPORT="yes"
SWAP_SUPPORT="no"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
SWAPFILESIZE="128"
SWAPFILESIZE="256"
# build with installer (yes / no)
INSTALLER_SUPPORT="yes"
@@ -195,4 +195,4 @@
# Default size of system partition, in MB, eg. 512
SYSTEM_SIZE=512
# Default system partition offset, in sectors, eg. 2048
SYSTEM_PART_START=8192
SYSTEM_PART_START=2048

View File

@@ -1,37 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="ccid"
PKG_VERSION="1.4.28"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://pcsclite.alioth.debian.org/ccid.html"
PKG_URL="https://alioth.debian.org/frs/download.php/latestfile/112/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain pcsc-lite"
PKG_SECTION="driver"
PKG_SHORTDESC="CCID free software driver"
PKG_LONGDESC="CCID free software driver"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --enable-twinserial"
make_target() {
make
make -C src/ Info.plist
}

View File

@@ -57,12 +57,12 @@ pre_make_target() {
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
export LDFLAGS="-w -extldflags -static -X github.com/docker/containerd.GitCommit=${PKG_VERSION} -extld $CC"
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$PKG_BUILD.gopath:$PKG_BUILD/vendor/
export GOROOT=$TOOLCHAIN/lib/golang
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$ROOT/$PKG_BUILD.gopath:$ROOT/$PKG_BUILD/vendor/
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
ln -fs $PKG_BUILD $PKG_BUILD/vendor/src/github.com/docker/containerd
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/vendor/src/github.com/docker/containerd
}
make_target() {

View File

@@ -1,33 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="blindscan-s2"
PKG_VERSION="94cb626"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://bitbucket.org/majortom/blindscan-s2"
PKG_URL="https://github.com/persianpros/blindscan-s2/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="blindscan-s2 is a program to blindscan digital satellite signals"
PKG_LONGDESC="blindscan-s2 is a program to blindscan digital satellite signals"
PKG_AUTORECONF="no"
makeinstall_target() {
:
}

View File

@@ -29,7 +29,3 @@ PKG_SECTION="tools"
PKG_SHORTDESC="Digitial Video Broadcasting (DVB) applications"
PKG_LONGDESC="Applications and utilities geared towards the initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC standards."
PKG_AUTORECONF="no"
pre_make_target() {
export PERL_USE_UNSAFE_INC=1
}

View File

@@ -19,13 +19,13 @@
################################################################################
PKG_NAME="dvb-fe-tool"
PKG_VERSION="326060c"
PKG_VERSION="1388a04"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://linuxtv.org/"
PKG_URL="https://git.linuxtv.org/cgit.cgi/v4l-utils.git/snapshot/$PKG_VERSION.tar.xz"
PKG_SOURCE_DIR="$PKG_VERSION*"
PKG_DEPENDS_TARGET="toolchain systemd"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="dvb-fe-tool: Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
PKG_LONGDESC="Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
@@ -42,17 +42,17 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--without-libintl-prefix"
post_patch() {
mkdir -p $PKG_BUILD/build-aux/
touch $PKG_BUILD/build-aux/config.rpath
touch $PKG_BUILD/libdvbv5-po/Makefile.in.in
touch $PKG_BUILD/v4l-utils-po/Makefile.in.in
mkdir -p $ROOT/$PKG_BUILD/build-aux/
touch $ROOT/$PKG_BUILD/build-aux/config.rpath
touch $ROOT/$PKG_BUILD/libdvbv5-po/Makefile.in.in
touch $ROOT/$PKG_BUILD/v4l-utils-po/Makefile.in.in
}
make_target() {
cd $PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
make CFLAGS="$TARGET_CFLAGS"
cd $PKG_BUILD/.$TARGET_NAME/utils/dvb
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/utils/dvb
make CFLAGS="$TARGET_CFLAGS"
}

View File

@@ -1,33 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="dvbsnoop"
PKG_VERSION="c1ec72f"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://dvbsnoop.sourceforge.net/"
PKG_URL="https://github.com/persianpros/dvbsnoop/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
PKG_AUTORECONF="yes"
makeinstall_target() {
:
}

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="mumudvb"
PKG_VERSION="b3c9ae7"
PKG_VERSION="fa9ff6e"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://mumudvb.net/"

View File

@@ -1,34 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="szap-s2"
PKG_VERSION="69ff358"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
PKG_URL="https://bitbucket.org/CrazyCat/szap-s2/get/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="CrazyCat-${PKG_NAME}-${PKG_VERSION}*"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
PKG_LONGDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
PKG_AUTORECONF="no"
makeinstall_target() {
:
}

View File

@@ -1,34 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="tune-s2"
PKG_VERSION="60cc4aa"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
PKG_URL="https://bitbucket.org/CrazyCat/tune-s2/get/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="CrazyCat-${PKG_NAME}-${PKG_VERSION}*"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="tune-s2 is a small linux app to be able to tune a dvb devices"
PKG_LONGDESC="tune-s2 is a small linux app to be able to tune a dvb devices"
PKG_AUTORECONF="no"
makeinstall_target() {
:
}

View File

@@ -31,7 +31,7 @@ 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' $PKG_BUILD/configure*
sed -i 's/HAS_DVB_API5=0/HAS_DVB_API5=1/g' $PKG_BUILD/configure*
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
}

View File

@@ -0,0 +1,107 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="ffmpegx"
PKG_VERSION="libreelec"
PKG_REV="9"
PKG_LICENSE="LGPLv2.1+"
PKG_SITE="https://ffmpeg.org"
PKG_DEPENDS_TARGET="toolchain ffmpeg lame x264"
PKG_LONGDESC="FFmpeg built static with additional features"
pre_configure_target() {
cd "$ROOT/$PKG_BUILD"
rm -rf ".$TARGET_NAME"
cp -PR $(get_build_dir ffmpeg)/* .
make clean
# ffmpeg builds better with these options
strip_gold
strip_lto
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
CFLAGS="-DRPI=1 -I$SYSROOT_PREFIX/usr/include/IL -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS"
FFMPEG_LIBS="-lbcm_host -ldl -lmmal -lmmal_core -lmmal_util -lvchiq_arm -lvcos -lvcsm"
FFMPEG_RPI_HADE="--enable-mmal --enable-omx-rpi"
fi
# ffmpeg does not build with libx264 on aarch64
if [ "$TARGET_ARCH" != "aarch64" ]; then
FFMPEG_X264="--enable-libx264"
fi
if [ "$TARGET_ARCH" == "arm" ]; then
FFMPEG_ARM_AO="--enable-hardcoded-tables"
fi
}
configure_target() {
./configure \
\
`#Licensing options` \
--enable-gpl \
\
`#Documentation options` \
--disable-doc \
\
`#Hardware accelerated decoding encoding` \
$FFMPEG_RPI_HADE \
\
`#External library support` \
--enable-libmp3lame \
$FFMPEG_X264 \
--enable-openssl \
\
`#Toolchain options` \
--arch="$TARGET_ARCH" \
--cpu="$TARGET_CPU" \
--cross-prefix="$TARGET_PREFIX" \
--enable-cross-compile \
--sysroot="$SYSROOT_PREFIX" \
--sysinclude="$SYSROOT_PREFIX/usr/include" \
--target-os="linux" \
--nm="$NM" \
--ar="$AR" \
--as="$CC" \
--cc="$CC" \
--ld="$CC" \
--pkg-config="$ROOT/$TOOLCHAIN/bin/pkg-config" \
--host-cc="$HOST_CC" \
--host-cflags="$HOST_CFLAGS" \
--host-ldflags="$HOST_LDFLAGS" \
--host-libs="-lm" \
--extra-cflags="$CFLAGS" \
--extra-ldflags="$LDFLAGS" \
--extra-libs="$FFMPEG_LIBS" \
--extra-version="x" \
--enable-pic \
\
`#Advanced options` \
$FFMPEG_ARM_AO \
}
makeinstall_target() {
make install DESTDIR=$INSTALL
}
post_makeinstall_target() {
for ff in $INSTALL/usr/local/bin/*; do mv $ff ${ff}x; done
rm -fr $INSTALL/usr/local/include
rm -fr $INSTALL/usr/local/share/ffmpeg/examples
}

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="imagemagick"
PKG_VERSION="7.0.7-1"
PKG_VERSION="7.0.5-7"
PKG_LICENSE="http://www.imagemagick.org/script/license.php"
PKG_SITE="http://www.imagemagick.org/"
PKG_URL="https://github.com/ImageMagick/ImageMagick/archive/$PKG_VERSION.tar.gz"

View File

@@ -17,17 +17,15 @@
################################################################################
PKG_NAME="x264"
PKG_VERSION="snapshot-20171015-2245"
PKG_VERSION="snapshot-20170524-2245-stable"
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org/developers/x264.html"
PKG_URL="https://download.videolan.org/x264/snapshots/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="multimedia"
PKG_LONGDESC="x264"
PKG_AUTORECONF="no"
pre_configure_target() {
cd $PKG_BUILD
cd $ROOT/$PKG_BUILD
rm -rf .$TARGET_NAME
}

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,17 +17,19 @@
################################################################################
PKG_NAME="enet"
PKG_VERSION="e33ca1d"
PKG_VERSION="1.3.13"
PKG_ARCH="any"
PKG_LICENSE=""
PKG_SITE="https://github.com/cgutman/enet/"
PKG_URL="https://github.com/cgutman/enet/archive/$PKG_VERSION.tar.gz"
PKG_SITE=""
PKG_URL="http://enet.bespin.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="network"
PKG_SHORTDESC="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol)"
PKG_LONGDESC="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol)"
PKG_IS_ADDON="no"
PKG_USE_CMAKE="no"
PKG_AUTORECONF="yes"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"

View File

@@ -1,29 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="fdk-aac"
PKG_VERSION="0.1.5"
PKG_SHA256="ff53d1d01cacc29c071e23192dfefa93bdbeaf775fc5d296259b4859d0306b79"
PKG_ARCH="any"
PKG_LICENSE="other"
PKG_SITE="https://sourceforge.net/projects/opencore-amr/"
PKG_URL="https://github.com/mstorsjo/fdk-aac/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="multimedia"
PKG_LONGDESC="A standalone library of the Fraunhofer FDK AAC code from Android."
PKG_AUTORECONF="yes"

View File

@@ -1,61 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="libvpx"
PKG_VERSION="1.6.1"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="https://www.webmproject.org"
PKG_URL="https://github.com/webmproject/libvpx/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain yasm:host"
PKG_SECTION="multimedia"
PKG_SHORTDESC="WebM VP8/VP9 Codec SDK"
PKG_LONGDESC="The WebM Project is dedicated to developing a high-quality, open video format for the web that's freely available to everyone."
PKG_AUTORECONF="no"
configure_target() {
case $ARCH in
aarch64)
TARGET_NAME_LIBVPX="arm64-linux-gcc"
;;
arm)
TARGET_NAME_LIBVPX="armv7-linux-gcc"
;;
x86_64)
TARGET_NAME_LIBVPX="x86_64-linux-gcc"
;;
esac
$PKG_CONFIGURE_SCRIPT --prefix=/usr \
--extra-cflags="$CFLAGS" \
--as=yasm \
--target=$TARGET_NAME_LIBVPX \
--disable-docs \
--disable-examples \
--disable-shared \
--disable-tools \
--disable-unit-tests \
--disable-vp8-decoder \
--disable-vp9-decoder \
--enable-ccache \
--enable-pic \
--enable-static \
--enable-vp8 \
--enable-vp9
}

View File

@@ -1,33 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="x265"
PKG_VERSION="2.5"
PKG_ARCH="x86_64"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/videolan/x265"
PKG_URL="https://github.com/videolan/x265/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="multimedia"
PKG_LONGDESC="x265 is a H.265/HEVC video encoder application library"
PKG_AUTORECONF="no"
pre_configure_target() {
LDFLAGS="$LDFLAGS -ldl"
cmake -G "Unix Makefiles" ./source
}

View File

@@ -1,190 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="ffmpegx"
PKG_VERSION="3.4"
PKG_ARCH="any"
PKG_LICENSE="LGPLv2.1+"
PKG_SITE="https://ffmpeg.org"
PKG_URL="https://github.com/FFmpeg/FFmpeg/archive/n${PKG_VERSION}.tar.gz"
PKG_SOURCE_DIR="FFmpeg-n${PKG_VERSION}"
PKG_DEPENDS_TARGET="toolchain bzip2 fdk-aac libvorbis openssl opus x264 x265 zlib"
PKG_SECTION="multimedia"
PKG_LONGDESC="FFmpegx is an complete FFmpeg build to support encoding and decoding"
PKG_AUTORECONF="no"
# Dependencies
get_graphicdrivers
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver"
fi
# ARMv6 is no longer supported by libvpx
if [ "$PROJECT" != "RPi" -a "$PROJECT" != "Slice" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libvpx"
fi
pre_configure_target() {
cd $PKG_BUILD
rm -rf .$TARGET_NAME
# ffmpeg builds better with these options
strip_gold
strip_lto
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
CFLAGS="-DRPI=1 -I$SYSROOT_PREFIX/usr/include/IL -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS"
PKG_FFMPEG_LIBS="-lbcm_host -ldl -lmmal -lmmal_core -lmmal_util -lvchiq_arm -lvcos -lvcsm"
fi
if [ "$TARGET_ARCH" == "arm" ]; then
PKG_FFMPEG_ARM_AO="--enable-hardcoded-tables"
fi
# HW encoders
# RPi 0-3
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
PKG_FFMPEG_HW_ENCODERS_RPi="\
`#Video encoders` \
--enable-omx-rpi \
--enable-mmal \
--enable-encoder=h264_omx \
\
`#Video hwaccel` \
--enable-hwaccel=h264_mmal \
--enable-hwaccel=mpeg2_mmal \
--enable-hwaccel=mpeg4_mmal \
--enable-hwaccel=vc1_mmal"
fi
# Generic
if [[ "$TARGET_ARCH" = "x86_64" ]]; then
PKG_FFMPEG_HW_ENCODERS_GENERIC="\
`#Video encoders` \
--enable-encoder=h264_nvenc \
--enable-encoder=h264_vaapi \
--enable-encoder=hevc_nvenc \
--enable-encoder=hevc_vaapi \
--enable-encoder=mjpeg_vaapi \
--enable-encoder=mpeg2_vaapi \
--enable-encoder=vp8_vaapi \
--enable-encoder=vp9_vaapi \
\
`#Video hwaccel` \
--enable-hwaccel=h263_vaapi \
--enable-hwaccel=h264_vaapi \
--enable-hwaccel=hevc_vaapi \
--enable-hwaccel=mpeg2_vaapi \
--enable-hwaccel=mpeg4_vaapi \
--enable-hwaccel=vc1_vaapi \
--enable-hwaccel=vp9_vaapi \
--enable-hwaccel=wmv3_vaapi"
fi
# Encoders
PKG_FFMPEG_ENCODERS="\
`#Video encoders` \
--enable-libvpx \
--enable-encoder=libvpx_vp8 \
--enable-encoder=libvpx_vp9 \
--enable-libx264 \
--enable-encoder=x264 \
--enable-libx265 \
--enable-encoder=x265 \
\
`#Audio encoders` \
--enable-encoder=ac3 \
--enable-encoder=eac3 \
--enable-libfdk-aac \
--enable-encoder=libfdk-aac \
--enable-encoder=flac \
--enable-libmp3lame \
--enable-encoder=libmp3lame \
--enable-libopus \
--enable-encoder=libopus \
--enable-libvorbis \
--enable-encoder=libvorbis"
}
configure_target() {
./configure \
\
`#Programs to build` \
--enable-ffmpeg \
--disable-ffplay \
--enable-ffprobe \
--disable-ffserver \
\
`#Static and Shared` \
--enable-static \
--disable-shared \
\
`#Licensing options` \
--enable-gpl \
--enable-nonfree \
\
`#Documentation options` \
--disable-doc \
\
`#Hardware accelerated decoding encoding` \
$PKG_FFMPEG_HW_ENCODERS_RPi \
$PKG_FFMPEG_HW_ENCODERS_GENERIC \
\
`#General options` \
--enable-avresample \
\
`#Toolchain options` \
--arch="$TARGET_ARCH" \
--cpu="$TARGET_CPU" \
--cross-prefix="$TARGET_PREFIX" \
--enable-cross-compile \
--sysroot="$SYSROOT_PREFIX" \
--sysinclude="$SYSROOT_PREFIX/usr/include" \
--target-os="linux" \
--nm="$NM" \
--ar="$AR" \
--as="$CC" \
--cc="$CC" \
--ld="$CC" \
--pkg-config="$TOOLCHAIN/bin/pkg-config" \
--host-cc="$HOST_CC" \
--host-cflags="$HOST_CFLAGS" \
--host-ldflags="$HOST_LDFLAGS" \
--host-extralibs="-lm" \
--extra-cflags="$CFLAGS" \
--extra-ldflags="$LDFLAGS" \
--extra-libs="$PKG_FFMPEG_LIBS" \
--extra-version="x" \
--enable-pic \
--enable-openssl \
\
`#Advanced options` \
$PKG_FFMPEG_ARM_AO \
}
makeinstall_target() {
make install DESTDIR="$INSTALL/../.INSTALL_PKG"
}
post_makeinstall_target() {
for ff in "$INSTALL/../.INSTALL_PKG/usr/local/bin/"*; do mv "$ff" "${ff}x"; done
}

View File

@@ -42,22 +42,22 @@ PKG_AUTORECONF="no"
configure_host() {
export GOOS=linux
export GOROOT_FINAL=$TOOLCHAIN/lib/golang
export GOROOT_FINAL=$ROOT/$TOOLCHAIN/lib/golang
export GOROOT_BOOTSTRAP=/usr/lib/golang
export GOARCH=amd64
}
make_host() {
cd $PKG_BUILD/src
cd $ROOT/$PKG_BUILD/src
bash make.bash --no-banner
}
pre_makeinstall_host() {
# need to cleanup old golang version when updating to a new version
rm -rf $TOOLCHAIN/lib/golang
rm -rf $ROOT/$TOOLCHAIN/lib/golang
}
makeinstall_host() {
mkdir -p $TOOLCHAIN/lib/golang
cp -av $PKG_BUILD/* $TOOLCHAIN/lib/golang/
mkdir -p $ROOT/$TOOLCHAIN/lib/golang
cp -av $ROOT/$PKG_BUILD/* $ROOT/$TOOLCHAIN/lib/golang/
}

View File

@@ -32,7 +32,7 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_path_GLIB_GENMARSHAL=$TOOLCHAIN/bin/glib-genmarshal \
PKG_CONFIGURE_OPTS_TARGET="ac_cv_path_GLIB_GENMARSHAL=$ROOT/$TOOLCHAIN/bin/glib-genmarshal \
--disable-glibtest \
--enable-modules \
--enable-explicit-deps=no \

View File

@@ -35,7 +35,7 @@ PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--with-cross-build=$PKG_BUILD/.$HOST_NAME"
--with-cross-build=$ROOT/$PKG_BUILD/.$HOST_NAME"
PKG_CONFIGURE_SCRIPT="source/configure"

View File

@@ -38,7 +38,7 @@ PKG_CONFIGURE_OPTS_TARGET="--prefix=$SYSROOT_PREFIX/usr \
pre_configure_target() {
# serdisplib fails to build in subdirs
cd $PKG_BUILD
cd $ROOT/$PKG_BUILD
rmdir .$TARGET_NAME
# use libusb-config from sysroot

View File

@@ -22,7 +22,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.libimobiledevice.org"
PKG_URL="http://www.libimobiledevice.org/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libusbmuxd openssl"
PKG_DEPENDS_TARGET="toolchain libusbmuxd libressl"
PKG_SECTION="libs"
PKG_SHORTDESC="libimobiledevice is a cross-platform software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices"
PKG_LONGDESC="libimobiledevice is a cross-platform software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices"
@@ -34,5 +34,5 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-largefile"
post_makeinstall_target() {
cp $PKG_BUILD/common/utils.h $SYSROOT_PREFIX/usr/include/libimobiledevice/
cp $ROOT/$PKG_BUILD/common/utils.h $SYSROOT_PREFIX/usr/include/libimobiledevice/
}

View File

@@ -58,9 +58,9 @@ pre_make_target() {
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
export LDFLAGS="-extld $CC"
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$PKG_BUILD.gopath
export GOROOT=$TOOLCHAIN/lib/golang
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$ROOT/$PKG_BUILD.gopath
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
}

View File

@@ -38,7 +38,7 @@ configure_target() {
}
make_target() {
export CARGO_HOME="$TOOLCHAIN/.cargo"
export CARGO_HOME="$ROOT/$TOOLCHAIN/.cargo"
export RUSTUP_HOME="$CARGO_HOME"
export PATH="$CARGO_HOME/bin:$PATH"
rm -rf "$CARGO_HOME"
@@ -65,8 +65,8 @@ linker = "$CC"
EOF
cat <<'EOF' >"$CARGO_HOME/env"
export CARGO_HOME="$TOOLCHAIN/.cargo"
export CARGO_TARGET_DIR="$PKG_BUILD/.$TARGET_NAME"
export CARGO_HOME="$ROOT/$TOOLCHAIN/.cargo"
export CARGO_TARGET_DIR="$ROOT/$PKG_BUILD/.$TARGET_NAME"
export PATH="$CARGO_HOME/bin:$PATH"
export RUSTUP_HOME="$CARGO_HOME"
mkdir -p "$CARGO_TARGET_DIR"

View File

@@ -23,7 +23,7 @@ PKG_LICENSE="GPL"
PKG_SITE="https://libvnc.github.io/"
PKG_URL="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="libvncserver-LibVNCServer-$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng openssl"
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng libressl"
PKG_SECTION="libs"
PKG_SHORTDESC="LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program."
PKG_LONGDESC="LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program."

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,15 +17,17 @@
################################################################################
PKG_NAME="moonlight-common-c"
PKG_VERSION="957b1de"
PKG_VERSION="1d058cb"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/moonlight-stream/moonlight-common-c"
PKG_URL="https://github.com/moonlight-stream/moonlight-common-c/archive/${PKG_VERSION}.tar.gz"
PKG_SITE="https://github.com/irtimmer/moonlight-common-c"
PKG_URL="https://github.com/irtimmer/moonlight-common-c/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION=""
PKG_SHORTDESC="Shared C code for the implementation of Nvidia's GameStream protocol"
PKG_LONGDESC="Shared C code for the implementation of Nvidia's GameStream protocol"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
make_target() {

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="moonlight-embedded"
PKG_VERSION="82b956a"
PKG_VERSION="9301898"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/irtimmer/moonlight-embedded"
@@ -26,6 +26,8 @@ PKG_DEPENDS_TARGET="toolchain curl libcec pulseaudio ffmpeg systemd alsa-lib moo
PKG_SECTION=""
PKG_SHORTDESC="Gamestream client for embedded systems"
PKG_LONGDESC="Moonlight Embedded is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for Linux"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
FREESCALE_V4L_INCLUDE=""
@@ -43,7 +45,7 @@ fi
PKG_CMAKE_OPTS_TARGET="$FREESCALE_V4L_INCLUDE"
pre_build_target() {
cp -a $(get_build_dir moonlight-common-c)/* $PKG_BUILD/third_party/moonlight-common-c
cp -a $(get_build_dir moonlight-common-c)/* $ROOT/$PKG_BUILD/third_party/moonlight-common-c
}
pre_configure_target() {

View File

@@ -5,8 +5,8 @@ diff -Naur a/CMakeLists.txt b/CMakeLists.txt
set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS})
target_include_directories(moonlight PRIVATE ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS})
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS})
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
add_subdirectory(docs)

View File

@@ -5,8 +5,8 @@ diff -Naur a/CMakeLists.txt b/CMakeLists.txt
set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS})
target_include_directories(moonlight PRIVATE ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} pthread m)
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} pthread m)
add_subdirectory(docs)

View File

@@ -1,11 +0,0 @@
--- a/libgamestream/CMakeLists.txt
+++ b/libgamestream/CMakeLists.txt
@@ -27,7 +27,7 @@ set_target_properties(moonlight-common P
target_include_directories(gamestream PRIVATE ../third_party/moonlight-common-c/src ../third_party/h264bitstream ${AVAHI_INCLUDE_DIRS} ${LIBUUID_INCLUDE_DIRS})
target_include_directories(moonlight-common PRIVATE ../third_party/moonlight-common-c/reedsolomon ${ENET_INCLUDE_DIRS})
target_link_libraries(gamestream ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ${EXPAT_LIBRARIES} ${AVAHI_LIBRARIES} ${LIBUUID_LIBRARIES})
-target_link_libraries(moonlight-common ${ENET_LIBRARIES})
+target_link_libraries(moonlight-common ${ENET_LIBRARIES} ${OPENSSL_LIBRARIES})
target_link_libraries(gamestream ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})

View File

@@ -53,5 +53,5 @@ post_makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/include/MediaInfo/$i/
cp -aP ../../../Source/MediaInfo/$i/*.h $SYSROOT_PREFIX/usr/include/MediaInfo/$i/
done
cp -P libmediainfo-config $TOOLCHAIN/bin
cp -P libmediainfo-config $ROOT/$TOOLCHAIN/bin
}

View File

@@ -50,5 +50,5 @@ post_makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/include/ZenLib/$i/
cp -aP ../../../Source/ZenLib/$i/*.h $SYSROOT_PREFIX/usr/include/ZenLib/$i/
done
cp -P libzen-config $TOOLCHAIN/bin
cp -P libzen-config $ROOT/$TOOLCHAIN/bin
}

View File

@@ -29,5 +29,5 @@ PKG_LONGDESC="OpenCaster is a free and open source MPEG2 transport stream data g
PKG_AUTORECONF="no"
pre_makeinstall_target() {
mkdir -p $PKG_BUILD/.install_pkg
mkdir -p $ROOT/$PKG_BUILD/.install_pkg
}

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,12 +17,12 @@
################################################################################
PKG_NAME="squeezelite"
PKG_VERSION="e92c09c"
PKG_VERSION="a3d95ec"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/ralph-irving/squeezelite"
PKG_URL="https://github.com/ralph-irving/squeezelite/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr libogg"
PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr"
PKG_SECTION="tools"
PKG_SHORTDESC="squeezelite"
PKG_LONGDESC="A client for the Logitech Media Server"
@@ -31,9 +31,9 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_make_target() {
OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL"
OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT"
CFLAGS="$CFLAGS $OPTS"
LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt -lFLAC -lmad -lvorbisfile -lfaad -lmpg123 -lvorbis -logg"
LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt -lFLAC -lmad -lvorbisfile -lfaad -lmpg123"
}
makeinstall_target() {

View File

@@ -22,7 +22,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.irssi.org/"
PKG_URL="https://github.com/irssi-import/irssi/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain glib netbsd-curses openssl"
PKG_DEPENDS_TARGET="toolchain glib netbsd-curses libressl"
PKG_SECTION="tools"
PKG_SHORTDESC="IRC client"
PKG_LONGDESC="Irssi is a terminal based IRC client for UNIX systems"
@@ -40,7 +40,7 @@ PKG_CONFIGURE_OPTS_TARGET="--with-sysroot=$SYSROOT_PREFIX \
--without-sco"
pre_configure_target() {
export CFLAGS="$CFLAGS -I$PKG_BUILD"
export CFLAGS="$CFLAGS -I$ROOT/$PKG_BUILD"
export LIBS="-ltermcap"
}

View File

@@ -22,7 +22,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://lftp.yar.ru/"
PKG_URL="http://lftp.yar.ru/ftp/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain readline openssl zlib"
PKG_DEPENDS_TARGET="toolchain readline libressl zlib"
PKG_SECTION="tools"
PKG_SHORTDESC="ftp client"
PKG_LONGDESC="LFTP is a sophisticated ftp/http client, and a file transfer program supporting a number of network protocols"

View File

@@ -38,7 +38,7 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
pre_configure_target() {
# nmap fails to build in subdirs
cd $PKG_BUILD
cd $ROOT/$PKG_BUILD
rm -rf .$TARGET_NAME
export CPPFLAGS="$CPPFLAGS -Iliblua"

View File

@@ -38,5 +38,5 @@ make_host() {
}
makeinstall_host() {
cp ninja $TOOLCHAIN/bin/
cp ninja $ROOT/$TOOLCHAIN/bin/
}

View File

@@ -37,8 +37,8 @@ if [ "$TARGET_ARCH" = "x86_64" ] ; then
fi
PKG_CONFIGURE_OPTS_TARGET="--with-pthreads $TARGET_USE_64"
PKG_MAKE_OPTS_TARGET="NSINSTALL=$TOOLCHAIN/bin/nsinstall"
PKG_MAKEINSTALL_OPTS_TARGET="NSINSTALL=$TOOLCHAIN/bin/nsinstall"
PKG_MAKE_OPTS_TARGET="NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall"
PKG_MAKEINSTALL_OPTS_TARGET="NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall"
configure_target() {
cd $(get_build_dir nss)/nspr

View File

@@ -34,7 +34,7 @@ PKG_AUTORECONF="no"
MAKEFLAGS=-j1
make_host() {
cd $PKG_BUILD/nss
cd $ROOT/$PKG_BUILD/nss
[ "$TARGET_ARCH" = "x86_64" ] && export USE_64=1
@@ -42,15 +42,15 @@ make_host() {
}
makeinstall_host() {
cp $PKG_BUILD/nss/coreconf/nsinstall/*/nsinstall $TOOLCHAIN/bin
cp $ROOT/$PKG_BUILD/nss/coreconf/nsinstall/*/nsinstall $ROOT/$TOOLCHAIN/bin
}
post_makeinstall_host() {
rm -rf $PKG_BUILD/nss/coreconf/nsinstall/Linux*
rm -rf $ROOT/$PKG_BUILD/nss/coreconf/nsinstall/Linux*
}
make_target() {
cd $PKG_BUILD/nss
cd $ROOT/$PKG_BUILD/nss
[ "$TARGET_ARCH" = "x86_64" ] && TARGET_USE_64="USE_64=1"
@@ -59,14 +59,14 @@ make_target() {
USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \
OS_TEST=$TARGET_ARCH \
NSS_TESTS="dummy" \
NSINSTALL=$TOOLCHAIN/bin/nsinstall \
NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall \
CPU_ARCH_TAG=$TARGET_ARCH \
CC=$CC LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib" \
V=1
}
makeinstall_target() {
cd $PKG_BUILD
cd $ROOT/$PKG_BUILD
$STRIP dist/Linux*/lib/*.so
cp -L dist/Linux*/lib/*.so $SYSROOT_PREFIX/usr/lib
cp -L dist/Linux*/lib/libcrmf.a $SYSROOT_PREFIX/usr/lib

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,15 +17,17 @@
################################################################################
PKG_NAME="opus"
PKG_VERSION="1.2.1"
PKG_VERSION="1.1.2"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://www.opus-codec.org"
PKG_URL="https://archive.mozilla.org/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_URL="http://downloads.us.xiph.org/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="audio"
PKG_SHORTDESC="Codec designed for interactive speech and audio transmission over the Internet"
PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
if [ "$TARGET_ARCH" = "arm" ]; then

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# This file is part of LibreELEC - https://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
@@ -17,19 +17,21 @@
################################################################################
PKG_NAME="pcsc-lite"
PKG_VERSION="1.8.22"
PKG_VERSION="1.8.16"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://pcsclite.alioth.debian.org/pcsclite.html"
PKG_URL="https://alioth.debian.org/frs/download.php/latestfile/39/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_URL="https://alioth.debian.org/frs/download.php/file/4164/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libusb"
PKG_SECTION="service/system"
PKG_SHORTDESC="Middleware to access a smart card using SCard API (PC/SC)"
PKG_LONGDESC="Middleware to access a smart card using SCard API (PC/SC)"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static \
--disable-libudev \
--enable-libusb \
--enable-usbdropdir=/storage/.kodi/addons/service.pcscd/drivers"
--enable-usbdropdir=/storage/.kodi/addons/service.system.pcscd-addon/drivers"

View File

@@ -35,13 +35,13 @@ configure_host() {
}
make_host() {
cd $PKG_BUILD
BIN=$PKG_BUILD/pngquant make
cd $ROOT/$PKG_BUILD
BIN=$ROOT/$PKG_BUILD/pngquant make
$STRIP $PKG_BUILD/pngquant
$STRIP $ROOT/$PKG_BUILD/pngquant
}
makeinstall_host() {
mkdir -p $TOOLCHAIN/bin
cp $PKG_BUILD/pngquant $TOOLCHAIN/bin
mkdir -p $ROOT/$TOOLCHAIN/bin
cp $ROOT/$PKG_BUILD/pngquant $ROOT/$TOOLCHAIN/bin
}

View File

@@ -28,7 +28,7 @@ PKG_LONGDESC="protobuf: Protocol Buffers - Google's data interchange format"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CMAKE_SCRIPT="$PKG_BUILD/cmake/CMakeLists.txt"
PKG_CMAKE_SCRIPT="$ROOT/$PKG_BUILD/cmake/CMakeLists.txt"
PKG_CMAKE_OPTS_HOST="-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
-DBUILD_SHARED_LIBS=0 \

View File

@@ -30,7 +30,7 @@ PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="-prefix /usr
-sysroot $SYSROOT_PREFIX
-hostprefix $TOOLCHAIN
-hostprefix $ROOT/$TOOLCHAIN
-device linux-libreelec-g++
-opensource -confirm-license
-release

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,15 +17,17 @@
################################################################################
PKG_NAME="rpi_ws281x"
PKG_VERSION="f580777"
PKG_VERSION="3e6ea50"
PKG_ARCH="any"
PKG_LICENSE="BSD-3c"
PKG_LICENSE=""
PKG_SITE="https://github.com/hyperion-project/rpi_ws281x"
PKG_URL="https://github.com/hyperion-project/rpi_ws281x/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION=""
PKG_SHORTDESC="Userspace Raspberry Pi PWM library for WS281X LEDs"
PKG_LONGDESC="Userspace Raspberry Pi PWM library for WS281X LEDs"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
make_target() {

View File

@@ -57,12 +57,12 @@ pre_make_target() {
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
export LDFLAGS="-w -extldflags -static -X main.gitCommit=${PKG_VERSION} -X main.version=$(cat ./VERSION) -extld $CC"
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$PKG_BUILD.gopath:$PKG_BUILD/Godeps/_workspace/
export GOROOT=$TOOLCHAIN/lib/golang
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$ROOT/$PKG_BUILD.gopath:$ROOT/$PKG_BUILD/Godeps/_workspace/
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
ln -fs $PKG_BUILD $PKG_BUILD/Godeps/_workspace/src/github.com/opencontainers/runc
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/Godeps/_workspace/src/github.com/opencontainers/runc
}
make_target() {

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="libmtp"
PKG_VERSION="1.1.13"
PKG_VERSION="1.1.11"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://libmtp.sourceforge.net/"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="diffutils"
PKG_VERSION="3.6"
PKG_VERSION="3.5"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/diffutils/"

View File

@@ -1,41 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="dstat"
PKG_VERSION="77e9347"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://dag.wiee.rs/home-made/dstat"
PKG_URL="https://github.com/dagwieers/dstat/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python"
PKG_SECTION="tools"
PKG_SHORTDESC="Versatile resource statistics tool"
PKG_LONGDESC="Versatile resource statistics tool"
PKG_AUTORECONF="no"
post_unpack() {
rm $PKG_BUILD/Makefile
}
make_target() {
: # nothing to do
}
makeinstall_target() {
: # nothing to do
}

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,11 +17,11 @@
################################################################################
PKG_NAME="dtach"
PKG_VERSION="0.9"
PKG_VERSION="0.8"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://dtach.sourceforge.net"
PKG_URL="https://github.com/crigler/dtach/archive/v${PKG_VERSION}.tar.gz"
PKG_URL="http://download.sourceforge.net/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="dtach - A program that emulates the detach feature of screen"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,11 +17,11 @@
################################################################################
PKG_NAME="fdupes"
PKG_VERSION="1.6.1"
PKG_VERSION="1.51"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://premium.caribe.net/~adrian2/fdupes.html"
PKG_URL="https://github.com/adrianlopezroche/fdupes/archive/v${PKG_VERSION}.tar.gz"
PKG_URL="https://fdupes.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="FDUPES is a program for identifying or deleting duplicate files residing within specified directories"

View File

@@ -6,7 +6,7 @@ index 1d5e41a..6dc6da4 100644
#
# Make Configuration
#
-CC ?= gcc
-CC = gcc
COMPILER_OPTIONS = -Wall -O -g
CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) $(OMIT_GETOPT_LONG)

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,17 +17,17 @@
################################################################################
PKG_NAME="file"
PKG_VERSION="70c5f15"
PKG_VERSION="5.29"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://www.darwinsys.com/file/"
PKG_URL="https://github.com/file/file/archive/${PKG_VERSION}.tar.gz"
PKG_URL="ftp://ftp.astron.com/pub/file/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="ccache:host"
PKG_DEPENDS_TARGET="toolchain zlib file:host"
PKG_SECTION="tools"
PKG_SHORTDESC="file: File type identification utility"
PKG_LONGDESC="These are the sources to Darwin's file(1) utility and master magic(4) file, now maintained by Christos Zoulas. The file(1) utility is used to determine the types of various files."
PKG_AUTORECONF="yes"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--enable-fsect-man5 --enable-static --disable-shared"
PKG_CONFIGURE_OPTS_TARGET="--enable-fsect-man5 --enable-static --disable-shared"

View File

@@ -0,0 +1,17 @@
diff --git a/src/apprentice.c b/src/apprentice.c
index 961e83d..b7d500c 100644
--- a/src/apprentice.c
+++ b/src/apprentice.c
@@ -348,11 +348,9 @@ apprentice_1(struct magic_set *ms, const char *fn, int action)
protected void
file_ms_free(struct magic_set *ms)
{
- size_t i;
if (ms == NULL)
return;
- for (i = 0; i < MAGIC_SETS; i++)
- mlist_free(ms->mlist[i]);
+ mlist_free(ms->mlist[0]);
free(ms->o.pbuf);
free(ms->o.buf);
free(ms->c.li);

View File

@@ -0,0 +1,26 @@
From e990dc53f658cb67ec7b33c32e0bc24e65801792 Mon Sep 17 00:00:00 2001
From: Christos Zoulas <christos@zoulas.com>
Date: Sat, 14 May 2011 15:04:15 +0000
Subject: [PATCH] small archive
---
magic/Magdir/archive | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/magic/Magdir/archive b/magic/Magdir/archive
index e84c8e3..5ad1ce3 100644
--- a/magic/Magdir/archive
+++ b/magic/Magdir/archive
@@ -654,6 +654,9 @@
>>>>78 string -template Template
!:mime application/vnd.oasis.opendocument.image-template
+>26 byte x Zip archive data
+
+
# StarView Metafile
# From Pierre Ducroquet <pinaraf@pinaraf.info>
0 string VCLMTF StarView MetaFile
--
1.7.4.1

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="hd-idle"
PKG_VERSION="1.05"
PKG_VERSION="1.04"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://hd-idle.sourceforge.net/"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,11 +17,11 @@
################################################################################
PKG_NAME="hddtemp"
PKG_VERSION="e16aed6"
PKG_VERSION="0.3-beta15"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.guzu.net/linux/hddtemp.php"
PKG_URL="https://github.com/guzu/hddtemp/archive/${PKG_VERSION}.tar.gz"
PKG_URL="http://download.savannah.gnu.org/releases/hddtemp/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="debug/tools"
PKG_SHORTDESC="hddtemp: tool that reports hard drive temperature"
@@ -30,11 +30,6 @@ PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db"
post_unpack() {
cd $PKG_BUILD
wget -O hddtemp.db http://www.guzu.net/linux/hddtemp.db
}
makeinstall_target() {
: # nop
}

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,11 +17,12 @@
################################################################################
PKG_NAME="hid_mapper"
PKG_VERSION="2.1.0"
PKG_VERSION="0"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/s-leroux/hid_mapper"
PKG_URL="https://github.com/s-leroux/hid_mapper/archive/v${PKG_VERSION}.tar.gz"
PKG_SITE=""
PKG_URL="http://www.coldsource.net/hid_mapper.tar.gz"
PKG_SOURCE_DIR="${PKG_NAME}_beta"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="generic HID mapper"

View File

@@ -1,14 +1,16 @@
diff --git a/MapReader.cpp b/MapReader.cpp
index e64b636..bd1ab68 100644
--- a/MapReader.cpp
+++ b/MapReader.cpp
@@ -106,7 +106,10 @@
@@ -98,7 +98,10 @@ void MapReader::LoadMap(const char *filename,EventMapping *map)
i = 0;
while(i<KEY_NAME_MAXLENGTH && ptr[i]!='\0' && ptr[i]!='\n' && (!isspace(ptr[i])))
while(i<KEY_NAME_MAXLENGTH && ptr[i]!='\0' && ptr[i]!='\n' && ptr[i]!=' ')
- key_name[i] = ptr[i++];
+ {
+ key_name[i] = ptr[i];
+ i++;
+ }
+ {
+ key_name[i] = ptr[i];
+ i++;
+ }
if(i==KEY_NAME_MAXLENGTH)
{

View File

@@ -1,32 +0,0 @@
################################################################################
# This file is part of LibreELEC - https://LibreELEC.tv
# Copyright (C) 2016-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="htop"
PKG_VERSION="2.0.2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://hisham.hm/htop"
PKG_URL="https://github.com/hishamhm/htop/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain netbsd-curses"
PKG_SECTION="tools"
PKG_SHORTDESC="An interactive process viewer for Unix"
PKG_AUTORECONF="yes"
pre_configure_target() {
export CFLAGS="$CFLAGS -fno-strict-aliasing -lncurses -lterminfo"
}

View File

@@ -1,142 +0,0 @@
From: awiouy <awiouy@gmail.com>
Date: Thu, 6 Jul 2017 18:51:24 +0200
Subject: [PATCH] htop: netbsd-curses support
diff --git a/RichString.c b/RichString.c
--- a/RichString.c
+++ b/RichString.c
@@ -18,21 +18,7 @@ in the source distribution for its full text.
#include <ctype.h>
#include <assert.h>
-#ifdef HAVE_NCURSESW_CURSES_H
-#include <ncursesw/curses.h>
-#elif HAVE_NCURSES_NCURSES_H
-#include <ncurses/ncurses.h>
-#elif HAVE_NCURSES_CURSES_H
-#include <ncurses/curses.h>
-#elif HAVE_NCURSES_H
-#include <ncurses.h>
-#elif HAVE_CURSES_H
#include <curses.h>
-#endif
-
-#ifdef HAVE_LIBNCURSESW
-#include <wctype.h>
-#endif
#define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen)
@@ -41,19 +27,11 @@ in the source distribution for its full text.
#define RichString_beginAllocated(this) memset(&this, 0, sizeof(RichString)); (this).chptr = (this).chstr;
#define RichString_end(this) RichString_prune(&(this));
-#ifdef HAVE_LIBNCURSESW
-#define RichString_printVal(this, y, x) mvadd_wchstr(y, x, (this).chptr)
-#define RichString_printoffnVal(this, y, x, off, n) mvadd_wchnstr(y, x, (this).chptr + off, n)
-#define RichString_getCharVal(this, i) ((this).chptr[i].chars[0] & 255)
-#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = (CharType) { .chars = { ch, 0 } }; } while(0)
-#define CharType cchar_t
-#else
#define RichString_printVal(this, y, x) mvaddchstr(y, x, (this).chptr)
#define RichString_printoffnVal(this, y, x, off, n) mvaddchnstr(y, x, (this).chptr + off, n)
#define RichString_getCharVal(this, i) ((this).chptr[i])
#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = ch; } while(0)
#define CharType chtype
-#endif
typedef struct RichString_ {
int chlen;
@@ -87,41 +65,6 @@ static void RichString_extendLen(RichString* this, int len) {
#define RichString_setLen(this, len) do{ if(len < RICHSTRING_MAXLEN && this->chlen < RICHSTRING_MAXLEN) { RichString_setChar(this,len,0); this->chlen=len; } else RichString_extendLen(this,len); }while(0)
-#ifdef HAVE_LIBNCURSESW
-
-static inline void RichString_writeFrom(RichString* this, int attrs, const char* data_c, int from, int len) {
- wchar_t data[len+1];
- len = mbstowcs(data, data_c, len);
- if (len < 0)
- return;
- int newLen = from + len;
- RichString_setLen(this, newLen);
- for (int i = from, j = 0; i < newLen; i++, j++) {
- this->chptr[i] = (CharType) { .attr = attrs & 0xffffff, .chars = { (iswprint(data[j]) ? data[j] : '?') } };
- }
-}
-
-inline void RichString_setAttrn(RichString* this, int attrs, int start, int finish) {
- cchar_t* ch = this->chptr + start;
- for (int i = start; i <= finish; i++) {
- ch->attr = attrs;
- ch++;
- }
-}
-
-int RichString_findChar(RichString* this, char c, int start) {
- wchar_t wc = btowc(c);
- cchar_t* ch = this->chptr + start;
- for (int i = start; i < this->chlen; i++) {
- if (ch->chars[0] == wc)
- return i;
- ch++;
- }
- return -1;
-}
-
-#else
-
static inline void RichString_writeFrom(RichString* this, int attrs, const char* data_c, int from, int len) {
int newLen = from + len;
RichString_setLen(this, newLen);
@@ -148,8 +91,6 @@ int RichString_findChar(RichString* this, char c, int start) {
return -1;
}
-#endif
-
void RichString_prune(RichString* this) {
if (this->chlen > RICHSTRING_MAXLEN)
free(this->chptr);
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -183,36 +183,6 @@
], [$4])
])
-AC_ARG_ENABLE(unicode, [AS_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes")
-if test "x$enable_unicode" = xyes; then
- HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw6-config",
- HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw5-config",
- HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "ncurses5-config",
- HTOP_CHECK_LIB([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW],
- HTOP_CHECK_LIB([ncursesw], [addnwstr], [HAVE_LIBNCURSESW],
- HTOP_CHECK_LIB([ncurses], [addnwstr], [HAVE_LIBNCURSESW],
- missing_libraries="$missing_libraries libncursesw"
- AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.])
- ))))))
-
- AC_CHECK_HEADERS([ncursesw/curses.h],[:],
- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:],
- [AC_CHECK_HEADERS([ncurses/curses.h],[:],
- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])])
-else
- HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "ncurses6-config",
- HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "ncurses5-config",
- HTOP_CHECK_LIB([ncurses6], [refresh], [HAVE_LIBNCURSES],
- HTOP_CHECK_LIB([ncurses], [refresh], [HAVE_LIBNCURSES],
- missing_libraries="$missing_libraries libncurses"
- ))))
-
- AC_CHECK_HEADERS([curses.h],[:],
- [AC_CHECK_HEADERS([ncurses/curses.h],[:],
- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:],
- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])])
-fi
-
if test "$my_htop_platform" = "freebsd"; then
AC_CHECK_LIB([kvm], [kvm_open], [], [missing_libraries="$missing_libraries libkvm"])
fi

View File

@@ -1,36 +0,0 @@
From 308aed7fc91f40db7b7f69095c1a7b777bfeb934 Mon Sep 17 00:00:00 2001
From: awiouy <awiouy@gmail.com>
Date: Thu, 6 Jul 2017 18:50:57 +0200
Subject: [PATCH] htop: remove set_escdelay - fixed in netbsd-curses 0.2.1
drop this patch at netbsd-curses bump to 0.2.1 or higher
---
InfoScreen.c | 1 -
ScreenManager.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/InfoScreen.c b/InfoScreen.c
index e27494c7..28017c63 100644
--- a/InfoScreen.c
+++ b/InfoScreen.c
@@ -117,7 +117,6 @@ void InfoScreen_run(InfoScreen* this) {
if (this->inc->active)
move(LINES-1, CRT_cursorX);
- set_escdelay(25);
int ch = getch();
if (ch == ERR) {
diff --git a/ScreenManager.c b/ScreenManager.c
index 05e1c024..5d1d07d1 100644
--- a/ScreenManager.c
+++ b/ScreenManager.c
@@ -189,7 +189,6 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
}
int prevCh = ch;
- set_escdelay(25);
ch = getch();
HandlerResult result = IGNORED;

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,12 +17,11 @@
################################################################################
PKG_NAME="lm_sensors"
PKG_VERSION="0d5ccf6"
PKG_VERSION="3.4.0"
PKG_ARCH="arm x86_64"
PKG_LICENSE="GPL"
PKG_SITE="http://secure.netroedge.com/~lm78/"
PKG_URL="https://github.com/groeck/lm-sensors/archive/${PKG_VERSION}.tar.gz"
PKG_SOURCE_DIR="lm-sensors-${PKG_VERSION}*"
PKG_URL="http://ftp.gwdg.de/pub/linux/misc/lm-sensors/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="lm_sensors: Hardware monitoring via the SMBus"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="lshw"
PKG_VERSION="B.02.18"
PKG_VERSION="B.02.17"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://ezix.org/project/wiki/HardwareLiSter"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# LibreELEC is free software: you can redistribute it and/or modify
@@ -18,7 +18,7 @@
################################################################################
PKG_NAME="mc"
PKG_VERSION="4.8.19"
PKG_VERSION="4.8.17"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.midnight-commander.org"
@@ -27,7 +27,9 @@ PKG_DEPENDS_TARGET="toolchain libtool:host gettext:host glib pcre netbsd-curses"
PKG_SECTION="tools"
PKG_SHORTDESC="mc: visual file manager"
PKG_LONGDESC="mc is a visual file manager, licensed under GNU General Public License and therefore qualifies as Free Software. It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included"
PKG_AUTORECONF="no"
PKG_IS_ADDON="no"
PKG_CONFIGURE_OPTS_TARGET="--sysconfdir=/storage/.kodi/addons/virtual.system-tools/etc \
--datadir=/storage/.kodi/addons/virtual.system-tools/data \

View File

@@ -0,0 +1,50 @@
From 38d4c655d322837574e957b4a824f4a0d1bb3b86 Mon Sep 17 00:00:00 2001
From: rofl0r <retnyg@gmx.net>
Date: Mon, 18 Jul 2016 22:19:56 +0100
Subject: [PATCH] Ticket #3665: fix compatibility with netbsd curses.
The code that manipulates the ncurses backend into changing
the key combination to generate SIGINT from CTRL-c to CTRL-g does
so by accessing undocumented internal ncurses data structures.
This breaks compilation with netbsd-curses[0], and could also break
when the ncurses author decides to change internal structures in a
future release.
Fix it by using a portable approach that works everywhere using libc
primitives instead.
[0] https://github.com/sabotage-linux/netbsd-curses
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
---
lib/tty/tty-ncurses.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/tty/tty-ncurses.c b/lib/tty/tty-ncurses.c
index efee8ec..76a21d2 100644
--- a/lib/tty/tty-ncurses.c
+++ b/lib/tty/tty-ncurses.c
@@ -179,6 +179,7 @@ mc_tty_normalize_lines_char (const char *ch)
void
tty_init (gboolean mouse_enable, gboolean is_xterm)
{
+ struct termios mode;
initscr ();
#ifdef HAVE_ESCDELAY
@@ -194,11 +195,12 @@ tty_init (gboolean mouse_enable, gboolean is_xterm)
ESCDELAY = 200;
#endif /* HAVE_ESCDELAY */
+ tcgetattr (STDIN_FILENO, &mode);
/* use Ctrl-g to generate SIGINT */
- cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */
+ mode.c_cc[VINTR] = CTRL ('g'); /* ^g */
/* disable SIGQUIT to allow use Ctrl-\ key */
- cur_term->Nttyb.c_cc[VQUIT] = NULL_VALUE;
- tcsetattr (cur_term->Filedes, TCSANOW, &cur_term->Nttyb);
+ mode.c_cc[VQUIT] = NULL_VALUE;
+ tcsetattr (STDIN_FILENO, TCSANOW, &mode);
tty_start_interrupt_key ();

View File

@@ -0,0 +1,27 @@
From 2da86f2595157c68c2d49e6c2b08a508750878ed Mon Sep 17 00:00:00 2001
From: Andrew Borodin <aborodin@vmail.ru>
Date: Tue, 9 Aug 2016 16:55:12 +0300
Subject: [PATCH] Define NCURSES_CONST if curses library doesn't define it.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
---
lib/tty/tty-ncurses.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h
index 4f0e603..9962c7c 100644
--- a/lib/tty/tty-ncurses.h
+++ b/lib/tty/tty-ncurses.h
@@ -20,6 +20,11 @@
#include <ncursesw/curses.h>
#endif /* USE_NCURSESW */
+/* netbsd-libcurses doesn't define NCURSES_CONST */
+#ifndef NCURSES_CONST
+#define NCURSES_CONST const
+#endif
+
/*** typedefs(not structures) and defined constants **********************************************/
/*** enums ***************************************************************************************/

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,16 +17,16 @@
################################################################################
PKG_NAME="mtpfs"
PKG_VERSION="fd3864d"
PKG_VERSION="1.1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.adebenham.com/mtpfs/"
PKG_URL="https://github.com/cjd/mtpfs/archive/${PKG_VERSION}.tar.gz"
PKG_URL="http://www.adebenham.com/files/mtp/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain fuse libmtp glib"
PKG_SECTION="tools"
PKG_SHORTDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device"
PKG_LONGDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device"
PKG_AUTORECONF="yes"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--disable-mad"

View File

@@ -40,7 +40,7 @@ pre_configure_target() {
export LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
# screen fails to build in subdirs
cd $PKG_BUILD
cd $ROOT/$PKG_BUILD
rm -rf .$TARGET_NAME
}

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="strace"
PKG_VERSION="4.17"
PKG_VERSION="4.11"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://sourceforge.net/projects/strace/"

View File

@@ -1,15 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -31,11 +31,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
AC_PREREQ(2.57)
-AC_INIT([strace],
- m4_esyscmd([./git-version-gen .tarball-version]),
- [strace-devel@lists.sourceforge.net],
- [strace],
- [https://strace.io])
+AC_INIT([strace],[4.17])
m4_define([copyright_year], m4_esyscmd([./copyright-year-gen .year]))
AC_COPYRIGHT([Copyright (C) 1999-]copyright_year[ The strace developers.])
AC_CONFIG_SRCDIR([strace.c])

View File

@@ -0,0 +1,13 @@
diff -Naur strace-4.8/configure.ac strace-4.8.patch/configure.ac
--- strace-4.8/configure.ac 2013-05-04 21:51:57.000000000 +0200
+++ strace-4.8.patch/configure.ac 2013-09-04 03:30:12.478057723 +0200
@@ -1,8 +1,6 @@
dnl Process this file with autoconf to create configure. Use autoreconf.
AC_PREREQ(2.57)
-AC_INIT([strace],
- m4_esyscmd([./git-version-gen .tarball-version]),
- [strace-devel@lists.sourceforge.net])
+AC_INIT([strace],[4.8])
AC_CONFIG_SRCDIR([strace.c])
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_HEADERS([config.h])

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
# 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
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="unrar"
PKG_VERSION="5.5.5"
PKG_VERSION="5.4.5"
PKG_ARCH="any"
PKG_LICENSE="free"
PKG_SITE="http://www.rarlab.com"

View File

@@ -1,56 +0,0 @@
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016-present 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="vim"
PKG_VERSION="8.0.0684"
PKG_ARCH="any"
PKG_LICENSE="VIM"
PKG_SITE="http://www.vim.org/"
PKG_URL="https://github.com/vim/vim/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain netbsd-curses"
PKG_SECTION="tools"
PKG_SHORTDESC="vim: VI IMproved"
PKG_LONGDESC="Vim is a highly configurable text editor built to enable efficient text editing."
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="vim_cv_getcwd_broken=no \
vim_cv_memmove_handles_overlap=yes \
vim_cv_stat_ignores_slash=yes \
vim_cv_terminfo=yes \
vim_cv_tgent=zero \
vim_cv_toupper_broken=no \
vim_cv_tty_group=world \
vim_cv_tty_mode=0620 \
ac_cv_sizeof_int=4 \
ac_cv_small_wchar_t=no \
--enable-selinux=no \
--enable-gui=no \
--with-compiledby=LibreELEC \
--with-features=huge \
--with-tlib=ncurses \
--without-x"
pre_configure_target() {
cd ..
rm -rf .$TARGET_NAME
export LIBS="-lcurses -lterminfo"
}
make_target() {
:
}

View File

@@ -1,15 +0,0 @@
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -66,9 +66,9 @@
" In many terminal emulators the mouse works just fine. By enabling it you
" can position the cursor, Visually select and scroll with the mouse.
-if has('mouse')
- set mouse=a
-endif
+"if has('mouse')
+" set mouse=a
+"endif
" Switch syntax highlighting on when the terminal has colors or when using the
" GUI (which always has colors).

View File

@@ -36,7 +36,7 @@ PKG_CMAKE_TARGET_OPTS="-DMINIMAL=ON"
PKG_MAKE_TARGET_OPTS="tini-static"
pre_configure_target(){
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" $PKG_BUILD/src/tiniConfig.h.in
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" $ROOT/$PKG_BUILD/src/tiniConfig.h.in
}
makeinstall_target() {

View File

@@ -53,7 +53,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -47,7 +47,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -47,7 +47,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -47,7 +47,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -46,7 +46,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -52,7 +52,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -47,7 +47,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -22,7 +22,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://projects.vdr-developer.org/projects/plg-streamdev"
PKG_URL="https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git/snapshot/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain vdr openssl"
PKG_DEPENDS_TARGET="toolchain vdr libressl"
PKG_SECTION="multimedia"
PKG_SHORTDESC="TV"
PKG_LONGDESC="TV"
@@ -46,8 +46,8 @@ post_make_target() {
VDR_DIR=$(get_build_dir vdr)
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/server/${LIB_NAME}-server.so $PKG_BUILD/server/${LIB_NAME}-server.so.${VDR_APIVERSION}
cp --remove-destination $PKG_BUILD/client/${LIB_NAME}-client.so $PKG_BUILD/client/${LIB_NAME}-client.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/server/${LIB_NAME}-server.so $ROOT/$PKG_BUILD/server/${LIB_NAME}-server.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/client/${LIB_NAME}-client.so $ROOT/$PKG_BUILD/client/${LIB_NAME}-client.so.${VDR_APIVERSION}
$STRIP client/libvdr-*.so*
$STRIP server/libvdr-*.so*

View File

@@ -46,7 +46,7 @@ post_make_target() {
VDR_APIVERSION=`sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$/\1/p' $VDR_DIR/config.h`
LIB_NAME=lib${PKG_NAME/-plugin/}
cp --remove-destination $PKG_BUILD/${LIB_NAME}.so $PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
cp --remove-destination $ROOT/$PKG_BUILD/${LIB_NAME}.so $ROOT/$PKG_BUILD/${LIB_NAME}.so.${VDR_APIVERSION}
$STRIP libvdr-*.so*
}

View File

@@ -47,7 +47,7 @@ make_target() {
export LD=$CXX
# Use Python 2
find . -name '*.py' -exec sed -i -r "s|/usr/bin/python$|$TOOLCHAIN/bin/python|g" {} +
find . -name '*.py' -exec sed -i -r "s|/usr/bin/python$|$ROOT/$TOOLCHAIN/bin/python|g" {} +
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
# Note: These are for OpenELEC use ONLY. For your own distribution, please
@@ -114,7 +114,7 @@ make_target() {
./third_party/libaddressinput/chromium/tools/update-strings.py
./tools/gn/bootstrap/bootstrap.py --gn-gen-args "${_flags[*]}"
./out/Release/gn gen out/Release --args="${_flags[*]}" --script-executable=$TOOLCHAIN/bin/python
./out/Release/gn gen out/Release --args="${_flags[*]}" --script-executable=$ROOT/$TOOLCHAIN/bin/python
ninja -C out/Release chrome chrome_sandbox widevinecdmadapter
}

View File

@@ -1,2 +1,8 @@
100
- Initial add-on
8.0.100
- Update for LibreELEC 8.0
7.0.101
- added proper icon and description
7.0.100
- initial LibreELEC version

View File

@@ -1,5 +1,8 @@
101
- Added proper icon and description
8.0.100
- Update for LibreELEC 8.0
100
- Initial add-on
7.0.101
- added proper icon and description
7.0.100
- initial LibreELEC version

View File

@@ -1,8 +1,8 @@
102
8.0.102
- Rebuild driver against 4.8 kernel
101
8.0.101
- Rebuild driver against 4.7 kernel
100
8.0.100
- Initial add-on

View File

@@ -1,6 +1,6 @@
101
8.1.101
- Update to 60499dc
- Fix cpu usage due to high polling rate
100
8.0.100
- Initial add-on

Some files were not shown because too many files have changed in this diff Show More