dvb-apps: add package

This commit is contained in:
Lukas Rusak 2016-04-25 10:27:47 -07:00
parent 25866498db
commit eff15eb5b1
4 changed files with 77 additions and 0 deletions

View File

@ -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
}

View File

@ -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"

View File

@ -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

View File

@ -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 $@