~ubuntu-branches/ubuntu/maverick/smplayer/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.1.9 upstream) (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090331230543-1ned1omblgt4qiak
Tags: 0.6.7-1
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
4
include /usr/share/cdbs/1/class/makefile.mk
 
5
include /usr/share/cdbs/1/rules/simple-patchsys.mk
5
6
 
6
7
QMAKE_OPTS                  = DEFINES+=NO_DEBUG_ON_CONSOLE
7
8
 
8
9
DEB_MAKE_INVOKE             = $(MAKE)
9
10
DEB_MAKE_BUILD_TARGET       = PREFIX=/usr QMAKE=qmake-qt4 QMAKE_OPTS="$(QMAKE_OPTS)" LRELEASE=lrelease-qt4 CONF_PATH=\\\"/usr/share/smplayer\\\"
10
 
DEB_MAKE_INSTALL_TARGET     = PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp install
 
11
DEB_MAKE_INSTALL_TARGET     = $(DEB_MAKE_BUILD_TARGET) DESTDIR=$(CURDIR)/debian/tmp install
11
12
DEB_INSTALL_CHANGELOGS_ALL  = Changelog
12
 
DEB_PHONY_RULES            += get-orig-source
13
13
 
14
14
VERSION                     = $(shell dpkg-parsechangelog | egrep '^Version' | sed s/"Version: "//)
15
15
UPSTREAM_VERSION            = $(shell echo $(VERSION) | sed s/-.*//)
16
16
TARBALL_VERSION             = $(UPSTREAM_VERSION)
17
17
 
18
18
clean::
19
 
        rm -f svn_revision.txt src/svn_revision.h
 
19
        rm -f svn_revision svn_revision.txt src/svn_revision.h
20
20
 
21
21
binary-install/smplayer::
22
22
        dh_icons -p smplayer
23
23
        dh_desktop -p smplayer
24
 
 
25
 
get-orig-source:
26
 
        uscan --verbose --force-download --no-symlink
27
 
        bunzip2 -c ../smplayer-$(TARBALL_VERSION).tar.bz2 | gzip -9c > ../smplayer_$(UPSTREAM_VERSION).orig.tar.gz