New package: kdevelop-4.7.3

This commit is contained in:
yopito 2016-04-15 15:40:20 +02:00
parent 5e59afc339
commit 3e2c401cb2
2 changed files with 42 additions and 0 deletions

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