1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/make -f
export PYBUILD_NAME=openlp
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
mkdir -p resources/i18n/qm
set -e; \
for TSFILE in resources/i18n/*.ts; do \
lrelease $$TSFILE -qm resources/i18n/qm/`basename $$TSFILE .ts`.qm; \
done
override_dh_auto_install:
dh_auto_install -- --install-args='--install-lib /usr/share/openlp --install-scripts /usr/share/openlp'
override_dh_install:
dh_install
set -e; \
for SIZE in 16x16 32x32 48x48 64x64 128x128 256x256; do \
mkdir -p debian/openlp/usr/share/icons/hicolor/$$SIZE/apps && \
cp resources/images/openlp-logo-$$SIZE.png debian/openlp/usr/share/icons/hicolor/$$SIZE/apps/openlp.png; \
done
mkdir -p debian/openlp/usr/share/icons/hicolor/scalable/apps
cp resources/images/openlp-logo.svg debian/openlp/usr/share/icons/hicolor/scalable/apps/openlp.svg
rm -fr debian/openlp/usr/share/openlp/resources
rm -fr debian/openlp/usr/share/openlp/openlp/plugins/remotes/html/images
|