diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-22 17:25:57 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-09-29 09:27:58 +0200 |
commit | 97b2476606456d0d385dceb83dbc4657c8472f75 (patch) | |
tree | f9d777fdce9a0c3e24b0effbb55ce87dbe0de089 /arch/tde-extra/tde-systemsettings | |
parent | 746eb0ba7a5d89e64bb5da2e6fff7fb9ce335210 (diff) | |
download | tde-packaging-97b2476606456d0d385dceb83dbc4657c8472f75.tar.gz tde-packaging-97b2476606456d0d385dceb83dbc4657c8472f75.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>
(cherry picked from commit 08dc2d3a905752c1f405392c4f2e33ba577a9b8b)
Diffstat (limited to 'arch/tde-extra/tde-systemsettings')
-rw-r--r-- | arch/tde-extra/tde-systemsettings/PKGBUILD | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/arch/tde-extra/tde-systemsettings/PKGBUILD b/arch/tde-extra/tde-systemsettings/PKGBUILD index 239f47606..afbddda4f 100644 --- a/arch/tde-extra/tde-systemsettings/PKGBUILD +++ b/arch/tde-extra/tde-systemsettings/PKGBUILD @@ -1,11 +1,11 @@ # Contributor: e1z0 <justinas at eofnet dot lt> pkgname=tde-systemsettings -pkgver=14.0.5 +pkgver=14.0.10 pkgrel=1 pkgdesc="TDE System Settings" arch=('i686' 'x86_64') -url='http://scm.trinitydesktop.org/scm/git/applications/tde-systemsettings' +url='https://scm.trinitydesktop.org/scm/git/applications/tde-systemsettings' license=('GPL') groups=('tde-extra') depends=('tde-tdebase') @@ -14,36 +14,30 @@ makedepends=('pkgconfig' 'cmake') #conflicts=('tde-systemsettings') #replaces=('tde-systemsettings') options=('staticlibs' 'libtool' '!strip') -source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tde-systemsettings-R${pkgver}.tar.bz2") -md5sums=('2a59f87b39bd63b8ae30eca38763a3ec') +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/tde-systemsettings-trinity-${pkgver}.tar.xz") +md5sums=('aa7b76706221850c5ef5519360247e7b') # install='' -build() { - ## 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}..." - - ./configure --prefix=${TDEDIR} - 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 \ + -DBUILD_KNETWORKCONF=OFF + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS } package() { msg "Packaging - $pkgname-$pkgver" - cd ${srcdir}/applications/${pkgname} - + cd ${srcdir}/build make -j1 DESTDIR="${pkgdir}" install - - rm -rf ${pkgdir}/opt/trinity/share/applications/tde/kcmfontinst.desktop - rm -rf ${pkgdir}/opt/trinity/share/applications/tde/laptop.desktop - rm -rf ${pkgdir}/opt/trinity/share/desktop-directories/tde-settings-power.directory - rm -rf ${pkgdir}/opt/trinity/share/desktop-directories/tde-settings-system.directory } |