Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
added /debian packaging dir. credits: @wsnipex
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Jan 30, 2013
1 parent b51b6ff commit 98c28e3
Show file tree
Hide file tree
Showing 21 changed files with 268 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
xbmc-pvr-addons (1.0.0-1) unstable; urgency=low
[Rainer Hochecker]
* makefile
* Initial release

-- wsnipex <wsnipex@a1.net> Fri, 21 Dec 2012 11:06:07 +0100
1 change: 1 addition & 0 deletions debian/compat
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
8
96 changes: 96 additions & 0 deletions debian/control
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,96 @@
Source: xbmc-pvr-addons
Section: video
Priority: extra
Maintainer: wsnipex <wsnipex@a1.net>
Build-Depends: debhelper (>= 8.0.0), autoconf, autopoint | gettext, automake, libtool, libboost-thread-dev, libmysqlclient-dev, pkg-config, vdr-dev (>= 1.7.17)
Standards-Version: 3.9.3
Homepage: http://xbmc.org
Vcs-Git: git://github.com/opdenkamp/xbmc-pvr-addons.git
Vcs-Browser: https://github.com/opdenkamp/xbmc-pvr-addons/tree/frodo

Package: xbmc-pvr-mythtv-cmyth
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libmysqlclient19 | libmysqlclient18 | libmysqlclient17 | libmysqlclient16 | libmysqlclient15 | libmysqlclient14
Description: XBMC PVR Addon MythTv - Cmyth
This package contains the Cmyth PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-vuplus
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon Vuplus
This package contains the Vuplus PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-vdr-vnsi
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon VDR Vnsi
This package contains the VDR Vnsi PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: vdr-plugin-vnsiserver
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${vdr:Depends}
Description: VDR-Network-Streaming-Interface
VDR-Network-Streaming-Interface

Package: xbmc-pvr-njoy
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon Njoy
This package contains the Njoy PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-nextpvr
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon NextPvr
This package contains the NextPvr PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-mediaportal-tvserver
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon Mediaportal Tvserver
This package contains the Mediaportal PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-tvheadend-hts
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon TvHeadend Hts
This package contains the TvHeadend PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-dvbviewer
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon Dvbviewer
This package contains the Dvbviewer PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-argustv
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Addon Argustv
This package contains the Argustv PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

Package: xbmc-pvr-demo
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: XBMC PVR Demo Addon
This package contains the Demo PVR (Personal Video Recorder) Addon for XBMC,
the award winning free and open source software media-player and entertainment hub
for all your digital media

23 changes: 23 additions & 0 deletions debian/copyright
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,23 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xbmc-pvr-addons
Source: https://github.com/opdenkamp/xbmc-pvr-addons

Files: debian/*
Copyright: 2012 wsnipex <wsnipex@xbmc.org>
License: GPL-2+
This package 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.
.
This package 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 <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

2 changes: 2 additions & 0 deletions debian/docs
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
NEWS
README
1 change: 1 addition & 0 deletions debian/plugin.vnsiserver.conf
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
-t 10
47 changes: 47 additions & 0 deletions debian/rules
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS


%:
dh $@ --parallel

override_dh_clean:
dh_clean
find . \( -name "*.pvr" -o -name "config.status" -o -name "config.cache" -o -name "config.log" \
-o -name "config.guess" -o -name "config.sub" -o -name "Makefile.in" -o -name "INSTALL" \
-o -name "aclocal.m4" -o -name "configure" -o -name "depcomp" -o -name "install-sh" \
-o -name "ltmain.sh" -o -name "missing" -o -name "libvdr-*.so.*" \
\) -exec rm -f "{}" \;
$(MAKE) clean -C addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver

override_dh_auto_configure:
./bootstrap
./configure --prefix=/usr --enable-addons-with-dependencies --enable-release

override_dh_gencontrol:
sh /usr/share/vdr-dev/dependencies.sh
dh_gencontrol

override_dh_auto_build:
#cd addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver
VDRDIR=/usr/include/vdr LIBDIR=$(CURDIR)/debian/vdr-plugin-vnsiserver/usr/lib/vdr/plugins LOCALEDIR=locale $(MAKE) compile -C addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver
dh_auto_build

override_dh_auto_install:
VDRDIR=/usr/include/vdr LIBDIR=$(CURDIR)/debian/vdr-plugin-vnsiserver/usr/lib/vdr/plugins LOCALEDIR=locale $(MAKE) install-lib -C addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver
dh_auto_install
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
1.0
2 changes: 2 additions & 0 deletions debian/vdr-plugin-vnsiserver.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver/vnsiserver/allowed_hosts.conf etc/vdr/plugins/vnsiserver
debian/plugin.vnsiserver.conf etc/vdr/plugins
44 changes: 44 additions & 0 deletions debian/vdr-plugin-vnsiserver.postinst
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/sh
# postinst script for vdr-plugin-vnsiserver
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
configure)
[ -d /var/lib/vdr/plugins/vnsiserver ] || mkdir /var/lib/vdr/plugins/vnsiserver
chown -R vdr:vdr /var/lib/vdr/plugins/vnsiserver
[ -h /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf ] || ln -s /etc/vdr/plugins/vnsiserver/allowed_hosts.conf /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf
;;

abort-upgrade|abort-remove|abort-deconfigure)
[ -h /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf ] && rm /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0

25 changes: 25 additions & 0 deletions debian/vdr-plugin-vnsiserver.postrm
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh
# postrm script for vdr-plugin-vnsiserver
#
# see: dh_installdeb(1)

set -e

case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
[ -h /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf ] && rm /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf
;;

*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0

2 changes: 2 additions & 0 deletions debian/xbmc-pvr-argustv.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.argustv/XBMC_ArgusTV.pvr
usr/share/xbmc/addons/pvr.argustv
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-demo.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.demo/XBMC_Demo.pvr
usr/share/xbmc/addons/pvr.demo
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-dvbviewer.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.dvbviewer/XBMC_dvbviewer.pvr
usr/share/xbmc/addons/pvr.dvbviewer
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-mediaportal-tvserver.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.mediaportal.tvserver/XBMC_Mediaportal.pvr
usr/share/xbmc/addons/pvr.mediaportal.tvserver
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-mythtv-cmyth.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr
usr/share/xbmc/addons/pvr.mythtv.cmyth
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-nextpvr.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.nextpvr/XBMC_NextPVR.pvr
usr/share/xbmc/addons/pvr.nextpvr
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-njoy.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.njoy/XBMC_Njoy.pvr
usr/share/xbmc/addons/pvr.njoy
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-tvheadend-hts.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.hts/XBMC_Tvheadend.pvr
usr/share/xbmc/addons/pvr.hts
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-vdr-vnsi.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.vdr.vnsi/XBMC_VDR_vnsi.pvr
usr/share/xbmc/addons/pvr.vdr.vnsi
2 changes: 2 additions & 0 deletions debian/xbmc-pvr-vuplus.install
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/xbmc/addons/pvr.vuplus/XBMC_vuplus.pvr
usr/share/xbmc/addons/pvr.vuplus

0 comments on commit 98c28e3

Please sign in to comment.