diff options
author | Slávek Banko <[email protected]> | 2021-09-20 17:08:32 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-09-29 09:27:25 +0200 |
commit | 0ac2945504b4df71d0ac6777b2c956cd4921ad08 (patch) | |
tree | 301eb3b41ae6f4e78a8b5611040ba8d9c13af6dd /arch/tde-devel/tde-tdevelop | |
parent | 318e997cf4d25c5d2e7b4261a6017b653c1fa93c (diff) | |
download | tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.tar.gz tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.zip |
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 018f946ee70600993c60a74046f417ca05bdb41b)
Diffstat (limited to 'arch/tde-devel/tde-tdevelop')
-rw-r--r-- | arch/tde-devel/tde-tdevelop/PKGBUILD | 49 | ||||
-rw-r--r-- | arch/tde-devel/tde-tdevelop/fix_tqt_error.patch | 26 |
2 files changed, 75 insertions, 0 deletions
diff --git a/arch/tde-devel/tde-tdevelop/PKGBUILD b/arch/tde-devel/tde-tdevelop/PKGBUILD new file mode 100644 index 000000000..8c5d37be6 --- /dev/null +++ b/arch/tde-devel/tde-tdevelop/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Michael Manley <[email protected]> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-tdevelop +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdevelop' +license=('GPL') +groups=('tde-devel') +pkgdesc="Trinity Desktop Developer Tools" +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +provides=('tdevelop') +conflicts=('trinity-tdevelop' 'trinity-kdevelop') +replaces=('trinity-tdevelop') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdevelop-R${pkgver}.tar.bz2" + "fix_tqt_error.patch") +md5sums=('ddc6fe1c7adc3c6284db806a8ea96e76' + 'da7c0a4793e98351d9f2d4122d3d2626') +# install='' + +build() { + cd ${srcdir}/${pkgname#*-} + patch -p1 -i ${srcdir}/fix_tqt_error.patch + + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p ${srcdir}/build + cd ${srcdir}/build + + msg "Starting cmake..." + cmake ${srcdir}/${pkgname#*-} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ + -DWITH_BUILDTOOL_ALL=ON \ + -DWITH_LANGUAGE_ALL=ON \ + -DWITH_VCS_ALL=ON \ + -DBUILD_ALL=ON + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-devel/tde-tdevelop/fix_tqt_error.patch b/arch/tde-devel/tde-tdevelop/fix_tqt_error.patch new file mode 100644 index 000000000..dfd0afcc2 --- /dev/null +++ b/arch/tde-devel/tde-tdevelop/fix_tqt_error.patch @@ -0,0 +1,26 @@ +diff -Naur tdevelop-orig/lib/interfaces/external/CMakeLists.txt tdevelop/lib/interfaces/external/CMakeLists.txt +--- tdevelop-orig/lib/interfaces/external/CMakeLists.txt 2015-09-22 20:10:40.000000000 -0700 ++++ tdevelop/lib/interfaces/external/CMakeLists.txt 2017-06-29 04:29:48.095622130 -0700 +@@ -15,6 +15,9 @@ + ${TQT_INCLUDE_DIRS} + ) + ++link_directories ( ++ ${TQT_LIBRARY_DIRS} ++) + + ##### headers ################################### + +diff -Naur tdevelop-orig/src/newui/CMakeLists.txt tdevelop/src/newui/CMakeLists.txt +--- tdevelop-orig/src/newui/CMakeLists.txt 2015-09-22 20:10:40.000000000 -0700 ++++ tdevelop/src/newui/CMakeLists.txt 2017-06-29 04:34:10.788957492 -0700 +@@ -15,6 +15,9 @@ + ${TQT_INCLUDE_DIRS} + ) + ++link_directories( ++ ${TQT_LIBRARY_DIRS} ++) + + ##### d (shared) ################################ + |