summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-tqtinterface
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-20 17:08:32 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2021-09-29 06:38:40 +0000
commit018f946ee70600993c60a74046f417ca05bdb41b (patch)
tree37829ad4f8af4005172148ee78ab38b67328cecb /arch/tde-core/tde-tqtinterface
parent2bcda9ee7da7582ee0e550a71b9f865cac76dce2 (diff)
downloadtde-packaging-018f946ee70600993c60a74046f417ca05bdb41b.tar.gz
tde-packaging-018f946ee70600993c60a74046f417ca05bdb41b.zip
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-core/tde-tqtinterface')
-rw-r--r--arch/tde-core/tde-tqtinterface/PKGBUILD59
-rw-r--r--arch/tde-core/tde-tqtinterface/tqtpc-location.patch11
-rw-r--r--arch/tde-core/tde-tqtinterface/trinity-tqtinterface.install12
3 files changed, 82 insertions, 0 deletions
diff --git a/arch/tde-core/tde-tqtinterface/PKGBUILD b/arch/tde-core/tde-tqtinterface/PKGBUILD
new file mode 100644
index 000000000..8d6534b6e
--- /dev/null
+++ b/arch/tde-core/tde-tqtinterface/PKGBUILD
@@ -0,0 +1,59 @@
+# Maintainer: Michael Manley <mmanley@nasutek.com>
+# Contributor: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+# Contributor: David C. Rankin <drankinatty at gmail dot com>
+
+pkgname=tde-tqtinterface
+pkgver=14.0.5
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://trinity.pearsoncomputing.net"
+license=('GPL2')
+groups=('tde-core')
+pkgdesc="TQt interface for the TDE desktop"
+depends=('tde-tqt3' 'glu')
+makedepends=('pkgconfig' 'cmake')
+provides=('tqtinterface')
+conflicts=('kdemod3-tqtinterface' 'trinity-tqtinterface')
+replaces=('trinity-tqtinterface')
+# makeopts=('libtool' '!emptydirs' '!strip')
+options=('staticlibs' 'libtool' '!emptydirs' '!strip')
+
+source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/dependencies/tqtinterface-R${pkgver}.tar.bz2"
+ 'tqtpc-location.patch')
+
+md5sums=('b1d086bbcc0cd62dfbb5833ff0af71a2'
+ 'c15745c944d98cb7c4cb553f0ca421d4')
+
+install='trinity-tqtinterface.install'
+
+_prefix=/usr
+_tdedir=/opt/trinity
+
+build() {
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake "../dependencies/tqtinterface" \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DQT_PREFIX_DIR=${QTDIR} \
+ -DQT_INCLUDE_DIR=${QTDIR}/include \
+ -DMOC_EXECUTABLE=${QTDIR}/bin/moc \
+ -DQT_VERSION=3
+
+ make $NUMJOBS
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+ make -j1 DESTDIR="${pkgdir}" install
+
+ # Create and install ld.so.conf.d file
+ install -d -m755 $pkgdir/etc/ld.so.conf.d/
+ echo ${_tdedir}/lib > $pkgdir/etc/ld.so.conf.d/trinity.conf
+ echo ${_tdedir}/lib/trinity >> $pkgdir/etc/ld.so.conf.d/trinity.conf
+}
diff --git a/arch/tde-core/tde-tqtinterface/tqtpc-location.patch b/arch/tde-core/tde-tqtinterface/tqtpc-location.patch
new file mode 100644
index 000000000..f256e925c
--- /dev/null
+++ b/arch/tde-core/tde-tqtinterface/tqtpc-location.patch
@@ -0,0 +1,11 @@
+--- dependencies/tqtinterface/CMakeLists.txt 2011-03-28 00:12:24.000000000 +0200
++++ dependencies/tqtinterface/CMakeLists.txt.new 2012-01-29 12:15:16.000000000 +0100
+@@ -35,7 +35,7 @@
+ tde_setup_install_path( BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" )
+ tde_setup_install_path( LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" )
+ tde_setup_install_path( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/tqt" )
+-tde_setup_install_path( PKGCONFIG_INSTALL_DIR "/usr/lib${LIB_SUFFIX}/pkgconfig" )
++tde_setup_install_path( PKGCONFIG_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig" )
+
+
+ ##### tqtinterface sources ######################
diff --git a/arch/tde-core/tde-tqtinterface/trinity-tqtinterface.install b/arch/tde-core/tde-tqtinterface/trinity-tqtinterface.install
new file mode 100644
index 000000000..2a8dc4c98
--- /dev/null
+++ b/arch/tde-core/tde-tqtinterface/trinity-tqtinterface.install
@@ -0,0 +1,12 @@
+post_install() {
+ ldconfig &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+