Another fixes for packaging system
[someplayer] / someplayer.pro
1 QMAKEVERSION = $$[QMAKE_VERSION]
2 ISQT4 = $$find(QMAKEVERSION, ^[2-9])
3 isEmpty( ISQT4 ) {
4         error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
5 }
6
7 TEMPLATE = subdirs
8 SUBDIRS  = src
9
10 desktop.path = /usr/share/applications/hildon
11 desktop.files = src/resources/someplayer.desktop
12
13 icon.path = /usr/share/icons/hicolor/scalable/hildon
14 icon.files = src/resources/someplayer.png
15
16 equalizer.path = "/etc/skel/.someplayer"
17 equalizer.files = src/resources/equalizer.ini
18
19 translations.path = /opt/someplayer
20 translations.files = src/resources/*.qm
21
22 INSTALLS += icon desktop equalizer translations