From f8cf203d8d00b2b3f2464ce39599952a50c7219f Mon Sep 17 00:00:00 2001 From: Denis Revin Date: Tue, 20 Dec 2016 09:59:32 +0400 Subject: [PATCH] New package: syntax-highlighting-5.29.0 Closes: #5393 [via git-merge-pr] --- common/shlibs | 1 + srcpkgs/syntax-highlighting-devel | 1 + srcpkgs/syntax-highlighting/template | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/syntax-highlighting-devel create mode 100644 srcpkgs/syntax-highlighting/template diff --git a/common/shlibs b/common/shlibs index 612a1c39a4..f94d6da5bd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -484,6 +484,7 @@ libxenstat.so.0 xen-libs-4.2.2_2 libblktapctl.so.1.0 xen-libs-4.2.2_2 libblktap.so.3.0 xen-libs-4.2.2_2 libfsimage.so.1.0 xen-libs-4.2.2_2 +libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1 libbabl-0.1.so.0 babl-0.1.10_1 libbamf3.so.2 bamf-0.5.1_1 libgegl-0.2.so.0 gegl-0.2.0_1 diff --git a/srcpkgs/syntax-highlighting-devel b/srcpkgs/syntax-highlighting-devel new file mode 120000 index 0000000000..b6736bb31a --- /dev/null +++ b/srcpkgs/syntax-highlighting-devel @@ -0,0 +1 @@ +syntax-highlighting \ No newline at end of file diff --git a/srcpkgs/syntax-highlighting/template b/srcpkgs/syntax-highlighting/template new file mode 100644 index 0000000000..7d474c810e --- /dev/null +++ b/srcpkgs/syntax-highlighting/template @@ -0,0 +1,25 @@ +# Template file for 'syntax-highlighting' +pkgname=syntax-highlighting +version=5.29.0 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="extra-cmake-modules perl" +makedepends="qt5-devel qt5-xmlpatterns-devel" +short_desc="Syntax highlighting engine for structured text and code" +maintainer="Denis Revin " +license="LGPL-2" +homepage="https://projects.kde.org/projects/frameworks/syntax-highlighting" +distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=cbcca052a1ad79b4d1ed1209d6f8e9ba0c3812dc158b26c4a8232a8d879c7839 + +syntax-highlighting-devel_package() { + short_desc+=" - development" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/qt5/mkspecs + vmove usr/lib/cmake + vmove usr/lib/*.so + } +}