diff --git a/common/shlibs b/common/shlibs index 15412af5332..51fa72b9ef4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2416,3 +2416,15 @@ libxdo.so.3 xdotool-3.20150503.1_1 libabigail.so.0 libabigail-1.0.rc3_1 libgames-support.so.2 libgames-support-1.0.1_1 libwlc.so.0 wlc-0.0.2_1 +libkdevplatformshell.so.8 kdevplatform-1.7.3_1 +libkdevplatformdebugger.so.8 kdevplatform-1.7.3_1 +libkdevplatformjsontests.so.8 kdevplatform-1.7.3_1 +libsublime.so.8 kdevplatform-1.7.3_1 +libkdevplatformtests.so.8 kdevplatform-1.7.3_1 +libkdevplatformlanguage.so.8 kdevplatform-1.7.3_1 +libkdevplatformproject.so.8 kdevplatform-1.7.3_1 +libkdevplatformutil.so.8 kdevplatform-1.7.3_1 +libkdevplatformdocumentation.so.8 kdevplatform-1.7.3_1 +libkdevplatformoutputview.so.8 kdevplatform-1.7.3_1 +libkdevplatformvcs.so.8 kdevplatform-1.7.3_1 +libkdevplatforminterfaces.so.8 kdevplatform-1.7.3_1 diff --git a/srcpkgs/kdevplatform-devel b/srcpkgs/kdevplatform-devel new file mode 120000 index 00000000000..70e3438c424 --- /dev/null +++ b/srcpkgs/kdevplatform-devel @@ -0,0 +1 @@ +kdevplatform \ No newline at end of file diff --git a/srcpkgs/kdevplatform/patches/kdevplatform-1.7.3.cmake-allow-dup-targets-in-po-subdirs.patch b/srcpkgs/kdevplatform/patches/kdevplatform-1.7.3.cmake-allow-dup-targets-in-po-subdirs.patch new file mode 100644 index 00000000000..c1e730aa873 --- /dev/null +++ b/srcpkgs/kdevplatform/patches/kdevplatform-1.7.3.cmake-allow-dup-targets-in-po-subdirs.patch @@ -0,0 +1,21 @@ +cmake 3.x policy CMP0002 forbids same target name to be defined several times. +But the 28 po/*/CMakeList.txt files do it, so allow it or patch each. + +Error message was: +CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:232 (ADD_CUSTOM_TARGET): + add_custom_target cannot create target "pofiles" because another target + with the same name already exists. The existing target is a custom target + created in source directory "/builddir/kdevplatform-1.7.3/po/fi". See + documentation for policy CMP0002 for more details. +Call Stack (most recent call first): + po/gl/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES) + +--- CMakeLists.txt.orig 2016-01-22 19:05:47.000000000 +0100 ++++ CMakeLists.txt 2016-04-15 01:18:05.456531820 +0200 +@@ -140,4 +140,6 @@ + configure_file(${CMAKE_SOURCE_DIR}/CTestCustom.cmake ${CMAKE_BINARY_DIR}/CTestCustom.cmake) + + include(MacroOptionalAddSubdirectory) ++set_property(GLOBAL ++ PROPERTY ALLOW_DUPLICATE_CUSTOM_TARGETS 1) + macro_optional_add_subdirectory( po ) diff --git a/srcpkgs/kdevplatform/template b/srcpkgs/kdevplatform/template new file mode 100644 index 00000000000..9fd7c790ef4 --- /dev/null +++ b/srcpkgs/kdevplatform/template @@ -0,0 +1,28 @@ +# Template file for 'kdevplatform' +pkgname=kdevplatform +version=1.7.3 +revision=1 + +build_style=cmake +configure_args="-Wno-dev" + +hostmakedepends="qt-qmake automoc4 perl" +makedepends="kdelibs-devel qt-devel libressl-devel phonon-devel grantlee-devel + boost-devel subversion-devel apr-util-devel qjson-devel" + +short_desc="Libraries for use by KDE development tools" +maintainer="yopito " +license="GPL-2" +homepage="https://www.kdevelop.org/" +distfiles="http://download.kde.org/stable/kdevelop/4.7.3/src/${pkgname}-${version}.tar.bz2" +checksum=195134bde11672de38838f4b341ed28c58042374ca12beedacca9d30e6ab4a2b + +kdevplatform-devel_package() { + short_desc+="- development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove "usr/lib/lib*.so" + } +}