mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
new package: add initial package 'tvheadend'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
95d70ad684
commit
834a17217f
12
packages/multimedia/tvheadend/build
Executable file
12
packages/multimedia/tvheadend/build
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --prefix=/usr \
|
||||
--arch=$TARGET_ARCH \
|
||||
--cpu=$TARGET_CPU \
|
||||
--cc=$TARGET_CC \
|
||||
--release
|
||||
|
||||
make
|
31
packages/multimedia/tvheadend/init.d/55_tvheadend
Executable file
31
packages/multimedia/tvheadend/init.d/55_tvheadend
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||
# http://www.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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
# start tvheadend tv server
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
. /etc/profile
|
||||
|
||||
progress "starting TV Server"
|
||||
|
||||
tvheadend -C -s -f -u root -g root
|
6
packages/multimedia/tvheadend/install
Executable file
6
packages/multimedia/tvheadend/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/build.Linux/tvheadend $INSTALL/usr/bin
|
14
packages/multimedia/tvheadend/meta
Normal file
14
packages/multimedia/tvheadend/meta
Normal file
@ -0,0 +1,14 @@
|
||||
PKG_NAME="tvheadend"
|
||||
PKG_VERSION="5650"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
|
||||
PKG_URL="http://sources.openelec.tv/svn/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="avahi"
|
||||
PKG_BUILD_DEPENDS="toolchain avahi"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="tvheadend: a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources."
|
||||
PKG_LONGDESC="Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources. It also comes with a powerful and easy to use web interface both used for configuration and day-to-day operations, such as searching the EPG and scheduling recordings. Even so, the most notable feature of Tvheadend is how easy it is to set up: Install it, navigate to the web user interface, drill into the TV adapters tab, select your current location and Tvheadend will start scanning channels and present them to you in just a few minutes"
|
||||
PKG_IS_ADDON="no"
|
@ -53,6 +53,9 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
MEDIACENTER="xbmc-dharma"
|
||||
|
||||
# build and install Tvheadend TV server (yes / no)
|
||||
TVHEADEND="no"
|
||||
|
||||
# Skins to install (Confluence)
|
||||
SKINS="Confluence"
|
||||
|
||||
@ -79,6 +82,9 @@
|
||||
# FAAC is an MPEG-4 and MPEG-2 AAC encoder (yes / no)
|
||||
FAAC_SUPPORT="yes"
|
||||
|
||||
# build and install Tvheadend TV server (yes / no)
|
||||
TVHEADEND="no"
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
|
@ -53,6 +53,9 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
MEDIACENTER="xbmc-dharma"
|
||||
|
||||
# build and install Tvheadend TV server (yes / no)
|
||||
TVHEADEND="yes"
|
||||
|
||||
# Skins to install (Confluence)
|
||||
SKINS="Confluence"
|
||||
|
||||
@ -79,6 +82,9 @@
|
||||
# FAAC is an MPEG-4 and MPEG-2 AAC encoder (yes / no)
|
||||
FAAC_SUPPORT="yes"
|
||||
|
||||
# build and install Tvheadend TV server (yes / no)
|
||||
TVHEADEND="no"
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
|
@ -79,6 +79,9 @@
|
||||
# FAAC is an MPEG-4 and MPEG-2 AAC encoder (yes / no)
|
||||
FAAC_SUPPORT="yes"
|
||||
|
||||
# build and install Tvheadend TV server (yes / no)
|
||||
TVHEADEND="yes"
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
|
@ -79,6 +79,9 @@
|
||||
# FAAC is an MPEG-4 and MPEG-2 AAC encoder (yes / no)
|
||||
FAAC_SUPPORT="yes"
|
||||
|
||||
# build and install Tvheadend TV server (yes / no)
|
||||
TVHEADEND="yes"
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
|
@ -69,6 +69,7 @@ mkdir -p $INSTALL
|
||||
|
||||
# Multimedia support
|
||||
[ ! "$MEDIACENTER" = no ] && $SCRIPTS/install mediacenter
|
||||
[ "$TVHEADEND" = yes ] && $SCRIPTS/install tvheadend
|
||||
|
||||
# Automounter support
|
||||
[ "$UDISKS" = yes ] && $SCRIPTS/install udisks
|
||||
|
Loading…
x
Reference in New Issue
Block a user