1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 12:28:31 +01:00

Use correct dependencies in the ubuntu package, and use "make install" instead of installing everything manually

This commit is contained in:
David Sansome 2010-04-15 15:49:05 +00:00
parent 3215f01206
commit 933eeb0ad4
2 changed files with 23 additions and 12 deletions

22
debian/control vendored
View File

@ -2,13 +2,31 @@ Source: clementine
Section: sound Section: sound
Priority: optional Priority: optional
Maintainer: David Sansome <me@davidsansome.com> Maintainer: David Sansome <me@davidsansome.com>
Build-Depends: debhelper (>= 7), liblastfm-dev, libtag1-dev, libxine-dev, libnotify-dev, libboost-dev, libqt4-dev, qt4-dev-tools, libqt4-opengl-dev, cmake Build-Depends: debhelper (>= 7),
liblastfm-dev,
libtag1-dev,
libnotify-dev,
libboost-dev,
libboost-serialization1.38-dev |
libboost-serialization1.40-dev |
libboost-serialization-dev,
libqt4-dev,
qt4-dev-tools,
libqt4-opengl-dev,
cmake,
libgstreamer0.10-dev,
libgstreamer-plugins-base0.10-dev
Standards-Version: 3.8.1 Standards-Version: 3.8.1
Homepage: http://code.google.com/p/clementine-player/ Homepage: http://code.google.com/p/clementine-player/
Package: clementine Package: clementine
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libxine1-all-plugins, libqt4-sql-sqlite Depends: ${shlibs:Depends}, ${misc:Depends},
libqt4-sql-sqlite,
gstreamer0.10-plugins-base,
gstreamer0.10-plugins-good,
gstreamer0.10-alsa | gstreamer0.10-audiosink,
gstreamer0.10-ffmpeg
Description: Clementine is a modern music player and library organiser. Description: Clementine is a modern music player and library organiser.
It is largely a port of Amarok 1.4, with some features rewritten to take It is largely a port of Amarok 1.4, with some features rewritten to take
advantage of Qt4. advantage of Qt4.

11
debian/rules vendored
View File

@ -16,7 +16,7 @@
configure: configure-stamp configure: configure-stamp
configure-stamp: configure-stamp:
dh_testdir dh_testdir
cd bin && cmake .. cd bin && cmake .. -DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/clementine/usr
touch configure-stamp touch configure-stamp
@ -43,14 +43,7 @@ install: build
dh_prep dh_prep
dh_installdirs dh_installdirs
# Add here commands to install the package into debian/clementine. make install
install -d $(CURDIR)/debian/clementine/usr/bin
install -d $(CURDIR)/debian/clementine/usr/share/applications
install -d $(CURDIR)/debian/clementine/usr/share/icons/hicolor/64x64/apps
install -m 0755 bin/clementine $(CURDIR)/debian/clementine/usr/bin/clementine
install -m 0644 dist/clementine.desktop $(CURDIR)/debian/clementine/usr/share/applications/clementine.desktop
install -m 0644 dist/clementine_64.png $(CURDIR)/debian/clementine/usr/share/icons/hicolor/64x64/apps/application-x-clementine.png
# Build architecture-independent files here. # Build architecture-independent files here.