Commit c6e62790 authored by Alf Gaida's avatar Alf Gaida

Refined backlight handling for hurd and kfreebsd

* Added kfreebsd as non-linux to rules
* New build dependency dh-exec
* Don't install backlight things for hurd and kfreebsd
* Prepared helper package
parent 8497af06
liblxqt (0.14.1-4) unstable; urgency=medium
* Added kfreebsd as non-linux to rules
* New build dependency dh-exec
* Don't install backlight things for hurd and kfreebsd
* Prepared helper package
-- Alf Gaida <agaida@siduction.org> Sat, 27 Jul 2019 22:59:58 +0200
liblxqt (0.14.1-3) unstable; urgency=medium
* Modified debian/rules for Hurd.
......
......@@ -6,6 +6,7 @@ Uploaders: Alf Gaida <agaida@siduction.org>,
Section: libs
Priority: optional
Build-Depends: debhelper-compat (= 12),
dh-exec,
libpolkit-qt5-1-dev,
libqt5svg5-dev,
libkf5windowsystem-dev,
......@@ -25,6 +26,7 @@ Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
desktop-file-utils,
# lxqt-backlight-helper [linux-any],
shared-mime-info
Recommends: liblxqt-l10n
Pre-Depends: ${misc:Pre-Depends}
......@@ -63,3 +65,17 @@ Breaks: liblxqt0 (<< 0.11.0)
Replaces: liblxqt0 (<< 0.11.0)
Description: Language package for liblxqt
This package contains the l10n files needed by the liblxqt.
# Package: lxqt-backlight-helper
# Architecture: linux-any
# Depends: ${shlibs:Depends},
# ${misc:Depends}
# Description: LXQt backlight helper for linux
# LXQt is an advanced, easy-to-use, and fast desktop environment based on Qt
# technologies. It has been tailored for users who value simplicity, speed, and
# an intuitive interface. Unlike most desktop environments, LXQt also works
# fine with less powerful machines.
# .
# This package contains the backlight helper files needed by the linux LXQt
# desktop environment.
#!/usr/bin/dh-exec
usr/lib/*/liblxqt.so.*
usr/share/lxqt/power.conf
usr/share/polkit-1/actions/org.lxqt.backlight.pkexec.policy
usr/bin/lxqt-backlight_backend
[linux-any] usr/share/polkit-1/actions/org.lxqt.backlight.pkexec.policy
[linux-any] usr/bin/lxqt-backlight_backend
......@@ -11,6 +11,10 @@ ifeq ($(WHICH_OS), hurd)
NOT_LINUX := -DBUILD_BACKLIGHT_LINUX_BACKEND=NO
endif
ifeq ($(WHICH_OS), kfreebsd)
NOT_LINUX := -DBUILD_BACKLIGHT_LINUX_BACKEND=NO
endif
%:
dh ${@} --buildsystem cmake
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment