Skip to content

Commit

Permalink
Fix debian package building for showtime
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed Mar 29, 2009
1 parent c8babd4 commit 95fb6d7
Show file tree
Hide file tree
Showing 8 changed files with 653 additions and 176 deletions.
621 changes: 621 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
HTS "Home Theater System" is:

* An OpenGL based media player (''Showtime'')
* A TV distribution / recording headend (''Tvheadend'')
* Hosted at http://www.lonelycoder.com/hts
* A GPLed project
* Maintained by Andreas �man (andreas at lonelycoder.com)


Build and Install
=================
The top level configure and Makefile will build both Tvheadend
and Showtime. However, Showtime will only be built if the
necessary dev packages for a few libs are installed.

Read more here: http://trac.lonelycoder.com/hts/wiki/howtobuildhts



For more information and latest versions, please visit:
http://www.lonelycoder.com/hts/

8 changes: 0 additions & 8 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,3 @@ Suggests: hts-tvheadend
Description: OpenGL based Mediaplayer
An OpenGL based media player focused for use as a home-entertainment-system.
Based on ffmpeg 'http://www.ffmpeg.org'.

Package: hts-tvheadend
Architecture: any
Depends: ${shlibs:Depends}
Enhances: hts-showtime
Description: TV headend for hts-showtime
TV backend for use with hts-showtime
Based on ffmpeg 'http://www.ffmpeg.org'.
1 change: 0 additions & 1 deletion debian/hts-tvheadend.docs

This file was deleted.

116 changes: 0 additions & 116 deletions debian/hts-tvheadend.tvheadend.init

This file was deleted.

54 changes: 4 additions & 50 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,73 +1,27 @@
#!/usr/bin/make -f

#
# configure ourselfs
#

DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

config.mak: configure
dh_testdir
./configure --release --prefix=/usr


#
# Clean target
#

clean: config.mak
clean:
dh_testdir
dh_testroot

rm -f config.mak config.h
rm -rf llinst
cd ext/ffmpeg && make clean
cd libs/libhts && make clean
cd tvheadend && make clean
cd libs/libdvdcss && make clean
cd libs/libdvdread && make clean
cd libs/libdvdnav && make clean
cd libs/libglw && make clean
cd showtime && make clean

rm -rf build.*
dh_clean


#
# build
#

build: config.mak

####### Build local libraries and install them

cd ext/ffmpeg && make && make install
cd libs/libhts && make all install
cd libs/libdvdcss && make all install
cd libs/libdvdread && make all install
cd libs/libdvdnav && make all install
cd libs/libglw && make all install

####### Build binaries

cd tvheadend && make all
cd showtime && make all



#
# binary
#
make

binary:
dh_testdir
dh_testroot
dh_installdirs
dh_install
cd tvheadend && $(MAKE) prefix=$(CURDIR)/debian/hts-tvheadend/usr install
cd showtime && $(MAKE) prefix=$(CURDIR)/debian/hts-showtime/usr install
$(MAKE) prefix=$(CURDIR)/debian/hts-showtime/usr install
dh_installchangelogs
dh_installinit --name tvheadend
dh_installdocs
dh_link
dh_strip
Expand Down
2 changes: 1 addition & 1 deletion support/configure.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BUILDDIR=build.${PLATFORM}
DEFAULT_THEME="new"
RELEASE=no

RELEASENAME=`head -n1 ${TOPDIR}/../ChangeLog | awk '{print $2}' | sed s/\(// | sed s/\)//`
RELEASENAME=`head -n1 ${TOPDIR}/ChangeLog | awk '{print $2}' | sed s/\(// | sed s/\)//`

CONFIG_LIST="
libasound
Expand Down
5 changes: 5 additions & 0 deletions support/mkrelease
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

sh debian/createcopyright.sh >debian/copyright
dpkg-buildpackage -rfakeroot -b -us -uc
dh_clean

0 comments on commit 95fb6d7

Please sign in to comment.