From b6d07a31d1506acc58895cdf3d461b9a348fe81e Mon Sep 17 00:00:00 2001 From: John Date: Sun, 11 Mar 2018 18:09:39 +0100 Subject: [PATCH] New package: prison-5.43.0 --- common/shlibs | 1 + srcpkgs/prison-devel | 1 + srcpkgs/prison/template | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 120000 srcpkgs/prison-devel create mode 100644 srcpkgs/prison/template diff --git a/common/shlibs b/common/shlibs index dfd0245252..22409ddade 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1516,6 +1516,7 @@ libwscodecs.so.1 libwireshark-2.4.1_1 libwiretap.so.7 libwireshark-2.4.1_1 libwireshark.so.9 libwireshark-2.4.5_1 libwsutil.so.8 libwireshark-2.4.1_1 +libKF5Prison.so.5 prison-5.43.0_1 libKF5AkonadiMime.so.5 akonadi-mime-17.12.1_1 libKF5Mime.so.5 kmime-17.12.1_1 libtaskmanager.so.6 plasma-workspace-5.8.4_1 diff --git a/srcpkgs/prison-devel b/srcpkgs/prison-devel new file mode 120000 index 0000000000..9714e6b96d --- /dev/null +++ b/srcpkgs/prison-devel @@ -0,0 +1 @@ +prison \ No newline at end of file diff --git a/srcpkgs/prison/template b/srcpkgs/prison/template new file mode 100644 index 0000000000..f8bec0533f --- /dev/null +++ b/srcpkgs/prison/template @@ -0,0 +1,33 @@ +# Template file for 'prison' +pkgname=prison +version=5.43.0 +revision=1 +build_style=cmake +hostmakedepends="extra-cmake-modules qt5-tools" +makedepends="qt5-devel libdmtx-devel qrencode-devel ecm-devel" +short_desc="Barcode API to produce QRCode barcodes and DataMatrix barcodes" +maintainer="John " +license="MIT" +homepage="https://community.kde.org/Frameworks" +distfiles="https://download.kde.org/stable/frameworks/${version%.*}/prison-${version}.tar.xz" +checksum=0cabcb4bea129de67f0e1f9d4f7973c34067e6e6b56b95a11d9917fafa901305 + +if [ "$CROSS_BUILD" ];then + hostmakedepends+=" qt5-qmake qt5-host-tools" +fi + +post_install() { + vlicense LICENSE +} + +prison-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/qt5/mkspecs + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } + +}