From 1af6c5d98efd30499329361c2e8c5130aadbbeac Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 3 Nov 2014 10:52:18 +0100 Subject: [PATCH] New package: polkit-qt5-0.112.0. --- common/shlibs | 3 +++ srcpkgs/polkit-qt5-devel | 1 + srcpkgs/polkit-qt5/template | 26 ++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/polkit-qt5-devel create mode 100644 srcpkgs/polkit-qt5/template diff --git a/common/shlibs b/common/shlibs index 777765486a1..0d30901b9ca 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1840,3 +1840,6 @@ liblxqtmount-qt5.so.0 liblxqt-mount-0.8.0_1 liblxqt-globalkeys-qt5.so.0 lxqt-globalkeys-0.8.0_1 liblxqt-globalkeys-ui-qt5.so.0 lxqt-globalkeys-0.8.0_1 libsysstat-qt5.so.0 lxde-libsysstat-0.2.0_1 +libpolkit-qt5-agent-1.so.1 polkit-qt5-0.112.0_1 +libpolkit-qt5-gui-1.so.1 polkit-qt5-0.112.0_1 +libpolkit-qt5-core-1.so.1 polkit-qt5-0.112.0_1 diff --git a/srcpkgs/polkit-qt5-devel b/srcpkgs/polkit-qt5-devel new file mode 120000 index 00000000000..43d8ee81886 --- /dev/null +++ b/srcpkgs/polkit-qt5-devel @@ -0,0 +1 @@ +polkit-qt5 \ No newline at end of file diff --git a/srcpkgs/polkit-qt5/template b/srcpkgs/polkit-qt5/template new file mode 100644 index 00000000000..8a9f81b7cf9 --- /dev/null +++ b/srcpkgs/polkit-qt5/template @@ -0,0 +1,26 @@ +# Template file for 'polkit-qt5' +pkgname=polkit-qt5 +version=0.112.0 +revision=1 +build_style=cmake +hostmakedepends="pkg-config cmake automoc4 git" +makedepends="polkit-devel qt5-devel" +short_desc="Qt-style PolicyKit API (Qt5)" +maintainer="Juan RP " +homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1" +license="LGPL-2.1" + +do_fetch() { + git clone -b v${version} git://anongit.kde.org/polkit-qt-1.git ${pkgname}-${version} +} + +polkit-qt5-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +}