summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-10-28 01:38:39 +0200
committerSlávek Banko <[email protected]>2022-10-28 01:38:39 +0200
commitddc027255b1bafb5c0544a60947b7c448140e384 (patch)
tree37e8b384eadf2f7f32e478ca41f10d3610b7aedd /arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
parenta5c233945a54cedfcaf97a8d839b09a68b228e85 (diff)
downloadtde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.tar.gz
tde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.zip
ArchLinux: Update for final R14.0.13.
Add aarch64 and armv7h to architectures. Add pkgbuilds for several applications. Add pkgbuild for libkipi library. Add pkgbuilds for dependencies. Remove dependence on Python 2. Remove backported patches. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD47
1 files changed, 20 insertions, 27 deletions
diff --git a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
index d2ca554d6..e7bc4e4cd 100644
--- a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
+++ b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
@@ -6,10 +6,10 @@ _cat=applications/themes/
_kdemod="${_mod/tde/kde}"
pkgname="tde-${_mod}"
-pkgver=14.0.12
+pkgver=14.0.13
pkgrel=1
pkgdesc="gtk3 tqt engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'aarch64' 'armv7h')
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
license=('GPL')
groups=('tde-extra')
@@ -20,39 +20,32 @@ conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
replaces=("trinity-${_mod}")
options=('staticlibs' 'libtool' '!strip')
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
-md5sums=('a3078835150c1c83dfe733fb0d730ad1')
+md5sums=('33eced7adfe5b32efd5758307d4f7c4e')
install=''
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
build() {
- ## Generate config files and update with autoreconf
- cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
-
- 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}..."
- ./configure \
- --prefix=${TDEDIR} \
- --with-qt-dir=${QTDIR} \
- --with-qt-includes=${QTDIR}/include \
- --with-qt-libraries=${QTDIR}/lib \
- --with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
- --with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
-
- msg "Building - ${pkgname}..."
- make $NUMJOBS
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p ${srcdir}/build
+ cd ${srcdir}/build
+
+ msg "Starting cmake..."
+
+ cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
+ -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
+ -DBUILD_ALL=ON \
+ -DWITH_ALL_OPTIONS=ON
+
+ msg "Building - ${pkgname#*-}..."
+ ninja $NUMJOBS
}
package() {
msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
- make -j1 DESTDIR="${pkgdir}" install
+ cd ${srcdir}/build
+ DESTDIR="${pkgdir}" ninja -j1 install
}