diff options
author | B Stack <bgstack15@gmail.com> | 2020-10-09 11:26:50 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-10-09 11:26:50 -0400 |
commit | 0983e2d9d6af7d4f3508fff53719242c0155e990 (patch) | |
tree | 2bc06b3ed8a7ac44b25560ec44c4a3d87f23c5dc /debian/rules | |
parent | Cleanup some more of the lumina startup routines - specifically around the co... (diff) | |
download | lumina-0983e2d9d6af7d4f3508fff53719242c0155e990.tar.gz lumina-0983e2d9d6af7d4f3508fff53719242c0155e990.tar.bz2 lumina-0983e2d9d6af7d4f3508fff53719242c0155e990.zip |
WIP: initial debianization attemptdebianize
importing stevep's MX Linux package and fixing
many Linitian warnings
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..e7bd9e2c --- /dev/null +++ b/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f +DH_VERBOSE = 1 + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ + +override_dh_auto_configure: + # disable the systemd integration + #sed -i -e 's/shutdown -P -h now/systemctl poweroff/' src-qt5/core/libLumina/LuminaOS-Linux.cpp + #sed -i -e 's/shutdown -r now/systemctl reboot/' src-qt5/core/libLumina/LuminaOS-Linux.cpp + /usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qmake \ + PREFIX=/usr \ + LIBPREFIX=/usr/lib/$(DEB_HOST_MULTIARCH) \ + L_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \ + L_ETCDIR=/etc \ + QMAKE_CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \ + QMAKE_LFLAGS="$(LDFLAGS) -Wl,--as-needed" \ + CONFIG+=nostrip \ + CONFIG+=WITH_I18N \ + QMAKE_CFLAGS_ISYSTEM= + +override_dh_auto_install: + dh_auto_install + install -d debian/lumina-desktop/usr/share/icons/hicolor/64x64/apps + ( cd debian/lumina-desktop/usr/share/icons/hicolor ; \ + mv scalable/apps/*.png 64x64/apps ; ) + +override_dh_auto_clean: + dh_auto_clean + -find $(CURDIR) -name *.qm -delete + +override_dh_strip: + dh_strip --no-automatic-dbgsym |