From 4ead51865f7f040958b672da4e76124793be9ff0 Mon Sep 17 00:00:00 2001 From: Enrico Belleri Date: Sun, 17 Apr 2022 17:21:23 +0200 Subject: [PATCH] lxqt-admin: update to 1.1.0. --- srcpkgs/lxqt-admin/patches/systemd.patch | 9 +++++++++ srcpkgs/lxqt-admin/template | 14 ++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 srcpkgs/lxqt-admin/patches/systemd.patch diff --git a/srcpkgs/lxqt-admin/patches/systemd.patch b/srcpkgs/lxqt-admin/patches/systemd.patch new file mode 100644 index 0000000000..097c7669b1 --- /dev/null +++ b/srcpkgs/lxqt-admin/patches/systemd.patch @@ -0,0 +1,9 @@ +lxqt-admin-time depends on systemd-{timedated,timesyncd} +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -38,5 +38,4 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD + message(WARNING "${CMAKE_SYSTEM_NAME} is not supported by lxqt-admin-time") + else() + add_subdirectory(lxqt-admin-user) +- add_subdirectory(lxqt-admin-time) + endif() diff --git a/srcpkgs/lxqt-admin/template b/srcpkgs/lxqt-admin/template index 9bf02478a1..cba72e16fb 100644 --- a/srcpkgs/lxqt-admin/template +++ b/srcpkgs/lxqt-admin/template @@ -1,6 +1,6 @@ # Template file for 'lxqt-admin' pkgname=lxqt-admin -version=1.0.0 +version=1.1.0 revision=1 build_style=cmake hostmakedepends="lxqt-build-tools qt5-qmake qt5-host-tools polkit-qt5-devel @@ -9,12 +9,6 @@ makedepends="liblxqt-devel" short_desc="LXQt system administration tool" maintainer="Helmut Pozimski " license="LGPL-2.1-or-later" -homepage="https://lxqt.org/" -distfiles="https://github.com/lxqt/lxqt-admin/releases/download/${version}/lxqt-admin-${version}.tar.xz" -checksum=f6eebb0da1563f14e9e4d39d3ff2622ee1c8ffa5b130ba26321cfe5261c1411e - -post_install() { - # depends on systemd-{timedated,timesyncd} - rm -f ${DESTDIR}/usr/bin/lxqt-admin-time - rm -f ${DESTDIR}/usr/share/applications/lxqt-admin-time.desktop -} +homepage="https://lxqt-project.org" +distfiles="https://github.com/lxqt/lxqt-admin/archive/${version}.tar.gz" +checksum=cf6c41a63b861caacae5ace8bef4781f502cfb0f559fe56afbffe60d13a74775