Compare commits
191 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f51b881cb0 | ||
|
|
002d032333 | ||
|
|
6540c3cdab | ||
|
|
646bad7feb | ||
|
|
5076f68f79 | ||
|
|
d34d940e4f | ||
|
|
fce92520fc | ||
|
|
bcf9e454c0 | ||
|
|
dbbfaaa9fd | ||
|
|
7b89c74659 | ||
|
|
d3f4dcc8d0 | ||
|
|
b2c4c6a3ee | ||
|
|
11cf3de06d | ||
|
|
e06fa5f753 | ||
|
|
c80b3b1b53 | ||
|
|
242bcbcb99 | ||
|
|
31bef97635 | ||
|
|
fa95ff65f3 | ||
|
|
e44b90f33a | ||
|
|
ad313614db | ||
|
|
4abe9ef193 | ||
|
|
cd53af9643 | ||
|
|
ad9a391de4 | ||
|
|
536052b53a | ||
|
|
aff9760ad3 | ||
|
|
3269f5d9d9 | ||
|
|
591ed967d3 | ||
|
|
cf3be47947 | ||
|
|
1856bd8c58 | ||
|
|
9480dc0ad5 | ||
|
|
7da39258cc | ||
|
|
c02362aad2 | ||
|
|
b10b305165 | ||
|
|
a031e4b70d | ||
|
|
417df35164 | ||
|
|
f68ed339c7 | ||
|
|
758956d531 | ||
|
|
0b8de8b12d | ||
|
|
5501ac6a54 | ||
|
|
956357a53f | ||
|
|
4569407ad3 | ||
|
|
e91dfe33e3 | ||
|
|
dc4c4370a2 | ||
|
|
8f43b080b8 | ||
|
|
f4314e4873 | ||
|
|
afb0c788e3 | ||
|
|
72b51bfa67 | ||
|
|
8a0b981eeb | ||
|
|
cc9cd221b1 | ||
|
|
3a4778e7b6 | ||
|
|
9d4ae910eb | ||
|
|
98ab231190 | ||
|
|
d08d959b9f | ||
|
|
d9c11ef114 | ||
|
|
798dc0e3f7 | ||
|
|
67e672fdf5 | ||
|
|
72559a613e | ||
|
|
20d4f2c9d6 | ||
|
|
c6808b7fe6 | ||
|
|
a46519906f | ||
|
|
660fc30960 | ||
|
|
dc54b09e9c | ||
|
|
d82d6a2037 | ||
|
|
d2a104d27b | ||
|
|
84eca93ca3 | ||
|
|
5ce20f1414 | ||
|
|
3a106db4ed | ||
|
|
d4335e21ea | ||
|
|
6dcc0e00e4 | ||
|
|
b0f1501e7b | ||
|
|
879ad48362 | ||
|
|
bc8124e2e2 | ||
|
|
13a5227cd0 | ||
|
|
495ec718f0 | ||
|
|
5fbf8dd4e6 | ||
|
|
76d938041e | ||
|
|
0a94c8c470 | ||
|
|
6fff61ea79 | ||
|
|
6be5dbddb8 | ||
|
|
ef63df8b95 | ||
|
|
9f7168d8cf | ||
|
|
c32878a348 | ||
|
|
63807068d3 | ||
|
|
e7bec51aa5 | ||
|
|
94213dfd72 | ||
|
|
83a422d15e | ||
|
|
13ffa7a036 | ||
|
|
bb2c8d7417 | ||
|
|
acf0fb4dfb | ||
|
|
cf2bb411c1 | ||
|
|
32a255e827 | ||
|
|
18db2948fe | ||
|
|
c11e0e0673 | ||
|
|
7d424333f1 | ||
|
|
4ea0c22463 | ||
|
|
ae5cdf6f51 | ||
|
|
67aec62ed8 | ||
|
|
eff15eb5b1 | ||
|
|
c4070d538f | ||
|
|
1e245ef9a0 | ||
|
|
589673ab85 | ||
|
|
1b52818523 | ||
|
|
f045300469 | ||
|
|
012f50e721 | ||
|
|
b17a3da582 | ||
|
|
ce7478b824 | ||
|
|
2ea6424b88 | ||
|
|
0dde8ca5c3 | ||
|
|
6b60262c59 | ||
|
|
69694aa38a | ||
|
|
7db1221d1c | ||
|
|
2e34450a40 | ||
|
|
9ce9858d16 | ||
|
|
a6d0fbe890 | ||
|
|
952f85c7c9 | ||
|
|
b45fe0e594 | ||
|
|
3b50fb4a17 | ||
|
|
4d3d76ca3d | ||
|
|
11267979c5 | ||
|
|
8bf2aa6eca | ||
|
|
d7b7df4efb | ||
|
|
c7a6b9aba4 | ||
|
|
9dc0830582 | ||
|
|
67aadb8ce1 | ||
|
|
dacb8a6edb | ||
|
|
58e094ddfd | ||
|
|
f4ba967489 | ||
|
|
2f242ce478 | ||
|
|
c2144515c3 | ||
|
|
cdedb42ea0 | ||
|
|
b48c3b6f24 | ||
|
|
7fe7b9c5ad | ||
|
|
44496c6517 | ||
|
|
c5236a334b | ||
|
|
4eafb8d2d7 | ||
|
|
01c260ad23 | ||
|
|
2d9436f6ad | ||
|
|
25866498db | ||
|
|
4e7f397d39 | ||
|
|
732b1f3dc1 | ||
|
|
4f39e8d4c6 | ||
|
|
450a5a0945 | ||
|
|
400a5ecf6e | ||
|
|
5642b519d8 | ||
|
|
a557bc3a32 | ||
|
|
b4fc708bd3 | ||
|
|
a0e97de182 | ||
|
|
e3ff7a30a4 | ||
|
|
df4f1b5edc | ||
|
|
7e10a8b6ba | ||
|
|
ad04d35526 | ||
|
|
dd58314883 | ||
|
|
3d9fd11d2e | ||
|
|
c4e1925c9b | ||
|
|
5814120af7 | ||
|
|
07fc4fae0a | ||
|
|
e181b8aeb1 | ||
|
|
58a94088e6 | ||
|
|
2e74266bfc | ||
|
|
c59eb4e1b6 | ||
|
|
fc8667e6fa | ||
|
|
d6c2363cd9 | ||
|
|
d6f3b6f2e1 | ||
|
|
18bb14dc6e | ||
|
|
504442d55d | ||
|
|
70cdff9099 | ||
|
|
3c25bdc597 | ||
|
|
43b60d296a | ||
|
|
e4c200da04 | ||
|
|
5993b488fc | ||
|
|
09e236bf8d | ||
|
|
c898443b1f | ||
|
|
cce8e3b51a | ||
|
|
14d43e64ac | ||
|
|
0560da45ac | ||
|
|
cc4cdf3431 | ||
|
|
be541b921d | ||
|
|
43563f2cdd | ||
|
|
112dcea0a7 | ||
|
|
85eb7e8fea | ||
|
|
b459ef2f28 | ||
|
|
d0ac542ac2 | ||
|
|
eca9b41c10 | ||
|
|
e773b89169 | ||
|
|
089045b836 | ||
|
|
ce4cecd66b | ||
|
|
9c49a6c223 | ||
|
|
50d9288eec | ||
|
|
b5d7f93884 | ||
|
|
3ac8a32fe2 | ||
|
|
36042d4cb4 |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 32 KiB |
BIN
config/noobs/marketing/slides/noobs.psd
Normal file
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 16 KiB |
BIN
config/noobs/marketing/slides_vga/noobs_vga.psd
Normal file
@@ -1,5 +1,5 @@
|
||||
# VERSION: set full version, use "devel" for development version
|
||||
LIBREELEC_VERSION="devel"
|
||||
LIBREELEC_VERSION="7.0.1"
|
||||
|
||||
# OS_VERSION: OS Version
|
||||
OS_VERSION="7.0"
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 9.1 KiB |
77
packages/addons/addon-depends/containerd/package.mk
Normal file
@@ -0,0 +1,77 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.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="containerd"
|
||||
PKG_VERSION="d2f0386"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="APL"
|
||||
PKG_SITE="https://containerd.tools/"
|
||||
PKG_URL="https://github.com/docker/containerd/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="toolchain go"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="containerd is a daemon to control runC"
|
||||
PKG_LONGDESC="containerd is a daemon to control runC, built for performance and density. containerd leverages runC's advanced features such as seccomp and user namespace support as well as checkpoint and restore for cloning and live migration of containers."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_make_target() {
|
||||
case $TARGET_ARCH in
|
||||
x86_64)
|
||||
export GOARCH=amd64
|
||||
;;
|
||||
arm)
|
||||
export GOARCH=arm
|
||||
|
||||
case $TARGET_CPU in
|
||||
arm1176jzf-s)
|
||||
export GOARM=6
|
||||
;;
|
||||
cortex-a7)
|
||||
export GOARM=7
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
export GOOS=linux
|
||||
export CGO_ENABLED=1
|
||||
export CGO_NO_EMULATION=1
|
||||
export CGO_CFLAGS=$CFLAGS
|
||||
export LDFLAGS="-w -extldflags -static -X github.com/docker/containerd.GitCommit=${PKG_VERSION} -extld $TARGET_CC"
|
||||
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 $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/vendor/src/github.com/docker/containerd
|
||||
}
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
$GOLANG build -v -o bin/ctr -a -tags "static_build" -ldflags "$LDFLAGS" ./ctr
|
||||
$GOLANG build -v -o bin/containerd -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd
|
||||
$GOLANG build -v -o bin/containerd-shim -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd-shim
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="bitstream"
|
||||
PKG_VERSION="1.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.videolan.org"
|
||||
PKG_URL="http://download.videolan.org/pub/videolan/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
|
||||
PKG_LONGDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr"
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libev"
|
||||
PKG_VERSION="4.22"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://software.schmorp.de/pkg/libev.html"
|
||||
PKG_URL="http://dist.schmorp.de/libev/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="libev: a full-featured and high-performance event loop"
|
||||
PKG_LONGDESC="A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program 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, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program 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 OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dvb-apps"
|
||||
PKG_VERSION="3d43b280298c"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps"
|
||||
PKG_URL="http://linuxtv.org/hg/dvb-apps/archive/${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
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"
|
||||
|
||||
make_target() {
|
||||
make -C lib
|
||||
make -C util
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -Naur dvb-apps-20090201/util/scan/diseqc.c dvb-apps-20090201a/util/scan/diseqc.c
|
||||
--- dvb-apps-20090201/util/scan/diseqc.c 2009-02-01 13:57:16.000000000 +0100
|
||||
+++ dvb-apps-20090201a/util/scan/diseqc.c 2009-02-14 13:45:42.000000000 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
+#include <time.h>
|
||||
#include <linux/dvb/frontend.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <time.h>
|
||||
|
||||
#include "scan.h"
|
||||
#include "diseqc.h"
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/Make.rules b/Make.rules
|
||||
index e867c3a..b2d8663 100644
|
||||
--- a/Make.rules
|
||||
+++ b/Make.rules
|
||||
@@ -9,7 +9,7 @@ ifneq ($(lib_name),)
|
||||
CFLAGS_LIB ?= -fPIC
|
||||
CFLAGS += $(CFLAGS_LIB)
|
||||
|
||||
-libraries = $(lib_name).so $(lib_name).a
|
||||
+libraries = $(lib_name).a
|
||||
|
||||
.PHONY: library
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -Naur a/util/Makefile b/util/Makefile
|
||||
--- a/util/Makefile 2014-03-21 12:26:36.000000000 -0700
|
||||
+++ b/util/Makefile 2015-12-21 01:12:10.261957235 -0800
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
all clean install:
|
||||
$(MAKE) -C atsc_epg $@
|
||||
- $(MAKE) -C av7110_loadkeys $@
|
||||
$(MAKE) -C dib3000-watch $@
|
||||
$(MAKE) -C dst-utils $@
|
||||
$(MAKE) -C dvbdate $@
|
||||
@@ -0,0 +1,63 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program 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, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program 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 OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dvb-fe-tool"
|
||||
PKG_VERSION="fa2f7d9"
|
||||
PKG_REV="1"
|
||||
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"
|
||||
PKG_PRIORITY="optional"
|
||||
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)."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--disable-rpath \
|
||||
--disable-libdvbv5 \
|
||||
--disable-libv4l \
|
||||
--disable-v4l-utils \
|
||||
--disable-qv4l2 \
|
||||
--without-jpeg \
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix"
|
||||
|
||||
post_patch() {
|
||||
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 $ROOT/$PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
|
||||
make CFLAGS="$TARGET_CFLAGS"
|
||||
|
||||
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/utils/dvb
|
||||
make CFLAGS="$TARGET_CFLAGS"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program 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, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program 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 OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dvblast"
|
||||
PKG_VERSION="3.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.videolan.org"
|
||||
PKG_URL="http://downloads.videolan.org/pub/videolan/dvblast/${PKG_VERSION}/dvblast-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain bitstream libev"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
|
||||
PKG_LONGDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
MAKEFLAGS="V=1"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="$LDFLAGS -lm"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
diff -Naur dvblast-3.0/Makefile dvblast-3.0.patch/Makefile
|
||||
--- dvblast-3.0/Makefile 2015-10-05 17:51:14.000000000 +0200
|
||||
+++ dvblast-3.0.patch/Makefile 2016-03-26 22:54:59.953303040 +0100
|
||||
@@ -55,11 +55,11 @@
|
||||
|
||||
dvblast: $(OBJ_DVBLAST)
|
||||
@echo "LINK $@"
|
||||
- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDLIBS_DVBLAST) $(LDLIBS)
|
||||
+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDFLAGS) $(LDLIBS_DVBLAST) $(LDLIBS)
|
||||
|
||||
dvblastctl: $(OBJ_DVBLASTCTL)
|
||||
@echo "LINK $@"
|
||||
- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDLIBS)
|
||||
+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
clean:
|
||||
@echo "CLEAN $(CLEAN_OBJS)"
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="go"
|
||||
PKG_VERSION="1.6"
|
||||
PKG_VERSION="1.6.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -Naur a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
|
||||
--- a/src/crypto/x509/root_unix.go 2016-04-19 16:27:35.000000000 -0700
|
||||
+++ b/src/crypto/x509/root_unix.go 2016-04-22 01:21:02.884977461 -0700
|
||||
@@ -13,6 +13,7 @@
|
||||
var certDirectories = []string{
|
||||
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
|
||||
"/system/etc/security/cacerts", // Android
|
||||
+ "/etc/ssl", // LibreELEC
|
||||
}
|
||||
|
||||
func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
|
||||
38
packages/addons/addon-depends/libconfig/package.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
#################################################################################
|
||||
# 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
|
||||
# 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="libconfig"
|
||||
PKG_VERSION="1.5"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://hyperrealm.com/libconfig/libconfig.html"
|
||||
PKG_URL="https://github.com/hyperrealm/libconfig/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="lib"
|
||||
PKG_SHORTDESC="C/C++ Configuration File Library"
|
||||
PKG_LONGDESC="C/C++ Configuration File Library"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
--disable-examples \
|
||||
--with-sysroot=$SYSROOT_PREFIX"
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur a/tests/Makefile.am b/tests/Makefile.am
|
||||
--- a/tests/Makefile.am 2014-03-04 03:04:17.000000000 +0100
|
||||
+++ b/tests/Makefile.am 2016-01-22 21:22:38.742833399 +0100
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
libconfig_tests_SOURCES = tests.c
|
||||
|
||||
-libconfig_tests_CPPFLAGS = -I$(top_srcdir)/tinytest -I../lib
|
||||
+libconfig_tests_CPPFLAGS = -I$(top_srcdir)/tinytest -I$(top_srcdir)/lib
|
||||
|
||||
libconfig_tests_LDADD = -L$(top_builddir)/tinytest -ltinytest \
|
||||
-L$(top_builddir)/lib/.libs -lconfig
|
||||
47
packages/addons/addon-depends/libvncserver/package.mk
Normal file
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
# 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
|
||||
# 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="libvncserver"
|
||||
PKG_VERSION="0.9.10"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
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"
|
||||
PKG_SECTION="libs"
|
||||
PKG_PRIORITY="optional"
|
||||
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."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_MAINTAINER="Lukas Rusak (lrusak at irc.freenode.net)"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||
--enable-static \
|
||||
--with-sysroot=$SYSROOT_PREFIX \
|
||||
--with-jpeg \
|
||||
--with-png \
|
||||
--without-sdl \
|
||||
--without-gcrypt \
|
||||
--without-client-gcrypt \
|
||||
--without-gnutls"
|
||||
@@ -0,0 +1,59 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libmediainfo"
|
||||
PKG_VERSION="0.7.83"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://mediaarea.net/en/MediaInfo/Download/Source"
|
||||
PKG_URL="http://mediaarea.net/download/source/libmediainfo/$PKG_VERSION/libmediainfo_$PKG_VERSION.tar.bz2"
|
||||
PKG_SOURCE_DIR="MediaInfoLib"
|
||||
PKG_DEPENDS_TARGET="toolchain libzen"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
|
||||
PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
|
||||
make_target() {
|
||||
cd Project/GNU/Library
|
||||
do_autoreconf
|
||||
./configure \
|
||||
--host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--prefix=/usr \
|
||||
--enable-visibility \
|
||||
--disable-libcurl \
|
||||
--disable-libmms
|
||||
make
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include/MediaInfo
|
||||
cp -aP ../../../Source/MediaInfo/* $SYSROOT_PREFIX/usr/include/MediaInfo
|
||||
for i in Archive Audio Duplicate Export Image Multiple Reader Tag Text Video ; do
|
||||
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 $ROOT/$TOOLCHAIN/bin
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libzen"
|
||||
PKG_VERSION="0.4.33"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://mediaarea.net/en/MediaInfo/"
|
||||
PKG_URL="http://mediaarea.net/download/source/libzen/$PKG_VERSION/libzen_$PKG_VERSION.tar.bz2"
|
||||
PKG_SOURCE_DIR="ZenLib"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
|
||||
PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
cd Project/GNU/Library
|
||||
do_autoreconf
|
||||
./configure \
|
||||
--host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--prefix=/usr
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include/ZenLib
|
||||
cp -aP ../../../Source/ZenLib/*.h $SYSROOT_PREFIX/usr/include/ZenLib
|
||||
for i in HTTP_Client Format/Html Format/Http ; do
|
||||
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 $ROOT/$TOOLCHAIN/bin
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mediainfo"
|
||||
PKG_VERSION="0.7.83"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://mediaarea.net/en/MediaInfo/Download/Source"
|
||||
PKG_URL="http://mediaarea.net/download/source/mediainfo/$PKG_VERSION/mediainfo_$PKG_VERSION.tar.bz2"
|
||||
PKG_SOURCE_DIR="MediaInfo"
|
||||
PKG_DEPENDS_TARGET="toolchain libmediainfo"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
|
||||
PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
cd Project/GNU/CLI
|
||||
do_autoreconf
|
||||
echo $PATH
|
||||
./configure \
|
||||
--host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mesa-demos"
|
||||
PKG_VERSION="8.3.0"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.mesa3d.org/"
|
||||
PKG_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11 mesa glu glew"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="mesa-demos: Mesa 3D demos"
|
||||
PKG_LONGDESC="Mesa 3D demos - installed are the well known glxinfo and glxgears."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--without-glut"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="opencaster"
|
||||
PKG_VERSION="3.2.2"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.avalpa.com/the-key-values/15-free-software/33-opencaster"
|
||||
PKG_URL="http://ftp.de.debian.org/debian/pool/main/o/opencaster/opencaster_${PKG_VERSION}+dfsg.orig.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="MPEG2 transport stream data generator and packet manipulator"
|
||||
PKG_LONGDESC="OpenCaster is a free and open source MPEG2 transport stream data generator and packet manipulator"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_makeinstall_target() {
|
||||
mkdir -p $ROOT/$PKG_BUILD/.install_pkg
|
||||
}
|
||||
@@ -0,0 +1,504 @@
|
||||
diff --git a/libs/sectioncrc/Makefile b/libs/sectioncrc/Makefile
|
||||
index 87e4627..ad8a0e5 100755
|
||||
--- a/libs/sectioncrc/Makefile
|
||||
+++ b/libs/sectioncrc/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS = -g -MD -Wall -I. -I../../include
|
||||
|
||||
OBJ = sectioncrc.o
|
||||
diff --git a/tools/dsmcc-receive/Makefile b/tools/dsmcc-receive/Makefile
|
||||
index 891a50c..ee2d82e 100644
|
||||
--- a/tools/dsmcc-receive/Makefile
|
||||
+++ b/tools/dsmcc-receive/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc -lz
|
||||
|
||||
diff --git a/tools/eitsecactualtoanother/Makefile b/tools/eitsecactualtoanother/Makefile
|
||||
index be3a790..723c857 100644
|
||||
--- a/tools/eitsecactualtoanother/Makefile
|
||||
+++ b/tools/eitsecactualtoanother/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/eitsecfilter/Makefile b/tools/eitsecfilter/Makefile
|
||||
index f4e5fc4..cc94b71 100644
|
||||
--- a/tools/eitsecfilter/Makefile
|
||||
+++ b/tools/eitsecfilter/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/eitsecmapper/Makefile b/tools/eitsecmapper/Makefile
|
||||
index 9c6ce8f..29dbc39 100644
|
||||
--- a/tools/eitsecmapper/Makefile
|
||||
+++ b/tools/eitsecmapper/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/esaudio2pes/Makefile b/tools/esaudio2pes/Makefile
|
||||
index 349b187..607f0a3 100644
|
||||
--- a/tools/esaudio2pes/Makefile
|
||||
+++ b/tools/esaudio2pes/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/esaudioinfo/Makefile b/tools/esaudioinfo/Makefile
|
||||
index 2c014b2..69a38a0 100644
|
||||
--- a/tools/esaudioinfo/Makefile
|
||||
+++ b/tools/esaudioinfo/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/esvideompeg2info/Makefile b/tools/esvideompeg2info/Makefile
|
||||
index aaa8065..ac91058 100644
|
||||
--- a/tools/esvideompeg2info/Makefile
|
||||
+++ b/tools/esvideompeg2info/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/esvideompeg2pes/Makefile b/tools/esvideompeg2pes/Makefile
|
||||
index a905e7b..7020503 100644
|
||||
--- a/tools/esvideompeg2pes/Makefile
|
||||
+++ b/tools/esvideompeg2pes/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/i13942ts/Makefile b/tools/i13942ts/Makefile
|
||||
index 72e4b2d..0c020f8 100644
|
||||
--- a/tools/i13942ts/Makefile
|
||||
+++ b/tools/i13942ts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
|
||||
OBJS = i13942ts.o
|
||||
diff --git a/tools/ip2sec/Makefile b/tools/ip2sec/Makefile
|
||||
index 3a90c82..7580ca3 100644
|
||||
--- a/tools/ip2sec/Makefile
|
||||
+++ b/tools/ip2sec/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-CC = gcc
|
||||
CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lpcap
|
||||
|
||||
diff --git a/tools/m2ts2cbrts/Makefile b/tools/m2ts2cbrts/Makefile
|
||||
index a2ed89f..778efb8 100644
|
||||
--- a/tools/m2ts2cbrts/Makefile
|
||||
+++ b/tools/m2ts2cbrts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/mpe2sec/Makefile b/tools/mpe2sec/Makefile
|
||||
index 5c29efd..55cbe4d 100644
|
||||
--- a/tools/mpe2sec/Makefile
|
||||
+++ b/tools/mpe2sec/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-CC = gcc
|
||||
CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
|
||||
OBJS = mpe.o sectioncrc.o
|
||||
diff --git a/tools/mpeg2videovbv/Makefile b/tools/mpeg2videovbv/Makefile
|
||||
index 8635e67..4074c93 100644
|
||||
--- a/tools/mpeg2videovbv/Makefile
|
||||
+++ b/tools/mpeg2videovbv/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/oddparity/Makefile b/tools/oddparity/Makefile
|
||||
index 7970590..6839a36 100644
|
||||
--- a/tools/oddparity/Makefile
|
||||
+++ b/tools/oddparity/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/pes2es/Makefile b/tools/pes2es/Makefile
|
||||
index a598df9..c3e803f 100644
|
||||
--- a/tools/pes2es/Makefile
|
||||
+++ b/tools/pes2es/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/pes2txt/Makefile b/tools/pes2txt/Makefile
|
||||
index d65922e..50057a1 100644
|
||||
--- a/tools/pes2txt/Makefile
|
||||
+++ b/tools/pes2txt/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/pesaudio2ts/Makefile b/tools/pesaudio2ts/Makefile
|
||||
index 6fec027..ab75796 100644
|
||||
--- a/tools/pesaudio2ts/Makefile
|
||||
+++ b/tools/pesaudio2ts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/pesdata2ts/Makefile b/tools/pesdata2ts/Makefile
|
||||
index 3e180f7..d541485 100644
|
||||
--- a/tools/pesdata2ts/Makefile
|
||||
+++ b/tools/pesdata2ts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/pesinfo/Makefile b/tools/pesinfo/Makefile
|
||||
index 5c9cbb3..3ffc1d7 100644
|
||||
--- a/tools/pesinfo/Makefile
|
||||
+++ b/tools/pesinfo/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/pesvideo2ts/Makefile b/tools/pesvideo2ts/Makefile
|
||||
index a8de20e..a2ebab0 100644
|
||||
--- a/tools/pesvideo2ts/Makefile
|
||||
+++ b/tools/pesvideo2ts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/sec2ts/Makefile b/tools/sec2ts/Makefile
|
||||
index 0607bcf..df22126 100644
|
||||
--- a/tools/sec2ts/Makefile
|
||||
+++ b/tools/sec2ts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/ts2m2ts/Makefile b/tools/ts2m2ts/Makefile
|
||||
index b70c018..28104fd 100644
|
||||
--- a/tools/ts2m2ts/Makefile
|
||||
+++ b/tools/ts2m2ts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/ts2pes/Makefile b/tools/ts2pes/Makefile
|
||||
index 61301f4..349c29e 100644
|
||||
--- a/tools/ts2pes/Makefile
|
||||
+++ b/tools/ts2pes/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/ts2sec/Makefile b/tools/ts2sec/Makefile
|
||||
index ebbe4be..baad160 100644
|
||||
--- a/tools/ts2sec/Makefile
|
||||
+++ b/tools/ts2sec/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tscbrmuxer/Makefile b/tools/tscbrmuxer/Makefile
|
||||
index aa93c07..38cd632 100644
|
||||
--- a/tools/tscbrmuxer/Makefile
|
||||
+++ b/tools/tscbrmuxer/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsccc/Makefile b/tools/tsccc/Makefile
|
||||
index 44340fb..85ec0f8 100755
|
||||
--- a/tools/tsccc/Makefile
|
||||
+++ b/tools/tsccc/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tscrypt/Makefile b/tools/tscrypt/Makefile
|
||||
index 3ce49f5..9cec259 100644
|
||||
--- a/tools/tscrypt/Makefile
|
||||
+++ b/tools/tscrypt/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-CC = gcc
|
||||
CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -ldvbcsa
|
||||
|
||||
diff --git a/tools/tsdiscont/Makefile b/tools/tsdiscont/Makefile
|
||||
index bed498e..78329c1 100644
|
||||
--- a/tools/tsdiscont/Makefile
|
||||
+++ b/tools/tsdiscont/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsdoubleoutput/Makefile b/tools/tsdoubleoutput/Makefile
|
||||
index e35c8a2..e8927fe 100644
|
||||
--- a/tools/tsdoubleoutput/Makefile
|
||||
+++ b/tools/tsdoubleoutput/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsfilter/Makefile b/tools/tsfilter/Makefile
|
||||
index 5e8a3fc..9397197 100755
|
||||
--- a/tools/tsfilter/Makefile
|
||||
+++ b/tools/tsfilter/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsfixcc/Makefile b/tools/tsfixcc/Makefile
|
||||
index cdf93ae..ebd894f 100755
|
||||
--- a/tools/tsfixcc/Makefile
|
||||
+++ b/tools/tsfixcc/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsinputswitch/Makefile b/tools/tsinputswitch/Makefile
|
||||
index 5b2f205..3a08c7a 100644
|
||||
--- a/tools/tsinputswitch/Makefile
|
||||
+++ b/tools/tsinputswitch/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsloop/Makefile b/tools/tsloop/Makefile
|
||||
index 0781c2c..71dc3c6 100755
|
||||
--- a/tools/tsloop/Makefile
|
||||
+++ b/tools/tsloop/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsmask/Makefile b/tools/tsmask/Makefile
|
||||
index afe3fe8..914a1ef 100755
|
||||
--- a/tools/tsmask/Makefile
|
||||
+++ b/tools/tsmask/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsmodder/Makefile b/tools/tsmodder/Makefile
|
||||
index 72a4fde..2199b8a 100644
|
||||
--- a/tools/tsmodder/Makefile
|
||||
+++ b/tools/tsmodder/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsnullfiller/Makefile b/tools/tsnullfiller/Makefile
|
||||
index fd7bf5a..3b6898f 100644
|
||||
--- a/tools/tsnullfiller/Makefile
|
||||
+++ b/tools/tsnullfiller/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsnullshaper/Makefile b/tools/tsnullshaper/Makefile
|
||||
index 2071129..3b89b7e 100644
|
||||
--- a/tools/tsnullshaper/Makefile
|
||||
+++ b/tools/tsnullshaper/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc -lrt
|
||||
|
||||
diff --git a/tools/tsororts/Makefile b/tools/tsororts/Makefile
|
||||
index 408c924..0687c55 100644
|
||||
--- a/tools/tsororts/Makefile
|
||||
+++ b/tools/tsororts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsorts/Makefile b/tools/tsorts/Makefile
|
||||
index 1b4d287..96db276 100644
|
||||
--- a/tools/tsorts/Makefile
|
||||
+++ b/tools/tsorts/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsoutputswitch/Makefile b/tools/tsoutputswitch/Makefile
|
||||
index c2d0b09..6abfddb 100644
|
||||
--- a/tools/tsoutputswitch/Makefile
|
||||
+++ b/tools/tsoutputswitch/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tspcrmeasure/Makefile b/tools/tspcrmeasure/Makefile
|
||||
index 819a25e..f39efd3 100644
|
||||
--- a/tools/tspcrmeasure/Makefile
|
||||
+++ b/tools/tspcrmeasure/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tspcrrestamp/Makefile b/tools/tspcrrestamp/Makefile
|
||||
index 3f05709..43f37b4 100644
|
||||
--- a/tools/tspcrrestamp/Makefile
|
||||
+++ b/tools/tspcrrestamp/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tspcrstamp/Makefile b/tools/tspcrstamp/Makefile
|
||||
index 5520ef3..6c050bc 100644
|
||||
--- a/tools/tspcrstamp/Makefile
|
||||
+++ b/tools/tspcrstamp/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tspidmapper/Makefile b/tools/tspidmapper/Makefile
|
||||
index c02853a..f237a77 100644
|
||||
--- a/tools/tspidmapper/Makefile
|
||||
+++ b/tools/tspidmapper/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsstamp/Makefile b/tools/tsstamp/Makefile
|
||||
index 80393fe..f288f09 100644
|
||||
--- a/tools/tsstamp/Makefile
|
||||
+++ b/tools/tsstamp/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tstcpreceive/Makefile b/tools/tstcpreceive/Makefile
|
||||
index 4f1cac7..ebbba5f 100644
|
||||
--- a/tools/tstcpreceive/Makefile
|
||||
+++ b/tools/tstcpreceive/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tstcpsend/Makefile b/tools/tstcpsend/Makefile
|
||||
index 8894859..fb8a573 100644
|
||||
--- a/tools/tstcpsend/Makefile
|
||||
+++ b/tools/tstcpsend/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc -lrt
|
||||
|
||||
diff --git a/tools/tstdt/Makefile b/tools/tstdt/Makefile
|
||||
index 1873adb..c5eb23d 100644
|
||||
--- a/tools/tstdt/Makefile
|
||||
+++ b/tools/tstdt/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tstimedwrite/Makefile b/tools/tstimedwrite/Makefile
|
||||
index 3ad1432..7a34191 100644
|
||||
--- a/tools/tstimedwrite/Makefile
|
||||
+++ b/tools/tstimedwrite/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc -lrt
|
||||
|
||||
diff --git a/tools/tstimeout/Makefile b/tools/tstimeout/Makefile
|
||||
index 0dbc314..c37b97e 100644
|
||||
--- a/tools/tstimeout/Makefile
|
||||
+++ b/tools/tstimeout/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsudpreceive/Makefile b/tools/tsudpreceive/Makefile
|
||||
index 2e08cee..3a6c3cb 100644
|
||||
--- a/tools/tsudpreceive/Makefile
|
||||
+++ b/tools/tsudpreceive/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/tsudpsend/Makefile b/tools/tsudpsend/Makefile
|
||||
index 0d55bd4..bd6f39e 100644
|
||||
--- a/tools/tsudpsend/Makefile
|
||||
+++ b/tools/tsudpsend/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc -lrt
|
||||
|
||||
diff --git a/tools/tsvbr2cbr/Makefile b/tools/tsvbr2cbr/Makefile
|
||||
index 01cc992..65d670c 100644
|
||||
--- a/tools/tsvbr2cbr/Makefile
|
||||
+++ b/tools/tsvbr2cbr/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/txt2pes/Makefile b/tools/txt2pes/Makefile
|
||||
index f506da7..55f0d5e 100644
|
||||
--- a/tools/txt2pes/Makefile
|
||||
+++ b/tools/txt2pes/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-C = gcc
|
||||
CFLAGS += -g -MD -Wall -I. -I../../include $(CPPFLAGS)
|
||||
LDFLAGS += -lc
|
||||
|
||||
diff --git a/tools/zpipe/Makefile b/tools/zpipe/Makefile
|
||||
index 5997129..707647d 100644
|
||||
--- a/tools/zpipe/Makefile
|
||||
+++ b/tools/zpipe/Makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-CC = gcc
|
||||
CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
|
||||
LDFLAGS += -lz
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/tools/mpe2sec/mpe.c b/tools/mpe2sec/mpe.c
|
||||
index 18417af..3b71f64 100644
|
||||
--- a/tools/mpe2sec/mpe.c
|
||||
+++ b/tools/mpe2sec/mpe.c
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
-#include <net/if_tun.h>
|
||||
+#include <linux/if_tun.h>
|
||||
|
||||
#include "sectioncrc.h"
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
diff --git a/libs/Makefile b/libs/Makefile
|
||||
index 23d951b..c442057 100755
|
||||
--- a/libs/Makefile
|
||||
+++ b/libs/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-SUBDIRS = sectioncrc dvbobjects
|
||||
+SUBDIRS = sectioncrc
|
||||
|
||||
subdirs: $(SUBDIRS)
|
||||
$(SUBDIRS):
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program 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, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program 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 OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="tsdecrypt"
|
||||
PKG_VERSION="10.0"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://georgi.unixsol.org/programs/tsdecrypt"
|
||||
PKG_URL="http://georgi.unixsol.org/programs/tsdecrypt/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libdvbcsa"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="tsdecrypt"
|
||||
PKG_LONGDESC="tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then decrypts it using libdvbcsa/ffdecsa and keys obtained from OSCAM or similar cam server"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
diff -Naur tsdecrypt-10.0/libfuncs/Makefile tsdecrypt-10.0.patch/libfuncs/Makefile
|
||||
--- tsdecrypt-10.0/libfuncs/Makefile 2013-09-12 12:53:27.000000000 +0200
|
||||
+++ tsdecrypt-10.0.patch/libfuncs/Makefile 2014-07-20 12:23:54.900762191 +0200
|
||||
@@ -1,5 +1,4 @@
|
||||
-CC = $(CROSS)$(TARGET)gcc
|
||||
-LINK = $(CROSS)$(TARGET)ld -o
|
||||
+LINK = $(LD) -o
|
||||
MKDEP = $(CC) -M -o $*.d $<
|
||||
|
||||
LIBRARY_LINK_OPTS = -L. -r
|
||||
diff -Naur tsdecrypt-10.0/libtsfuncs/Makefile tsdecrypt-10.0.patch/libtsfuncs/Makefile
|
||||
--- tsdecrypt-10.0/libtsfuncs/Makefile 2013-09-12 12:53:30.000000000 +0200
|
||||
+++ tsdecrypt-10.0.patch/libtsfuncs/Makefile 2014-07-20 12:23:54.901762318 +0200
|
||||
@@ -1,5 +1,4 @@
|
||||
-CC = $(CROSS)$(TARGET)gcc
|
||||
-LINK = $(CROSS)$(TARGET)ld -o
|
||||
+LINK = $(LD) -o
|
||||
MKDEP = $(CC) -M -o $*.d $<
|
||||
|
||||
LIBRARY_LINK_OPTS = -L. -r
|
||||
diff -Naur tsdecrypt-10.0/Makefile tsdecrypt-10.0.patch/Makefile
|
||||
--- tsdecrypt-10.0/Makefile 2013-09-12 12:53:16.000000000 +0200
|
||||
+++ tsdecrypt-10.0.patch/Makefile 2014-07-20 12:24:11.303809770 +0200
|
||||
@@ -1,5 +1,3 @@
|
||||
-CC = $(CROSS)$(TARGET)cc
|
||||
-STRIP = $(CROSS)$(TARGET)strip
|
||||
MKDEP = $(CC) -MP -MM -o $*.d $<
|
||||
RM = rm -f
|
||||
MV = mv -f
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program 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, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program 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 OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="tstools"
|
||||
PKG_VERSION="1.11"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://tstools.berlios.de/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/project/tstools.berlios/tstools-1_11.tgz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="command line tools for working with MPEG data"
|
||||
PKG_LONGDESC="This is a set of cross-platform command line tools for working with MPEG data."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
make -j1 CROSS_COMPILE=$TARGET_PREFIX
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="bwm-ng"
|
||||
PKG_VERSION="0.6.1"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gropp.org/?id=projects&sub=bwm-ng"
|
||||
PKG_URL="http://www.gropp.org/bwm-ng/bwm-ng-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses libstatgrab"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network/analyzer"
|
||||
PKG_SHORTDESC="bwm-ng: small and simple console-based live network and disk io bandwidth monitor"
|
||||
PKG_LONGDESC="Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-libstatgrab \
|
||||
--with-time \
|
||||
--with-getifaddrs \
|
||||
--with-sysctl \
|
||||
--with-sysctldisk \
|
||||
--with-procnetdev \
|
||||
--with-partitions"
|
||||
|
||||
post_unpack() {
|
||||
$SED "s:<curses.h>:<ncurses.h>:g" $PKG_BUILD/src/defines.h
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/ncurses"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libpcap"
|
||||
PKG_VERSION="1.7.4"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.tcpdump.org/"
|
||||
PKG_URL="http://www.tcpdump.org/release/libpcap-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="system interface for user-level packet capture"
|
||||
PKG_LONGDESC="libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \
|
||||
ac_cv_header_libusb_1_0_libusb_h=no \
|
||||
--disable-shared \
|
||||
--with-pcap=linux \
|
||||
--disable-bluetooth \
|
||||
--disable-can \
|
||||
--without-libnl \
|
||||
--disable-dbus \
|
||||
--disable-canusb"
|
||||
|
||||
pre_configure_target() {
|
||||
# When cross-compiling, configure can't set linux version
|
||||
# forcing it
|
||||
sed -i -e 's/ac_cv_linux_vers=unknown/ac_cv_linux_vers=2/' ../configure
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/usr/bin
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur libpcap-1.7.4/configure.in libpcap-1.7.4.patch/configure.in
|
||||
--- libpcap-1.7.4/configure.in 2015-04-22 22:19:15.000000000 +0200
|
||||
+++ libpcap-1.7.4.patch/configure.in 2016-03-26 10:36:25.193757606 +0100
|
||||
@@ -456,7 +456,7 @@
|
||||
if test x$with_libnl != xno ; then
|
||||
have_any_nl="no"
|
||||
|
||||
- incdir=-I/usr/include/libnl3
|
||||
+# incdir=-I/usr/include/libnl3
|
||||
libnldir=
|
||||
if test x$withval != x ; then
|
||||
libnldir=-L${withval}/lib/.libs
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libstatgrab"
|
||||
PKG_VERSION="0.91"
|
||||
PKG_REV="1"
|
||||
PKG_SITE="http://www.i-scream.org/libstatgrab/"
|
||||
PKG_URL="http://ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY=optional
|
||||
PKG_SECTION=libs
|
||||
PKG_SHORTDESC="provides cross platform access to statistics about the system on which it's run"
|
||||
PKG_LONGDESC="libstatgrab is a library that provides cross platform access to statistics about the system on which it's run. It's written in C and presents a selection of useful interfaces which can be used to access key system statistics. The current list of statistics includes CPU usage, memory utilisation, disk usage, process counts, network traffic, disk I/O, and more."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--disable-saidar \
|
||||
--disable-examples \
|
||||
--disable-manpages \
|
||||
--disable-setuid-binaries \
|
||||
--disable-setgid-binaries"
|
||||
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iftop"
|
||||
PKG_VERSION="1.0pre4"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://htop.sourceforge.net/"
|
||||
PKG_URL="http://www.ex-parrot.com/pdw/iftop/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses libpcap libnl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network/analyzer"
|
||||
PKG_SHORTDESC="iftop: display bandwidth usage on an interface"
|
||||
PKG_LONGDESC="iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts. Handy for answering the question 'why is our ADSL link so slow?'."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
pre_build_target() {
|
||||
mkdir -p $PKG_BUILD/.$TARGET_NAME
|
||||
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/ncurses -I$SYSROOT_PREFIX/usr/include/pcap"
|
||||
export LIBS="-lpcap -lnl-3 -lnl-genl-3"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 671241e..b6fece6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -294,42 +294,6 @@ if test x$libpcap_prefix = x ; then
|
||||
libpcap_prefix="/usr /usr/local /opt /software"
|
||||
fi
|
||||
|
||||
-AC_MSG_CHECKING([where to find pcap.h])
|
||||
-foundpcaph=0
|
||||
-oldCPPFLAGS=$CPPFLAGS
|
||||
-for test_prefix in "" $libpcap_prefix ; do
|
||||
- for x in "" /pcap ; do
|
||||
- if test x$test_prefix != x ; then
|
||||
- CPPFLAGS="$oldCPPFLAGS -I$test_prefix/include$x"
|
||||
- fi
|
||||
- AC_TRY_CPP([
|
||||
-#include <pcap.h>
|
||||
- ], [
|
||||
- AC_MSG_RESULT([$test_prefix/include$x])
|
||||
- foundpcaph=1
|
||||
- break
|
||||
- ])
|
||||
- done
|
||||
- if test $foundpcaph = 1 ; then
|
||||
- break
|
||||
- fi
|
||||
-done
|
||||
-
|
||||
-if test $foundpcaph = 0 ; then
|
||||
- AC_MSG_RESULT([no idea])
|
||||
- AC_MSG_ERROR([can't find pcap.h
|
||||
- You're not going to get very far without libpcap.])
|
||||
-else
|
||||
- dnl assume that -lpcap is under $test_prefix/lib
|
||||
- if test x$test_prefix != x ; then
|
||||
- LDFLAGS="$LDFLAGS -L$test_prefix/lib"
|
||||
- fi
|
||||
- AC_CHECK_LIB(pcap, pcap_open_live, , [
|
||||
- AC_MSG_ERROR([can't find libpcap
|
||||
- You're not going to get very far without libpcap.])
|
||||
- ])
|
||||
-fi
|
||||
-
|
||||
foundpcap=0
|
||||
AC_CHECK_HEADERS([pcap.h pcap/pcap.h], [
|
||||
foundpcap=1
|
||||
diff --git a/edline.c b/edline.c
|
||||
index 75f1a5a..aed80cf 100644
|
||||
--- a/edline.c
|
||||
+++ b/edline.c
|
||||
@@ -7,7 +7,7 @@
|
||||
static const char rcsid[] = "$Id: edline.c,v 1.2 2002/11/04 12:27:35 chris Exp $";
|
||||
|
||||
#include <ctype.h>
|
||||
-#include <curses.h>
|
||||
+#include <ncurses.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "iftop.h"
|
||||
diff --git a/iftop.c b/iftop.c
|
||||
index a090dcf..5851c86 100644
|
||||
--- a/iftop.c
|
||||
+++ b/iftop.c
|
||||
@@ -23,7 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <pthread.h>
|
||||
-#include <curses.h>
|
||||
+#include <ncurses.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iperf"
|
||||
PKG_VERSION="3.1.2"
|
||||
PKG_REV="2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://iperf.fr/"
|
||||
PKG_URL="https://iperf.fr/download/source/$PKG_NAME-$PKG_VERSION-source.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network/testing"
|
||||
PKG_SHORTDESC="iperf: A modern alternative for measuring maximum TCP and UDP bandwidth performance"
|
||||
PKG_LONGDESC="Iperf was developed by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP bandwidth performance. Iperf allows the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
diff -Naur a/Makefile.am b/Makefile.am
|
||||
--- a/Makefile.am 2015-10-16 19:01:09.000000000 +0200
|
||||
+++ b/Makefile.am 2016-01-06 21:22:34.118008794 +0100
|
||||
@@ -1 +1,8 @@
|
||||
+README: README.md
|
||||
+ fgrep -v "[Build Status]" $< \
|
||||
+ | markdown \
|
||||
+ | html2text -style pretty -nobs \
|
||||
+ | sed -e 's:>:>:g' \
|
||||
+ > $@.tmp
|
||||
+
|
||||
SUBDIRS = src examples
|
||||
diff -Naur a/src/Makefile.am b/src/Makefile.am
|
||||
--- a/src/Makefile.am 2015-10-16 19:01:09.000000000 +0200
|
||||
+++ b/src/Makefile.am 2016-01-06 21:26:12.352336266 +0100
|
||||
@@ -49,9 +49,9 @@
|
||||
iperf3_profile_SOURCES = main.c \
|
||||
$(libiperf_la_SOURCES)
|
||||
|
||||
-iperf3_profile_CFLAGS = -pg -g
|
||||
+iperf3_profile_CFLAGS = -g
|
||||
iperf3_profile_LDADD = libiperf.la
|
||||
-iperf3_profile_LDFLAGS = -pg -g
|
||||
+iperf3_profile_LDFLAGS = -g
|
||||
|
||||
# Specify the sources and various flags for the test cases
|
||||
t_timer_SOURCES = t_timer.c
|
||||
@@ -0,0 +1,50 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="irssi"
|
||||
PKG_VERSION="0.8.19"
|
||||
PKG_REV="1"
|
||||
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 ncurses libressl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="IRC client"
|
||||
PKG_LONGDESC="Irssi is a terminal based IRC client for UNIX systems"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-sysroot=$SYSROOT_PREFIX \
|
||||
--enable-ssl \
|
||||
--disable-glibtest \
|
||||
--without-socks \
|
||||
--with-textui \
|
||||
--without-bot \
|
||||
--without-proxy \
|
||||
--with-gc \
|
||||
--without-perl \
|
||||
--without-sco"
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -I$ROOT/$PKG_BUILD"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iw"
|
||||
PKG_VERSION="4.3"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="PUBLIC_DOMAIN"
|
||||
PKG_SITE="http://wireless.kernel.org/en/users/Documentation/iw"
|
||||
PKG_URL="https://www.kernel.org/pub/software/network/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain libnl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="iw is a new nl80211 based CLI configuration utility for wireless devices"
|
||||
PKG_LONGDESC="iw is a new nl80211 based CLI configuration utility for wireless devices. It supports all new drivers that have been added to the kernel recently."
|
||||
|
||||
pre_configure_target() {
|
||||
# iw fails at runtime with lto enabled
|
||||
strip_lto
|
||||
|
||||
export LDFLAGS="$LDFLAGS -pthread"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # meh
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="lftp"
|
||||
PKG_VERSION="4.6.5"
|
||||
PKG_REV="1"
|
||||
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 libressl zlib"
|
||||
PKG_PRIORITY="optional"
|
||||
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"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls --with-gnu-ld --without-gnutls --with-openssl"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
# fails to build with gcc 4.9 + lto
|
||||
strip_lto
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="ncftp"
|
||||
PKG_VERSION="3.2.5"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.ncftp.com/ncftp/"
|
||||
PKG_URL="ftp://ftp.ncftp.com/ncftp/ncftp-${PKG_VERSION}-src.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP)."
|
||||
PKG_LONGDESC="NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP)."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_librtmp_rtmp_h=yes \
|
||||
--enable-readline \
|
||||
--disable-universal \
|
||||
--disable-ccdv \
|
||||
--without-curses"
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -I../"
|
||||
}
|
||||
|
||||
pre_build_target() {
|
||||
mkdir -p $PKG_BUILD/.$TARGET_NAME
|
||||
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="ngrep"
|
||||
PKG_VERSION="1.45"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://ngrep.sourceforge.net/"
|
||||
PKG_URL="http://prdownloads.sourceforge.net/ngrep/ngrep-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libpcap"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network/analyzer"
|
||||
PKG_SHORTDESC="ngrep - network grep"
|
||||
PKG_LONGDESC="ngrep - network grep"
|
||||
PKG_DISCLAIMER="this is an unofficial addon. please don't ask for support in openelec forum / irc channel"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-pcap-includes=$SYSROOT_PREFIX/usr/include --disable-dropprivs"
|
||||
|
||||
pre_build_target() {
|
||||
mkdir -p $PKG_BUILD/.$TARGET_NAME
|
||||
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="nmap"
|
||||
PKG_VERSION="7.11"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://nmap.org/"
|
||||
PKG_URL="http://nmap.org/dist/${PKG_NAME}-${PKG_VERSION}.tgz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="network tool"
|
||||
PKG_LONGDESC="Free Security Scanned for Network"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--with-pcap=linux \
|
||||
--with-libpcap=included \
|
||||
--with-libpcre=included \
|
||||
--with-libdnet=included \
|
||||
--with-liblua=included \
|
||||
--with-liblinear=included"
|
||||
|
||||
pre_configure_target() {
|
||||
# nmap fails to build in subdirs
|
||||
cd $ROOT/$PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
|
||||
export CPPFLAGS="$CPPFLAGS -Iliblua"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="rsync"
|
||||
PKG_VERSION="3.1.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.samba.org/ftp/rsync/rsync.html"
|
||||
PKG_URL="https://download.samba.org/pub/rsync/src/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network/backup"
|
||||
PKG_SHORTDESC="rsync: A replacement for rcp that has many more features"
|
||||
PKG_LONGDESC="Rsync uses an own 'rsync' algorithm which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs between two files normally requires local access to both files."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-acl-support \
|
||||
--disable-xattr-support \
|
||||
--with-included-popt"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="sshfs"
|
||||
PKG_VERSION="2.7"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/libfuse/sshfs"
|
||||
PKG_URL="https://github.com/libfuse/sshfs/releases/download/sshfs-$PKG_VERSION/sshfs-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain fuse glib"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="sshfs: a filesystem client based on the SSH File Transfer Protocol"
|
||||
PKG_LONGDESC="This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there's nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="tcpdump"
|
||||
PKG_VERSION="4.7.4"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_SITE="http://www.tcpdump.org/"
|
||||
PKG_URL="http://www.tcpdump.org/release/tcpdump-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libpcap"
|
||||
PKG_PRIORITY=optional
|
||||
PKG_SECTION="network/analyzer"
|
||||
PKG_SHORTDESC="powerful tool for network monitoring and data acquisition"
|
||||
PKG_LONGDESC="This program allows you to dump the traffic on a network. tcpdump is able to examine IPv4, ICMPv4, IPv6, ICMPv6, UDP, TCP, SNMP, AFS BGP, RIP, PIM, DVMRP, IGMP, SMB, OSPF, NFS and many other packet types."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-pcap=linux --with-crypto=no --disable-ipv6"
|
||||
|
||||
pre_configure_target() {
|
||||
# When cross-compiling, configure can't set linux version
|
||||
# forcing it
|
||||
sed -i -e 's/ac_cv_linux_vers=unknown/ac_cv_linux_vers=2/' ../configure
|
||||
}
|
||||
|
||||
pre_build_target() {
|
||||
# discard native system includes
|
||||
sed -i "s%-I/usr/include%%g" Makefile
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="udpxy"
|
||||
PKG_VERSION="1.0.23-0"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.udpxy.com/download-en.html"
|
||||
PKG_URL="$SOURCEFORGE_SRC/project/udpxy/udpxy/Chipmunk-1.0/${PKG_NAME}.${PKG_VERSION}-prod.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="udpxy is a UDP-to-HTTP multicast traffic relay daemon"
|
||||
PKG_LONGDESC="udpxy is a UDP-to-HTTP multicast traffic relay daemon"
|
||||
PKG_DISCLAIMER="this is an unofficial addon. please don't ask for support in openelec forum / irc channel"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_target() {
|
||||
# fails to build with gcc 4.9 + lto
|
||||
strip_lto
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="wireless_tools"
|
||||
PKG_VERSION="29"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
|
||||
PKG_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$PKG_NAME.$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="${PKG_NAME}.${PKG_VERSION}"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="debug/tools"
|
||||
PKG_SHORTDESC="wireless-tools: tools allowing to manipulate the Wireless Extensions"
|
||||
PKG_LONGDESC="The Wireless Tools (WT) is a set of tools allowing to manipulate the Wireless Extensions. They use a textual interface and are rather crude, but aim to support the full Wireless Extension. There are many other tools you can use with Wireless Extensions, however Wireless Tools is the reference implementation."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_Target() {
|
||||
# wireless_tools fails to build on some systems with LTO enabled
|
||||
strip_lto
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make PREFIX=/usr CC="$CC" AR="$AR" \
|
||||
CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" iwmulticall
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="RPi.GPIO"
|
||||
PKG_VERSION="0.6.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://sourceforge.net/p/raspberry-gpio-python/"
|
||||
PKG_URL="https://pypi.python.org/packages/source/R/RPi.GPIO/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="A module to control Raspberry Pi GPIO channels"
|
||||
PKG_LONGDESC="A module to control Raspberry Pi GPIO channels"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_target() {
|
||||
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||
export LDSHARED="$CC -shared"
|
||||
export CPPFLAGS="$TARGET_CPPFLAGS -I${SYSROOT_PREFIX}/usr/include/python2.7"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="gpiozero"
|
||||
PKG_VERSION="1.2.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="https://github.com/RPi-Distro/python-gpiozero"
|
||||
PKG_URL="https://pypi.python.org/packages/source/g/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="A simple interface to everyday GPIO components used with Raspberry Pi"
|
||||
PKG_LONGDESC="A simple interface to everyday GPIO components used with Raspberry Pi"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="picamera"
|
||||
PKG_VERSION="1.10"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="https://github.com/waveform80/picamera"
|
||||
PKG_URL="https://pypi.python.org/packages/source/p/picamera/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host bcm2835-driver"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="A python and shell interface for the Raspberry Pi camera module"
|
||||
PKG_LONGDESC="A python and shell interface for the Raspberry Pi camera module"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
74
packages/addons/addon-depends/runc/package.mk
Normal file
@@ -0,0 +1,74 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.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="runc"
|
||||
PKG_VERSION="e874369"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="APL"
|
||||
PKG_SITE="https://github.com/opencontainers/runc"
|
||||
PKG_URL="https://github.com/opencontainers/runc/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="toolchain go"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="runc is a CLI tool for spawning and running containers according to the OCI specification"
|
||||
PKG_LONGDESC="runc is a CLI tool for spawning and running containers according to the OCI specification"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_make_target() {
|
||||
case $TARGET_ARCH in
|
||||
x86_64)
|
||||
export GOARCH=amd64
|
||||
;;
|
||||
arm)
|
||||
export GOARCH=arm
|
||||
|
||||
case $TARGET_CPU in
|
||||
arm1176jzf-s)
|
||||
export GOARM=6
|
||||
;;
|
||||
cortex-a7)
|
||||
export GOARM=7
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
export GOOS=linux
|
||||
export CGO_ENABLED=1
|
||||
export CGO_NO_EMULATION=1
|
||||
export CGO_CFLAGS=$CFLAGS
|
||||
export LDFLAGS="-w -extldflags -static -X main.gitCommit=${PKG_VERSION} -extld $TARGET_CC"
|
||||
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 $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/Godeps/_workspace/src/github.com/opencontainers/runc
|
||||
}
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
$GOLANG build -v -o bin/runc -a -tags "cgo static_build" -ldflags "$LDFLAGS" ./
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="autossh"
|
||||
PKG_VERSION="1.4e"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.harding.motd.ca/"
|
||||
PKG_URL="http://www.harding.motd.ca/autossh/${PKG_NAME}-${PKG_VERSION}.tgz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="ssh tool"
|
||||
PKG_LONGDESC="SSH tool to keep alive tunnels"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes"
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -I."
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="efivar"
|
||||
PKG_VERSION="70e63d4" # 0.15 # Todo: later versions with buildproblems
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="https://github.com/vathpela/efivar"
|
||||
PKG_URL="https://github.com/vathpela/efivar-devel/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="efivar-devel-$PKG_VERSION*"
|
||||
PKG_DEPENDS_TARGET="toolchain efivar:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="evivar: maniulate EFI Variables"
|
||||
PKG_LONGDESC="Tools and library to manipulate EFI variables."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_host() {
|
||||
make -C src/ makeguids
|
||||
}
|
||||
|
||||
make_target() {
|
||||
strip_lto
|
||||
make -C src/ libefivar.a efivar-guids.h efivar.h
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
: # noop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||
cp -P src/libefivar.a $SYSROOT_PREFIX/usr/lib/
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include/efivar
|
||||
cp -P src/efivar.h $SYSROOT_PREFIX/usr/include/efivar
|
||||
cp -P src/efivar-guids.h $SYSROOT_PREFIX/usr/include/efivar
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
fix for
|
||||
|
||||
./makeguids guids.txt guids.bin names.bin guid-symbols.S efivar-guids.h
|
||||
makeguids: malloc.c:2395: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
|
||||
|
||||
--- a/src/makeguids.c 2014-10-15 06:48:49.000000000 -0700
|
||||
+++ b/src/makeguids.c 2016-05-05 05:40:35.964612900 -0700
|
||||
@@ -99,10 +99,8 @@
|
||||
if (rc < 0)
|
||||
err(1, "makeguids: could not read \"%s\"", argv[1]);
|
||||
|
||||
- /* strictly speaking, this *has* to be too large. */
|
||||
- struct guidname *outbuf = calloc(inlen, sizeof (char));
|
||||
- if (!outbuf)
|
||||
- err(1, "makeguids");
|
||||
+ /* reallocate later to required size */
|
||||
+ struct guidname *outbuf = NULL;
|
||||
|
||||
char *guidstr = inbuf;
|
||||
unsigned int line;
|
||||
@@ -133,6 +131,11 @@
|
||||
err(1, "makeguids: \"%s\": 4 invalid data on line %d",
|
||||
argv[1], line);
|
||||
|
||||
+ outbuf = realloc(outbuf, line * sizeof (struct guidname));
|
||||
+ if (!outbuf)
|
||||
+ err(1, "makeguids");
|
||||
+
|
||||
+ bzero(&outbuf[line-1], sizeof (struct guidname));
|
||||
memcpy(&outbuf[line-1].guid, &guid, sizeof(guid));
|
||||
strcpy(outbuf[line-1].symbol, "efi_guid_");
|
||||
strncat(outbuf[line-1].symbol, symbol,
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libmtp"
|
||||
PKG_VERSION="1.1.11"
|
||||
PKG_REV="3"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://libmtp.sourceforge.net/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/project/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libusb"
|
||||
PKG_SECTION="libs"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SHORTDESC="MTP library"
|
||||
PKG_LONGDESC="libmtp is an Initiator implementation of the Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems. We implement MTP Basic, the stuff proposed for standardization."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--disable-mtpz"
|
||||
@@ -0,0 +1,99 @@
|
||||
diff -Naur a/Makefile.am b/Makefile.am
|
||||
--- a/Makefile.am 2015-10-07 00:43:15.000000000 -0700
|
||||
+++ b/Makefile.am 2016-04-22 14:16:07.656866841 -0700
|
||||
@@ -11,21 +11,6 @@
|
||||
if USE_LINUX
|
||||
udevrulesdir=@UDEV@/rules.d
|
||||
hwdbdir=@UDEV@/hwdb.d
|
||||
-udevrules_DATA=@UDEV_RULES@
|
||||
-hwdb_DATA=69-libmtp.hwdb
|
||||
-noinst_DATA=libmtp.usermap libmtp.fdi
|
||||
-
|
||||
-libmtp.usermap: util/mtp-hotplug
|
||||
- util/mtp-hotplug > libmtp.usermap
|
||||
-
|
||||
-@UDEV_RULES@: util/mtp-hotplug
|
||||
- util/mtp-hotplug -u -p"@UDEV@" @UDEV_GROUP@ @UDEV_MODE@ > @UDEV_RULES@
|
||||
-
|
||||
-libmtp.fdi: util/mtp-hotplug
|
||||
- util/mtp-hotplug -H > libmtp.fdi
|
||||
-
|
||||
-$(hwdb_DATA): util/mtp-hotplug
|
||||
- util/mtp-hotplug -w > $(hwdb_DATA)
|
||||
|
||||
CLEANFILES = libmtp.usermap @UDEV_RULES@ libmtp.fdi libmtp.hwdb
|
||||
endif
|
||||
diff -Naur a/Makefile.in b/Makefile.in
|
||||
--- a/Makefile.in 2016-02-10 12:17:34.000000000 -0800
|
||||
+++ b/Makefile.in 2016-04-22 14:14:22.638794537 -0700
|
||||
@@ -161,7 +161,7 @@
|
||||
}
|
||||
am__installdirs = "$(DESTDIR)$(hwdbdir)" "$(DESTDIR)$(pkgconfigdir)" \
|
||||
"$(DESTDIR)$(udevrulesdir)"
|
||||
-DATA = $(hwdb_DATA) $(noinst_DATA) $(pkgconfig_DATA) $(udevrules_DATA)
|
||||
+DATA = $(pkgconfig_DATA)
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
am__recursive_targets = \
|
||||
@@ -452,21 +452,8 @@
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool config.lt
|
||||
-install-hwdbDATA: $(hwdb_DATA)
|
||||
- @$(NORMAL_INSTALL)
|
||||
- @list='$(hwdb_DATA)'; test -n "$(hwdbdir)" || list=; \
|
||||
- if test -n "$$list"; then \
|
||||
- echo " $(MKDIR_P) '$(DESTDIR)$(hwdbdir)'"; \
|
||||
- $(MKDIR_P) "$(DESTDIR)$(hwdbdir)" || exit 1; \
|
||||
- fi; \
|
||||
- for p in $$list; do \
|
||||
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
- echo "$$d$$p"; \
|
||||
- done | $(am__base_list) | \
|
||||
- while read files; do \
|
||||
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(hwdbdir)'"; \
|
||||
- $(INSTALL_DATA) $$files "$(DESTDIR)$(hwdbdir)" || exit $$?; \
|
||||
- done
|
||||
+install-hwdbDATA:
|
||||
+ echo nope
|
||||
|
||||
uninstall-hwdbDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@@ -871,7 +858,7 @@
|
||||
|
||||
info-am:
|
||||
|
||||
-install-data-am: install-hwdbDATA install-pkgconfigDATA \
|
||||
+install-data-am: install-pkgconfigDATA \
|
||||
install-udevrulesDATA
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
@@ -932,7 +919,7 @@
|
||||
distdir distuninstallcheck dvi dvi-am html html-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-dvi install-dvi-am install-exec install-exec-am \
|
||||
- install-html install-html-am install-hwdbDATA install-info \
|
||||
+ install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-pkgconfigDATA install-ps install-ps-am install-strip \
|
||||
install-udevrulesDATA installcheck installcheck-am installdirs \
|
||||
@@ -944,19 +931,6 @@
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
-
|
||||
-@USE_LINUX_TRUE@libmtp.usermap: util/mtp-hotplug
|
||||
-@USE_LINUX_TRUE@ util/mtp-hotplug > libmtp.usermap
|
||||
-
|
||||
-@USE_LINUX_TRUE@@UDEV_RULES@: util/mtp-hotplug
|
||||
-@USE_LINUX_TRUE@ util/mtp-hotplug -u -p"@UDEV@" @UDEV_GROUP@ @UDEV_MODE@ > @UDEV_RULES@
|
||||
-
|
||||
-@USE_LINUX_TRUE@libmtp.fdi: util/mtp-hotplug
|
||||
-@USE_LINUX_TRUE@ util/mtp-hotplug -H > libmtp.fdi
|
||||
-
|
||||
-@USE_LINUX_TRUE@$(hwdb_DATA): util/mtp-hotplug
|
||||
-@USE_LINUX_TRUE@ util/mtp-hotplug -w > $(hwdb_DATA)
|
||||
-
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="diffutils"
|
||||
PKG_VERSION="3.3"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/diffutils/"
|
||||
PKG_URL="ftp://ftp.gnu.org/gnu/diffutils/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="GNU Diffutils"
|
||||
PKG_LONGDESC="GNU Diffutils is a package of several programs related to finding differences between files."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--without-libsigsegv-prefix \
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dtach"
|
||||
PKG_VERSION="0.8"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dtach.sourceforge.net"
|
||||
PKG_URL="http://download.sourceforge.net/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="dtach - A program that emulates the detach feature of screen"
|
||||
PKG_LONGDESC="dtach - A program that emulates the detach feature of screen"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="efibootmgr"
|
||||
PKG_VERSION="95f7a63" # 0.8.0
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/vathpela/efibootmgr"
|
||||
PKG_URL="https://github.com/vathpela/efibootmgr-devel/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="efibootmgr-devel-$PKG_VERSION*"
|
||||
PKG_DEPENDS_TARGET="toolchain efivar pciutils zlib"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="EFI Boot Manager"
|
||||
PKG_LONGDESC="This is a Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager configuration. This application can create and destroy boot entries, change the boot order, change the next running boot option, and more."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_make_target() {
|
||||
strip_lto
|
||||
export EXTRA_CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include -I$SYSROOT_PREFIX/usr/include/efivar -fgnu89-inline"
|
||||
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -ludev -ldl"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur efibootmgr-ceb177a/src/lib/scsi_ioctls.c efibootmgr-ceb177a.patch/src/lib/scsi_ioctls.c
|
||||
--- efibootmgr-ceb177a/src/lib/scsi_ioctls.c 2014-10-21 22:17:27.000000000 +0200
|
||||
+++ efibootmgr-ceb177a.patch/src/lib/scsi_ioctls.c 2016-03-26 13:49:59.119669675 +0100
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <linux/nvme.h>
|
||||
+#include <linux/nvme_ioctl.h>
|
||||
#include "scsi_ioctls.h"
|
||||
|
||||
int
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="evtest"
|
||||
PKG_VERSION="1.33"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://cgit.freedesktop.org/evtest/"
|
||||
PKG_URL="http://cgit.freedesktop.org/evtest/snapshot/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libxml2"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="debug/tools"
|
||||
PKG_SHORTDESC="evtest: Simple tool for input event debugging."
|
||||
PKG_LONGDESC="evtest is a simple tool for input event debugging."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="fdupes"
|
||||
PKG_VERSION="1.51"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://premium.caribe.net/~adrian2/fdupes.html"
|
||||
PKG_URL="https://fdupes.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="FDUPES is a program for identifying or deleting duplicate files residing within specified directories"
|
||||
PKG_LONGDESC="FDUPES is a program for identifying or deleting duplicate files residing within specified directories"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1d5e41a..6dc6da4 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -71,7 +71,6 @@ MKDIR = mkdir -p
|
||||
#
|
||||
# Make Configuration
|
||||
#
|
||||
-CC = gcc
|
||||
COMPILER_OPTIONS = -Wall -O -g
|
||||
|
||||
CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) $(OMIT_GETOPT_LONG)
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="file"
|
||||
PKG_VERSION="5.25"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.darwinsys.com/file/"
|
||||
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_PRIORITY="optional"
|
||||
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_CONFIGURE_OPTS_HOST="--enable-fsect-man5 --enable-static --disable-shared"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-fsect-man5 --enable-static --disable-shared"
|
||||
|
||||
makeinstall_target() {
|
||||
: # meh
|
||||
}
|
||||
@@ -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);
|
||||
@@ -0,0 +1,25 @@
|
||||
From 1191268f518d298c8617a4a74644ee1bb627f614 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Saraev <stefan@saraev.ca>
|
||||
Date: Mon, 25 Aug 2014 15:35:14 +0300
|
||||
Subject: [PATCH] move magic.mgc to addon/data
|
||||
|
||||
---
|
||||
src/magic.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/src/magic.c b/src/magic.c
|
||||
index e4bd12b..59c1456 100644
|
||||
--- a/src/magic.c
|
||||
+++ b/src/magic.c
|
||||
@@ -100,7 +100,7 @@ get_default_magic(void)
|
||||
if ((home = getenv("HOME")) == NULL)
|
||||
return MAGIC;
|
||||
|
||||
- if (asprintf(&hmagicpath, "%s/.magic.mgc", home) < 0)
|
||||
+ if (asprintf(&hmagicpath, "%s/.kodi/addons/virtual.system-tools/data/magic.mgc", home) < 0)
|
||||
return MAGIC;
|
||||
if (stat(hmagicpath, &st) == -1) {
|
||||
free(hmagicpath);
|
||||
--
|
||||
1.7.2.5
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="getscancodes"
|
||||
PKG_VERSION="1.0"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://keytouch.sourceforge.net"
|
||||
PKG_URL="$SOURCEFORGE_SRC/keytouch/getscancodes-${PKG_VERSION}.tar.gz"
|
||||
PKG_SOURCE_DIR="$PKG_NAME"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="Shows the scancode of the pressed or released key"
|
||||
PKG_LONGDESC="Shows the scancode of the pressed or released key"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
From 06c160f28cceb32be4c8fcead3f33691a2469464 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Saraev <stefan@saraev.ca>
|
||||
Date: Thu, 21 Nov 2013 23:29:07 +0200
|
||||
Subject: [PATCH] crosscompile
|
||||
|
||||
---
|
||||
Makefile | 1 -
|
||||
1 files changed, 0 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 86ab501..355fb3d 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -2,7 +2,6 @@ TARGET = getscancodes
|
||||
SOURCES = getscancodes.c
|
||||
|
||||
CFLAGS=-O2 -Wall
|
||||
-CC=gcc
|
||||
|
||||
OBJECTS=$(SOURCES:.c=.o)
|
||||
|
||||
--
|
||||
1.7.2.5
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hd-idle"
|
||||
PKG_VERSION="1.04"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://hd-idle.sourceforge.net/"
|
||||
PKG_URL="http://downloads.sourceforge.net/project/hd-idle/${PKG_NAME}-${PKG_VERSION}.tgz"
|
||||
PKG_SOURCE_DIR="$PKG_NAME"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="hd-idle is a [Linux] utility program for spinning-down external disks after a period of idle time."
|
||||
PKG_LONGDESC="hd-idle is a utility program for spinning-down external disks after a period of idle time. Since most external IDE disk enclosures don't support setting the IDE idle timer, a program like hd-idle is required to spin down idle disks automatically."
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 130afd8..480032e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -43,8 +43,8 @@ clean:
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
|
||||
install: $(TARGET)
|
||||
- install -D -g root -o root $(TARGET) $(TARGET_DIR)/sbin/$(TARGET)
|
||||
- install -D -g root -o root $(TARGET).1 $(TARGET_DIR)/share/man/man1/$(TARGET).1
|
||||
+ install -D $(TARGET) $(TARGET_DIR)/sbin/$(TARGET)
|
||||
+ install -D $(TARGET).1 $(TARGET_DIR)/share/man/man1/$(TARGET).1
|
||||
|
||||
hd-idle.o: hd-idle.c
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hddtemp"
|
||||
PKG_VERSION="0.3-beta15"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.guzu.net/linux/hddtemp.php"
|
||||
PKG_URL="http://download.savannah.gnu.org/releases/hddtemp/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="debug/tools"
|
||||
PKG_SHORTDESC="hddtemp: tool that reports hard drive temperature"
|
||||
PKG_LONGDESC="hddtemp is a small utility (daemonizable) that gives you the temperature of your hard drive by reading S.M.A.R.T. informations (for drives that support this feature)."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hid_mapper"
|
||||
PKG_VERSION="0"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE=""
|
||||
PKG_URL="http://www.coldsource.net/hid_mapper.tar.gz"
|
||||
PKG_SOURCE_DIR="${PKG_NAME}_beta"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="generic HID mapper"
|
||||
PKG_LONGDESC="generic HID mapper"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nope
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index f98abbd..9d1d524 100755
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -9,13 +9,13 @@ EXEC=hid_mapper
|
||||
VERSION=1.0
|
||||
|
||||
all: $(OBJS)
|
||||
- g++ $(LDFLAGS) $(OBJS) -o $(EXEC)
|
||||
+ ${CXX} $(LDFLAGS) $(OBJS) -o $(EXEC)
|
||||
|
||||
%.o: %.cpp
|
||||
- g++ -c $(CPPFLAGS) $<
|
||||
+ ${CXX} -c $(CPPFLAGS) $<
|
||||
|
||||
%.o: %.c
|
||||
- gcc -c $(CFLAGS) $<
|
||||
+ ${CC} -c $(CFLAGS) $<
|
||||
|
||||
deb:
|
||||
cp $(EXEC) package/usr/bin
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/hid.c b/hid.c
|
||||
index 2830b58..a652222 100644
|
||||
--- a/hid.c
|
||||
+++ b/hid.c
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
#include <stdio.h>
|
||||
+#include <sys/time.h>
|
||||
|
||||
#define SYSFS_HIDRAW_CLASS_PATH "/sys/class/hidraw"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
diff --git a/MapReader.cpp b/MapReader.cpp
|
||||
index e64b636..bd1ab68 100644
|
||||
--- a/MapReader.cpp
|
||||
+++ b/MapReader.cpp
|
||||
@@ -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' && ptr[i]!=' ')
|
||||
- key_name[i] = ptr[i++];
|
||||
+ {
|
||||
+ key_name[i] = ptr[i];
|
||||
+ i++;
|
||||
+ }
|
||||
|
||||
if(i==KEY_NAME_MAXLENGTH)
|
||||
{
|
||||
@@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="i2c-tools"
|
||||
PKG_VERSION="3.1.2"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.lm-sensors.org/wiki/I2CTools"
|
||||
PKG_URL="http://fossies.org/linux/misc/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="debug/tools"
|
||||
PKG_SHORTDESC="i2c-tools: bus probing tool, eeprom decoding/programming and SMBus python interface"
|
||||
PKG_LONGDESC="The i2c-tools package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_make_target() {
|
||||
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||
export LDSHARED="$CC -shared"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make EXTRA="py-smbus" \
|
||||
CC="$TARGET_CC" \
|
||||
AR="$TARGET_AR" \
|
||||
CFLAGS="$TARGET_CFLAGS" \
|
||||
CPPFLAGS="$TARGET_CPPFLAGS -I${SYSROOT_PREFIX}/usr/include/python2.7"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="jq"
|
||||
PKG_VERSION="1.5"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://stedolan.github.io/jq/"
|
||||
PKG_URL="http://github.com/stedolan/jq/releases/download/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="jq is a command-line JSON processor"
|
||||
PKG_LONGDESC="jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text."
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||
--enable-static \
|
||||
--disable-maintainer-mode"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="lm_sensors"
|
||||
PKG_VERSION="3.4.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://secure.netroedge.com/~lm78/"
|
||||
PKG_URL="http://ftp.gwdg.de/pub/linux/misc/lm-sensors/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="lm_sensors: Hardware monitoring via the SMBus"
|
||||
PKG_LONGDESC="lm_sensors is a package to get data from the SMB (System Management Bus - an i2c bus) on modern mainboards. It consists of kernel modules and users space tools to get stuff like cpu / mb temperature, voltages, fan speed..."
|
||||
|
||||
# TODO: PKG_MAKE_OPTS_TARGET + ETCDIR=/storage/.kodi/addons/tools.lm_sensors/data if one wants sensor3.conf..
|
||||
PKG_MAKE_OPTS_TARGET="PREFIX=/usr CC=$TARGET_CC AR=$TARGET_AR"
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr"
|
||||
|
||||
pre_make_target() {
|
||||
export CFLAGS="$TARGET_CFLAGS"
|
||||
export CPPFLAGS="$TARGET_CPPFLAGS"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # meh
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
From 0b2b2e26bbae3d06580080a66a85e5e0d90ea9f6 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Saraev <stefan@saraev.ca>
|
||||
Date: Sun, 10 Aug 2014 14:21:19 +0300
|
||||
Subject: [PATCH] link static
|
||||
|
||||
---
|
||||
prog/sensors/Module.mk | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/prog/sensors/Module.mk b/prog/sensors/Module.mk
|
||||
index b656441..ad59874 100644
|
||||
--- a/prog/sensors/Module.mk
|
||||
+++ b/prog/sensors/Module.mk
|
||||
@@ -40,7 +40,7 @@ REMOVESENSORSMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGSENSORSMAN1DIR)/%
|
||||
LIBICONV := $(shell if /sbin/ldconfig -p | grep -q '/libiconv\.so$$' ; then echo \-liconv; else echo; fi)
|
||||
|
||||
$(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
|
||||
- $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors
|
||||
+ $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -Wl,-Bstatic -lsensors -Wl,-Bdynamic -lm
|
||||
|
||||
all-prog-sensors: $(PROGSENSORSTARGETS)
|
||||
user :: all-prog-sensors
|
||||
--
|
||||
1.7.2.5
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="lshw"
|
||||
PKG_VERSION="B.02.17"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://ezix.org/project/wiki/HardwareLiSter"
|
||||
PKG_URL="http://ezix.org/software/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="lshw (Hardware Lister)"
|
||||
PKG_LONGDESC="lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
make CXX=$CXX -C src/
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mrxvt"
|
||||
PKG_VERSION="0.5.4"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://materm.sourceforge.net/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/materm/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="mrxvt: Lightweight Xterm replacement"
|
||||
PKG_LONGDESC="Mrxvt (previously named as materm) is a lightweight and powerful multi-tabbed X terminal emulator based on the popular rxvt and aterm. It implements many useful features seen in some modern X terminal emulators, like gnome-terminal and konsole, but keep to be lightweight and independent from the GNOME and KDE desktop environment."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_setpgrp_void=no \
|
||||
--enable-minimal \
|
||||
--disable-frills \
|
||||
--enable-keepscrolling \
|
||||
--disable-selectionscrolling \
|
||||
--enable-mousewheel \
|
||||
--disable-mouseslipwheel \
|
||||
--enable-rxvt-scroll \
|
||||
--disable-half-shadow \
|
||||
--enable-lastlog \
|
||||
--enable-sessionmgr \
|
||||
--enable-linespace \
|
||||
--enable-24bits \
|
||||
--enable-256colors \
|
||||
--enable-cursor-blink \
|
||||
--enable-pointer-blank \
|
||||
--disable-text-shadow \
|
||||
--disable-menubar \
|
||||
--disable-transparency \
|
||||
--disable-tinting \
|
||||
--disable-xrender \
|
||||
--disable-xpm \
|
||||
--disable-jpeg \
|
||||
--disable-png \
|
||||
--disable-xft \
|
||||
--enable-ttygid \
|
||||
--enable-backspace-key \
|
||||
--enable-delete-key \
|
||||
--disable-resources \
|
||||
--disable-swapscreen \
|
||||
--disable-use-fifo \
|
||||
--disable-greek \
|
||||
--disable-xim \
|
||||
--disable-utempter"
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mtpfs"
|
||||
PKG_VERSION="1.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.adebenham.com/mtpfs/"
|
||||
PKG_URL="http://www.adebenham.com/files/mtp/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain fuse libmtp glib"
|
||||
PKG_PRIORITY="optional"
|
||||
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_CONFIGURE_OPTS_TARGET="--disable-mad"
|
||||
|
||||
# TODO: mtpfs runs host utils while building, fix and set PKG_ARCH="any"
|
||||
|
||||
pre_configure_target() {
|
||||
export LIBS="-lusb-1.0 -ludev"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||