From: Michael Tremer Date: Sat, 2 Dec 2017 13:05:57 +0000 (+0000) Subject: libdvbcsa: New package for tvheadend X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6eebc769fa369cc74a005101dc76fb0c16a4c596;p=people%2Fms%2Fipfire-2.x.git libdvbcsa: New package for tvheadend Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/packages/libdvbcsa b/config/rootfiles/packages/libdvbcsa new file mode 100644 index 000000000..d5344e5ec --- /dev/null +++ b/config/rootfiles/packages/libdvbcsa @@ -0,0 +1,7 @@ +#usr/include/dvbcsa +#usr/include/dvbcsa/dvbcsa.h +#usr/lib/libdvbcsa.a +#usr/lib/libdvbcsa.la +#usr/lib/libdvbcsa.so +usr/lib/libdvbcsa.so.1 +usr/lib/libdvbcsa.so.1.0.1 diff --git a/lfs/libdvbcsa b/lfs/libdvbcsa new file mode 100644 index 000000000..e19e4244a --- /dev/null +++ b/lfs/libdvbcsa @@ -0,0 +1,84 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2013 IPFire Team # +# # +# 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 3 of the License, 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 this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.1.0 + +THISAPP = libdvbcsa-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = libdvbcsa +PAK_VER = 1 + +DEPS = "" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 478ab1ca56ca58d2667da6ce22f74e39 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/tvheadend b/lfs/tvheadend index 7e57610b5..a771d4641 100644 --- a/lfs/tvheadend +++ b/lfs/tvheadend @@ -34,7 +34,7 @@ TARGET = $(DIR_INFO)/$(THISAPP) PROG = tvheadend PAK_VER = 1 -DEPS = "" +DEPS = "libdvbcsa" ############################################################################### # Top-level Rules @@ -88,6 +88,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --prefix=/usr \ --nowerror \ --enable-libav \ + --enable-dvbcsa \ --disable-hdhomerun_static \ --disable-ffmpeg_static \ --disable-libx264_static \ diff --git a/make.sh b/make.sh index 6e8a5ac79..491408ec8 100755 --- a/make.sh +++ b/make.sh @@ -1506,6 +1506,7 @@ buildipfire() { lfsmake2 faad2 lfsmake2 alac lfsmake2 ffmpeg + lfsmake2 libdvbcsa lfsmake2 tvheadend lfsmake2 vdr lfsmake2 vdr_streamdev