Possible fix for optifying problem and eq presets
authorNikolay Tischenko <niktischenko@gmail.com>
Mon, 28 Feb 2011 15:46:35 +0000 (21:46 +0600)
committerNikolay Tischenko <niktischenko@gmail.com>
Mon, 28 Feb 2011 15:46:35 +0000 (21:46 +0600)
debian/postinst.ex
debian/postrm.ex
debian/rules
someplayer.pro

index 306b519..b91cf70 100644 (file)
@@ -31,6 +31,8 @@ case "$1" in
     ;;
 esac
 
+ln -s /opt/someplayer/someplayer /usr/bin/
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 
index 75ea717..57368a8 100644 (file)
@@ -29,6 +29,8 @@ case "$1" in
     ;;
 esac
 
+rm -f /usr/bin/someplayer
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 
index 3f3126e..1613f34 100644 (file)
@@ -4,7 +4,7 @@ builddir:
        mkdir -p builddir
 
 builddir/Makefile: builddir
-       cd builddir && qmake-qt4 PREFIX=/usr ../$(APPNAME).pro
+       cd builddir && qmake-qt4 PREFIX=/opt/someplayer ../$(APPNAME).pro
 
 build: build-stamp
 
@@ -41,7 +41,6 @@ binary-arch: build install
        dh_installexamples
        dh_installman
        dh_link
-#      dh_strip --dbg-package=someplayer-dbg
        dh_compress
        dh_fixperms
        dh_installdeb
index 2bd03f1..315f98f 100644 (file)
@@ -13,7 +13,7 @@ desktop.files = src/resources/someplayer.desktop
 icon.path = /usr/share/icons/hicolor/scalable/hildon
 icon.files = src/resources/someplayer.png
 
-equalizer.path = /etc/.skel
+equalizer.path = /etc/skel/.someplayer
 equalizer.files = src/resources/equalizer.ini
 
 translations.path = /opt/someplayer