From 028488dd483ba8bc3f41f19a6089f5cdf75887e3 Mon Sep 17 00:00:00 2001 From: Denis Revin Date: Thu, 13 Oct 2016 14:41:59 +0400 Subject: [PATCH] New package: kio-5.26.0 --- common/shlibs | 3 +++ srcpkgs/kio-devel | 1 + srcpkgs/kio/patches/musl.patch | 10 ++++++++++ srcpkgs/kio/template | 26 ++++++++++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 120000 srcpkgs/kio-devel create mode 100644 srcpkgs/kio/patches/musl.patch create mode 100644 srcpkgs/kio/template diff --git a/common/shlibs b/common/shlibs index 879df29362..06952d2347 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2654,6 +2654,9 @@ libKF5TextWidgets.so.5 ktextwidgets-5.26.0_1 libKF5Wallet.so.5 kwallet-5.26.0_1 libKF5XmlGui.so.5 kxmlgui-5.26.0_1 libKF5Bookmarks.so.5 kbookmarks-5.26.0_1 +libKF5KIOWidgets.so.5 kio-5.26.0_1 +libKF5KIOCore.so.5 kio-5.26.0_1 +libKF5KIOFileWidgets.so.5 kio-5.26.0_1 liblmdb.so.0 lmdb-0.9.18_2 libisns.so.0 libisns-0.96_1 libz80ex.so.1 z80ex-1.1.21_1 diff --git a/srcpkgs/kio-devel b/srcpkgs/kio-devel new file mode 120000 index 0000000000..7b4c551594 --- /dev/null +++ b/srcpkgs/kio-devel @@ -0,0 +1 @@ +kio \ No newline at end of file diff --git a/srcpkgs/kio/patches/musl.patch b/srcpkgs/kio/patches/musl.patch new file mode 100644 index 0000000000..f3b89b2cc0 --- /dev/null +++ b/srcpkgs/kio/patches/musl.patch @@ -0,0 +1,10 @@ +--- src/kpac/kpac_dhcp_helper.old 2016-04-03 21:55:42.000000000 +0100 ++++ src/kpac/kpac_dhcp_helper.c 2016-07-21 08:42:04.989005565 +0100 +@@ -17,6 +17,7 @@ + Boston, MA 02110-1301, USA. + */ + ++#define _BSD_SOURCE + #include + #include + #include \ No newline at end of file diff --git a/srcpkgs/kio/template b/srcpkgs/kio/template new file mode 100644 index 0000000000..04eedeaa74 --- /dev/null +++ b/srcpkgs/kio/template @@ -0,0 +1,26 @@ +# Template file for 'kio' +pkgname=kio +version=5.26.0 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="extra-cmake-modules" +makedepends="kdoctools-devel ksolid-devel kbookmarks-devel kjobwidgets-devel kwallet-devel acl-devel mit-krb5-devel libxslt-devel libxml2-devel" +depends="desktop-file-utils" +short_desc="KDE Network transparent access to files and data" +maintainer="Denis Revin " +license="LGPL-2" +homepage="https://projects.kde.org/projects/frameworks/kio" +distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=40d546074af313be97f64b644daad46fc9c287dbcf4bc41ca9fb5ff6c02976cf + +kio-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 + } +}