diff options
Diffstat (limited to 'arch/tde-devel')
-rw-r--r-- | arch/tde-devel/tde-tdesdk/PKGBUILD | 59 | ||||
-rw-r--r-- | arch/tde-devel/tde-tdevelop/PKGBUILD | 49 | ||||
-rw-r--r-- | arch/tde-devel/tde-tdevelop/fix_tqt_error.patch | 26 | ||||
-rw-r--r-- | arch/tde-devel/tde-tdewebdev/PKGBUILD | 43 |
4 files changed, 177 insertions, 0 deletions
diff --git a/arch/tde-devel/tde-tdesdk/PKGBUILD b/arch/tde-devel/tde-tdesdk/PKGBUILD new file mode 100644 index 000000000..0b085d9e7 --- /dev/null +++ b/arch/tde-devel/tde-tdesdk/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Michael Manley <[email protected]> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-tdesdk +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdesdk' +license=('GPL') +groups=('tde-devel') +pkgdesc="Trinity Desktop Development Tools" +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake' 'flex' 'subversion') +provides=('tdesdk') +conflicts=('trinity-tdesdk' 'trinity-kdesdk') +replaces=('trinity-tdesdk') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdesdk-R${pkgver}.tar.bz2") +md5sums=('3821592afede20daf82ed2eef597955b') +# install='' + +#prepare() { +# patch -Np1 -i "${srcdir}/../kautoconfig.patch" +#} + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -std=c++0x -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + msg "Building - ${pkgname#*-}..." + make $NUMJOBS + +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/${pkgname#*-} # use for libtool + + make -j1 DESTDIR="${pkgdir}" install +} 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) ################################ + diff --git a/arch/tde-devel/tde-tdewebdev/PKGBUILD b/arch/tde-devel/tde-tdewebdev/PKGBUILD new file mode 100644 index 000000000..943e0e31b --- /dev/null +++ b/arch/tde-devel/tde-tdewebdev/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdewebdev +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdewebdev' +license=('GPL') +groups=('tde-devel') +pkgdesc="Trinity Web Developer Tools" +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +provides=('tdewebdev') +conflicts=('trinity-tdewebdev' 'trinity-kdewebdev') +replaces=('trinity-tdewebdev') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdewebdev-R${pkgver}.tar.bz2") +md5sums=('a51df50c2a897883d3557421b6949620') +# install='' + +build() { + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/${pkgname#*-} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ + -DWITH_SPEEX=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install +} |