Update build files to use new paths.

This commit is contained in:
codestation
2015-05-18 17:02:25 -04:30
parent 4308994191
commit babe16c43d
4 changed files with 6 additions and 6 deletions

View File

@@ -29,8 +29,8 @@ QMAKE_CXXFLAGS += -Wno-write-strings -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MA
DATADIR = $$PREFIX/share
actions64.path = $$DATADIR/icons/hicolor/64x64/actions
actions64.files += resources/images/qcma_on.png
actions64.files += resources/images/qcma_off.png
actions64.files += ../gui/resources/images/qcma_on.png
actions64.files += ../gui/resources/images/qcma_off.png
target.path = /usr/lib/qcma
INSTALLS += target actions64

View File

@@ -1,3 +1,3 @@
usr/lib/qcma/libqcma_appindicator.so
resources/images/qcma_on.png usr/share/icons/hicolor/64x64/actions
resources/images/qcma_off.png usr/share/icons/hicolor/64x64/actions
gui/resources/images/qcma_on.png usr/share/icons/hicolor/64x64/actions
gui/resources/images/qcma_off.png usr/share/icons/hicolor/64x64/actions

2
debian/rules vendored
View File

@@ -10,7 +10,7 @@ export QT_SELECT=qt5
dh $@ --buildsystem=qmake
override_dh_auto_configure:
lrelease resources/translations/qcma_*.ts
lrelease common/resources/translations/qcma_*.ts
dh_auto_configure -- qcma.pro CONFIG+="ENABLE_APPINDICATOR"
.PHONY: override_dh_auto_configure

View File

@@ -62,7 +62,7 @@ is meant to be compatible with Linux, Windows and MAC OS X.
%setup -n %{name}-%{version}
%build
lrelease-qt5 resources/translations/*.ts
lrelease-qt5 common/resources/translations/*.ts
qmake-qt5 PREFIX=/usr qcma.pro CONFIG+="QT5_SUFFIX ENABLE_KNOTIFICATIONS ENABLE_APPINDICATOR ENABLE_KDENOTIFIER"
make %{?_smp_mflags}