New package: kdevplatform-1.7.3

This commit is contained in:
yopito 2016-04-15 15:36:27 +02:00
parent eb026beb3b
commit 95307bde33
4 changed files with 62 additions and 0 deletions

View File

@ -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

1
srcpkgs/kdevplatform-devel Symbolic link
View File

@ -0,0 +1 @@
kdevplatform

View File

@ -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 )

View File

@ -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 <pierre.bourgin@free.fr>"
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"
}
}