diff options
author | David I. Lehn <dlehn@users.sourceforge.net> | 2001-02-21 22:32:57 +0000 |
---|---|---|
committer | David I. Lehn <dlehn@users.sourceforge.net> | 2001-02-21 22:32:57 +0000 |
commit | d85de350b9b8135989f2a3b92e6d485c72c3ab41 (patch) | |
tree | 9206fc7a2113c75367458ac2dfebd029ae11715c /debian | |
parent | 608eaa3d42948518b509872099cfa3f1d4dc6bcd (diff) |
Initial Debian packaging.
Original commit message from CVS:
Initial Debian packaging.
Diffstat (limited to 'debian')
32 files changed, 689 insertions, 0 deletions
diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 000000000..693edc0e5 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,2 @@ +*.debhelper +*substvars diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 000000000..72064b54c --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,38 @@ +GStreamer for Debian +---------------------- +This package contains the GStreamer distribution. + +More information can be found at http://gstreamer.net/ + +GStreamer is split into a number of base packages: + + libgst0 shared core libs + libgst-dev development libs and headers + libgst-runtime tools required by the libs (gstreamer-register) + gstreamer-doc documentation + gstreamer-tools useful tools + +recommended plugins: + + gstreamer-elements core plugins + gstreamer-common many independent plugins + +optional plugins: + + gstreamer-cdparanoia cdparanoia plugin + gstreamer-esd ESD plugin + gstreamer-lame LAME plugin + gstreamer-mpg123 mpg123 plugin + gstreamer-vorbis Vorbis plugin + +and applications and their supporting libs: + + libgstmediaplay0 media player libs + libgstmediaplay-dev media player dev support + gstmediaplay media player application + + libgsteditor0 stream pipeline visual editor libs + libgsteditor-dev stream pipeline visual editor dev support + gsteditor stream pipeline visual editor application + +David I. Lehn <dlehn@vt.edu> Fri, 19 Jan 2001 19:13:06 -0500 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..3eadd1ec6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +gstreamer (0.1.0-1) unstable; urgency=low + + * Initial Release. + + -- David I. Lehn <dlehn@vt.edu> Mon, 15 Jan 2001 18:25:18 -0500 + +Local variables: +mode: debian-changelog +add-log-mailing-address "dlehn@vt.edu" +End: diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..3152cacc1 --- /dev/null +++ b/debian/control @@ -0,0 +1,143 @@ +Source: gstreamer +Section: x11 +Priority: optional +Maintainer: David I. Lehn <dlehn@vt.edu> +Build-Depends: debhelper (>= 3.0.0), libxml-dev (>= 1.8.10), zlib1g-dev (>= 1:1.1.3), libghttp-dev (>= 1.0.6), libglib-dev (>= 1.2.8), libgtk1.2-dev (>= 1.2.8), libglade0-dev (>= 0.14), libglade-gnome0-dev (>= 0.14), libesd0-dev (>= 0.2.22), libcdparanoia0-dev (>= 3a9.7), libvorbis-dev (>= 1.0beta3), libgnome-dev (>= 1.2.11), libasound1-dev (>= 0.5.10), libghttp-dev (>= 1.0.9), libjpeg62-dev (>= 6b) +Build-Depends-Indep: debhelper (>= 3.0.0), gtk-doc-tools (>= 0.4.0), jade (>= 1.2.1), transfig (>= 3.2.3.c) +Standards-Version: 3.5.2.0 + +Package: libgst0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Suggests: gstreamer-elements, gstreamer-common +Description: Core GStreamer shared library + Core GStreamer shared library + +Package: libgst-dev +Architecture: any +Section: devel +Depends: libgst0 (= ${Source-Version}), libc6-dev +Recommends: gstreamer-doc (= ${Source-Version}) +Description: GStreamer development libraries and headers + GStreamer development libraries and headers + +Package: gstreamer-runtime +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: gstreamer-register binary needed to manage plugin registry + gstreamer-register binary needed to manage plugin registry + +Package: gstreamer-doc +Architecture: all +Section: doc +Recommends: libgst-dev (= ${Source-Version}) +Description: Core GStreamer documentation + Core GStreamer documentation + +Package: gstreamer-tools +Architecture: any +Section: x11 +Depends: ${shlibs:Depends} +Suggests: gstreamer-common +Description: Tools for use with GStreamer + Tools for use with GStreamer + . + gstreamer-inspect: query details of installed plugins + gstreamer-launch: command line pipeline generator + +Package: libgstmediaplay0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: GStreamer media player library + GStreamer media player library + +Package: libgstmediaplay-dev +Architecture: any +Section: devel +Depends: libgstmediaplay0 (= ${Source-Version}), libc6-dev +Description: GStreamer media player development library and header + GStreamer media player development library and header + +Package: gstmediaplay +Architecture: any +Section: x11 +Depends: ${shlibs:Depends} +Suggests: gstreamer-common +Description: GStreamer media player + GStreamer media player + +Package: libgsteditor0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: GStreamer editor library + GStreamer editor library + +Package: libgsteditor-dev +Architecture: any +Section: devel +Depends: libgsteditor0 (= ${Source-Version}), libc6-dev +Description: GStreamer editor development library and header + GStreamer editor development library and header + +Package: gsteditor +Architecture: any +Section: x11 +Depends: ${shlibs:Depends} +Suggests: gstreamer-common +Description: GStreamer editor + GStreamer editor + +Package: gstreamer-cdparanoia +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, gstreamer-runtime +Description: cdparanoia plugin for GStreamer + cdparanoia plugin for GStreamer + +Package: gstreamer-common +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, gstreamer-runtime +Description: Collection of GStreamer plugins + Collection of GStreamer plugins + . + These plugins have no special dependencies. + +Package: gstreamer-elements +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, gstreamer-runtime +Description: Core elements plugin for GStreamer + Core elements plugin for GStreamer + +Package: gstreamer-esd +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, gstreamer-runtime +Description: Enlightened Sound Daemon plugin for GStreamer + Enlightened Sound Daemon plugin for GStreamer + +Package: gstreamer-lame +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, gstreamer-runtime +Description: LAME plugin for GStreamer + LAME plugin for GStreamer + +Package: gstreamer-mpg123 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, gstreamer-runtime +Description: mpg123 plugin for GStreamer + mpg123 plugin for GStreamer + +Package: gstreamer-vorbis +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, gstreamer-runtime +Description: Vorbis plugin for GStreamer + Vorbis plugin for GStreamer diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..fa8250bbe --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by David I. Lehn <dlehn@vt.edu> on +Mon, 15 Jan 2001 18:21:37 -0500. + +It was downloaded from http://gstreamer.net/ + +Upstream Author(s): + Erik Walthinsen <omegahacker@users.sourceforge.net> + Wim Taymans <wim.taymans@chello.be> + Richard Boulton <richard@tartarus.org> + +Copyright: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + diff --git a/debian/gsteditor.files b/debian/gsteditor.files new file mode 100644 index 000000000..22e2d6e96 --- /dev/null +++ b/debian/gsteditor.files @@ -0,0 +1,2 @@ +usr/bin/gsteditor +usr/share/gsteditor diff --git a/debian/gsteditor.menu b/debian/gsteditor.menu new file mode 100644 index 000000000..c78b4d251 --- /dev/null +++ b/debian/gsteditor.menu @@ -0,0 +1,5 @@ +?package(gsteditor): \ + needs=X11 \ + section=Apps/Viewers \ + title="GStreamer Editor" \ + command="/usr/bin/gsteditor" diff --git a/debian/gstmediaplay.files b/debian/gstmediaplay.files new file mode 100644 index 000000000..be0f4c855 --- /dev/null +++ b/debian/gstmediaplay.files @@ -0,0 +1,2 @@ +usr/bin/gstmediaplay +usr/share/gstmediaplay diff --git a/debian/gstmediaplay.menu b/debian/gstmediaplay.menu new file mode 100644 index 000000000..904038cde --- /dev/null +++ b/debian/gstmediaplay.menu @@ -0,0 +1,5 @@ +?package(gstmediaplay): \ + needs=X11 \ + section=Apps/Viewers \ + title="GStreamer Media Player" \ + command="/usr/bin/gstmediaplay" diff --git a/debian/gstreamer-cdparanoia.files b/debian/gstreamer-cdparanoia.files new file mode 100644 index 000000000..b347fa11f --- /dev/null +++ b/debian/gstreamer-cdparanoia.files @@ -0,0 +1 @@ +usr/lib/gst/libcdparanoia.* diff --git a/debian/gstreamer-common.files b/debian/gstreamer-common.files new file mode 100644 index 000000000..8463b80da --- /dev/null +++ b/debian/gstreamer-common.files @@ -0,0 +1,48 @@ +usr/lib/gst/libgstriff.* +usr/lib/gst/libgstcolorspace.* +usr/lib/gst/libgstgetbits.* +usr/lib/gst/libgstparsewav.* +usr/lib/gst/libgstputbits.* +usr/lib/gst/libgstidct.* +usr/lib/gst/libgsttypes.* +usr/lib/gst/libgstvideoscale.* +usr/lib/gst/libwinloader.* +usr/lib/gst/libgstparseau.* +usr/lib/gst/libmp3parse.* +usr/lib/gst/libmp3types.* +usr/lib/gst/libstereo.* +usr/lib/gst/libvolume.* +usr/lib/gst/libgstspectrum.* +usr/lib/gst/libvumeter.* +usr/lib/gst/libsynaesthesia.* +usr/lib/gst/libsmoothwave.* +usr/lib/gst/libmpeg2parse.* +usr/lib/gst/libac3dec.* +usr/lib/gst/libac3parse.* +usr/lib/gst/libmpeg2play.* +usr/lib/gst/libmpeg2dec.* +usr/lib/gst/libmpeg2enc.* +usr/lib/gst/libmpeg2subt.* +usr/lib/gst/libmp2videoparse.* +usr/lib/gst/libmpeg2types.* +usr/lib/gst/libmpeg1parse.* +usr/lib/gst/libmpeg_play.* +usr/lib/gst/libmpeg1encoder.* +usr/lib/gst/libsystem_encode.* +usr/lib/gst/libmpegaudio.* +usr/lib/gst/libmpeg1types.* +usr/lib/gst/libvcdsrc.* +usr/lib/gst/librtjpeg.* +usr/lib/gst/libvideosink.* +usr/lib/gst/libv4lsrc.* +usr/lib/gst/libjpeg.* +usr/lib/gst/libmp1videoparse.* +usr/lib/gst/libvideoscale.* +usr/lib/gst/libsmooth.* +usr/lib/gst/libmedian.* +usr/lib/gst/libgstladspa.* +usr/lib/gst/libaudioscale.* +usr/lib/gst/libwincodec.* +usr/lib/gst/libaviencoder.* +usr/lib/gst/libavidecoder.* +usr/lib/gst/libdvdsrc.* diff --git a/debian/gstreamer-doc.files b/debian/gstreamer-doc.files new file mode 100644 index 000000000..c6ff27539 --- /dev/null +++ b/debian/gstreamer-doc.files @@ -0,0 +1 @@ +usr/share/gstreamer diff --git a/debian/gstreamer-elements.files b/debian/gstreamer-elements.files new file mode 100644 index 000000000..7a18765dc --- /dev/null +++ b/debian/gstreamer-elements.files @@ -0,0 +1 @@ +usr/lib/gst/libgstelements.* diff --git a/debian/gstreamer-esd.files b/debian/gstreamer-esd.files new file mode 100644 index 000000000..dbfa96fc2 --- /dev/null +++ b/debian/gstreamer-esd.files @@ -0,0 +1 @@ +usr/lib/gst/libesdsink.* diff --git a/debian/gstreamer-lame.files b/debian/gstreamer-lame.files new file mode 100644 index 000000000..ab21a0612 --- /dev/null +++ b/debian/gstreamer-lame.files @@ -0,0 +1 @@ +usr/lib/gst/libgstlame.* diff --git a/debian/gstreamer-mpg123.files b/debian/gstreamer-mpg123.files new file mode 100644 index 000000000..f36029856 --- /dev/null +++ b/debian/gstreamer-mpg123.files @@ -0,0 +1 @@ +usr/lib/gst/libmpg123.* diff --git a/debian/gstreamer-plugin-template.postinst b/debian/gstreamer-plugin-template.postinst new file mode 100644 index 000000000..b3a2e1807 --- /dev/null +++ b/debian/gstreamer-plugin-template.postinst @@ -0,0 +1,25 @@ +#! /bin/sh +# template plugin postinst script + +set -e + +case "$1" in + configure) + # Update shared lib deps + gstreamer-register + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# + +exit 0 + diff --git a/debian/gstreamer-plugin-template.prerm b/debian/gstreamer-plugin-template.prerm new file mode 100644 index 000000000..4a581177e --- /dev/null +++ b/debian/gstreamer-plugin-template.prerm @@ -0,0 +1,23 @@ +#! /bin/sh +# template plugin prerm script + +set -e + +case "$1" in + remove|upgrade|deconfigure) + # update the shared libs + gstreamer-register + + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# + +exit 0 + diff --git a/debian/gstreamer-runtime.files b/debian/gstreamer-runtime.files new file mode 100644 index 000000000..4a423fb75 --- /dev/null +++ b/debian/gstreamer-runtime.files @@ -0,0 +1 @@ +usr/bin/gstreamer-register diff --git a/debian/gstreamer-runtime.postinst b/debian/gstreamer-runtime.postinst new file mode 100644 index 000000000..8e649c596 --- /dev/null +++ b/debian/gstreamer-runtime.postinst @@ -0,0 +1,47 @@ +#!/bin/sh +# postinst script for gstreamer +# +# 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> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + gstreamer-register + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/gstreamer-tools.files b/debian/gstreamer-tools.files new file mode 100644 index 000000000..5e029a334 --- /dev/null +++ b/debian/gstreamer-tools.files @@ -0,0 +1,2 @@ +usr/bin/gstreamer-inspect +usr/bin/gstreamer-launch diff --git a/debian/gstreamer-vorbis.files b/debian/gstreamer-vorbis.files new file mode 100644 index 000000000..416b74183 --- /dev/null +++ b/debian/gstreamer-vorbis.files @@ -0,0 +1 @@ +usr/lib/gst/libgstvorbis.* diff --git a/debian/libgst-dev.files b/debian/libgst-dev.files new file mode 100644 index 000000000..6d0eba8db --- /dev/null +++ b/debian/libgst-dev.files @@ -0,0 +1,6 @@ +usr/include +usr/share/aclocal +usr/bin/gstreamer-config +usr/lib/libgst.la +usr/lib/libgst.so +usr/lib/gst/libgstelements.la diff --git a/debian/libgst0.files b/debian/libgst0.files new file mode 100644 index 000000000..1f4bb431e --- /dev/null +++ b/debian/libgst0.files @@ -0,0 +1 @@ +usr/lib/libgst.so.* diff --git a/debian/libgst0.postinst b/debian/libgst0.postinst new file mode 100644 index 000000000..6a6aff91d --- /dev/null +++ b/debian/libgst0.postinst @@ -0,0 +1,47 @@ +#!/bin/sh +# postinst script for gstreamer +# +# 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> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/libgsteditor-dev.files b/debian/libgsteditor-dev.files new file mode 100644 index 000000000..0e4c1bcdf --- /dev/null +++ b/debian/libgsteditor-dev.files @@ -0,0 +1,2 @@ +usr/lib/libgsteditor.la +usr/lib/libgsteditor.so diff --git a/debian/libgsteditor0.files b/debian/libgsteditor0.files new file mode 100644 index 000000000..f22003121 --- /dev/null +++ b/debian/libgsteditor0.files @@ -0,0 +1 @@ +usr/lib/libgsteditor.so.* diff --git a/debian/libgsteditor0.postinst b/debian/libgsteditor0.postinst new file mode 100644 index 000000000..6a6aff91d --- /dev/null +++ b/debian/libgsteditor0.postinst @@ -0,0 +1,47 @@ +#!/bin/sh +# postinst script for gstreamer +# +# 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> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/libgstmediaplay-dev.files b/debian/libgstmediaplay-dev.files new file mode 100644 index 000000000..b6c11f62f --- /dev/null +++ b/debian/libgstmediaplay-dev.files @@ -0,0 +1,2 @@ +usr/lib/libgstmediaplay.la +usr/lib/libgstmediaplay.so diff --git a/debian/libgstmediaplay0.files b/debian/libgstmediaplay0.files new file mode 100644 index 000000000..763c8fc0c --- /dev/null +++ b/debian/libgstmediaplay0.files @@ -0,0 +1 @@ +usr/lib/libgstmediaplay.so.* diff --git a/debian/libgstmediaplay0.postinst b/debian/libgstmediaplay0.postinst new file mode 100644 index 000000000..6a6aff91d --- /dev/null +++ b/debian/libgstmediaplay0.postinst @@ -0,0 +1,47 @@ +#!/bin/sh +# postinst script for gstreamer +# +# 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> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..8d7db8110 --- /dev/null +++ b/debian/rules @@ -0,0 +1,146 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# The plugins are basically the same. +# Link special names to a template file. +# still need "*.files" to be done by hand + +PLUGINS=cdparanoia common elements esd lame mpg123 vorbis + +setup-links: + for i in $(PLUGINS); do \ + ln -fs debian/gstreamer-plugin-template.postinst \ + debian/gstreamer-$$i.postinst; \ + ln -fs debian/gstreamer-plugin-template.prerm \ + debian/gstreamer-$$i.prerm; \ + done + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./autogen.sh \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --with-configdir=/etc/gstreamer \ + --disable-plugin-srcdir \ + --enable-docs-build + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + + for i in $(PLUGINS); do \ + rm -f debian/gstreamer-$$i.postinst; \ + rm -f debian/gstreamer-$$i.prerm; \ + done + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/gstreamer. + $(MAKE) install prefix=$(CURDIR)/debian/gstreamer/usr + + dh_movefiles --sourcedir=debian/gstreamer + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: DH_OPTIONS=-i +binary-indep: build install +# Need this version of debhelper for DH_OPTIONS to work. + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron +# dh_installmanpages +# dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_strip +# dh_link + dh_compress + dh_fixperms +# You may want to make some executables suid here. +# dh_suidregister + dh_installdeb +# dh_makeshlibs +# dh_perl +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +# Pass -a to all debhelper commands in this target to reduce clutter. +binary-arch: DH_OPTIONS=-a +binary-arch: build install setup-links +# Need this version of debhelper for DH_OPTIONS to work. + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron +# dh_installmanpages +# dh_installinfo + dh_undocumented + dh_installchangelogs ChangeLog + dh_strip +# dh_link + dh_compress + dh_fixperms +# You may want to make some executables suid here. +# dh_suidregister + dh_installdeb + dh_makeshlibs +# dh_perl + dh_shlibdeps -l`pwd`/debian/libgst0/usr/lib:`pwd`/debian/libgstmediaplay0/usr/lib:`pwd`/debian/libgsteditor0/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |