summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-tdmtheme/PKGBUILD
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-22 17:25:57 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2021-09-29 06:38:41 +0000
commit08dc2d3a905752c1f405392c4f2e33ba577a9b8b (patch)
tree2e6f4dbd0bf48e8fe6bc4e41888253eef71d3f32 /arch/tde-extra/tde-tdmtheme/PKGBUILD
parent9ef3d4a4b9fc3e366f4a169482997f5ce2fbdf4f (diff)
downloadtde-packaging-08dc2d3a905752c1f405392c4f2e33ba577a9b8b.tar.gz
tde-packaging-08dc2d3a905752c1f405392c4f2e33ba577a9b8b.zip
ArchLinux: Update remaining application in tde-extra to R14.0.10.
Switch amarok, kmplayer, ksplash-engine-moodin, tde-systemsettings, tdesudo and tdmtheme to CMake. Backport patches to tdesudo to resolve FTBFS. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-extra/tde-tdmtheme/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-tdmtheme/PKGBUILD58
1 files changed, 22 insertions, 36 deletions
diff --git a/arch/tde-extra/tde-tdmtheme/PKGBUILD b/arch/tde-extra/tde-tdmtheme/PKGBUILD
index aa991c312..83b79322e 100644
--- a/arch/tde-extra/tde-tdmtheme/PKGBUILD
+++ b/arch/tde-extra/tde-tdmtheme/PKGBUILD
@@ -1,56 +1,42 @@
# Contributor: e1z0 <justinas at eofnet dot lt>
pkgname=tde-tdmtheme
-pkgver=14.0.5
+pkgver=14.0.10
pkgrel=1
pkgdesc="TDM Theme"
arch=('i686' 'x86_64')
-url='http://scm.trinitydesktop.org/scm/git/applications/tdmtheme'
+url='https://scm.trinitydesktop.org/scm/git/applications/tdmtheme'
license=('GPL')
groups=('tde-extra')
depends=('tde-tdebase')
-makedepends=('pkgconfig' 'automake')
+makedepends=('pkgconfig' 'cmake')
#provides=('tdmtheme')
#conflicts=('tdmtheme')
#replaces=('tdmtheme')
options=('staticlibs' 'libtool' '!strip')
-source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tdmtheme-R${pkgver}.tar.bz2")
-md5sums=('dc202459e80fde7b469ef1cfb684803c')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/tdmtheme-trinity-${pkgver}.tar.xz")
+md5sums=('b085fa2792024415fb2174633875adbe')
# install=''
-build() {
- # old ruby1.8 path
- export PATH=/opt/ruby1.8/bin:$PATH
- ## Generate config files and update with autoreconf
- cd ${srcdir}/applications/${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
+[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
- ## configure
- msg "Configuring - ${pkgname#*-}..."
- CFLAGS="${CFLAGS} -fpermissive" \
- CXXFLAGS="${CXXFLAGS} -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
+build() {
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p $srcdir/build
+ cd $srcdir/build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
+ -DBUILD_ALL=ON
+
+ msg "Building - ${pkgname#*-}..."
+ make $NUMJOBS
}
package() {
-msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/applications/${pkgname#*-} # use for libtool
-
-make -j1 DESTDIR="${pkgdir}" install
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+ make -j1 DESTDIR="${pkgdir}" install
}