Merge pull request #4041 from yopito/kdevelop

New package: kdevelop-1.7.3
This commit is contained in:
Juan RP 2016-04-21 14:26:53 +02:00
commit 30349e929d
6 changed files with 105 additions and 0 deletions

View file

@ -1348,6 +1348,7 @@ libkdecorations.so.4 kde-workspace-4.10.4_1
libplasmaclock.so.4 kde-workspace-4.10.4_1
libtaskmanager.so.4 kde-workspace-4.10.4_1
libkworkspace.so.4 kde-workspace-4.10.4_1
libprocessui.so.4 kde-workspace-4.10.4_1
libkgapi.so.1 libkgapi-2.0.1_1
libkgapi2.so.2 libkgapi-2.0.1_1
libqoauth.so.1 qoauth-1.0.1_1
@ -2416,3 +2417,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

View file

@ -0,0 +1,21 @@
cmake 3.x policy CMP0002 forbids same target name to be defined several times.
But the 30 po/*/CMakeList.txt files do it, so allow it or patch each.
Error message was:
dules/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/kdevelop-4.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:20:15.000000000 +0100
+++ CMakeLists.txt 2016-04-15 10:41:04.185750138 +0200
@@ -91,4 +91,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 )

21
srcpkgs/kdevelop/template Normal file
View file

@ -0,0 +1,21 @@
# Template file for 'kdevelop'
pkgname=kdevelop
version=4.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 qjson-devel
kdevplatform-devel kde-workspace-devel okteta-devel boost-devel"
# kde-runtime provides khelpcenter, needed to display documentation
depends="konsole kate kde-runtime"
short_desc="Integrated Development Environment for C++/C"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3"
homepage="https://www.kdevelop.org/"
distfiles="http://download.kde.org/stable/${pkgname}/${version}/src/${pkgname}-${version}.tar.bz2"
checksum=9db388d1c8274da7d168c13db612c7e94ece7815757b945b0aa0371620a06b35

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"
}
}