iio-sensor-proxy: 3.8 -> 3.9 (#509314)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
glib,
|
||||
cmake,
|
||||
libxml2,
|
||||
@@ -14,19 +13,18 @@
|
||||
polkit,
|
||||
udevCheckHook,
|
||||
libssc,
|
||||
libqmi,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iio-sensor-proxy";
|
||||
version = "3.8";
|
||||
version = "3.9";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "hadess";
|
||||
repo = "iio-sensor-proxy";
|
||||
rev = version;
|
||||
hash = "sha256-ZVaV4Aj4alr5eP3uz6SunpeRsMOo8YcZMqCcB0DUYGY=";
|
||||
hash = "sha256-2N/4Fp6QtAhgEzX9cHEDJhFtRsyrtZ80I2jdHdeEmxA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -35,14 +33,6 @@ stdenv.mkDerivation rec {
|
||||
--replace 'polkit_policy_directory' "'$out/share/polkit-1/actions'"
|
||||
'';
|
||||
|
||||
patches = [
|
||||
# https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/merge_requests/381
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.postmarketos.org/postmarketOS/pmaports/-/raw/af17d8f3a7572ed2be40d5a28c6ce08c74bd36c7/temp/iio-sensor-proxy/0001-iio-sensor-proxy-depend-on-libssc.patch";
|
||||
hash = "sha256-faOpfR6qit68R2b+sk9/k4XeA6Ao5UuerrfFzMaD3MM=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libgudev
|
||||
systemd
|
||||
@@ -63,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
mesonFlags = [
|
||||
(lib.mesonOption "udevrulesdir" "${placeholder "out"}/lib/udev/rules.d")
|
||||
(lib.mesonOption "systemdsystemunitdir" "${placeholder "out"}/lib/systemd/system")
|
||||
(lib.mesonBool "ssc-support" true)
|
||||
(lib.mesonOption "ssc-support" "enabled")
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user