From 08dc2d3a905752c1f405392c4f2e33ba577a9b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 22 Sep 2021 17:25:57 +0200 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- arch/tde-extra/tde-tdepowersave/PKGBUILD | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'arch/tde-extra/tde-tdepowersave') diff --git a/arch/tde-extra/tde-tdepowersave/PKGBUILD b/arch/tde-extra/tde-tdepowersave/PKGBUILD index 65f5a99f8..f89a988f0 100644 --- a/arch/tde-extra/tde-tdepowersave/PKGBUILD +++ b/arch/tde-extra/tde-tdepowersave/PKGBUILD @@ -5,11 +5,11 @@ _mod=tdepowersave _cat=applications/ _kdemod="${_mod/tde/kde}" pkgname="tde-$_mod" -pkgver=14.0.5 +pkgver=14.0.10 pkgrel=1 pkgdesc="Trinity Desktop Enviroment $_cat$_mod" arch=('i686' 'x86_64') -url="http://scm.trinitydesktop.org/scm/git/$_mod" +url="https://scm.trinitydesktop.org/scm/git/$_mod" license=('GPL') #provides=("$_mod") groups=('tde-extra') @@ -18,7 +18,6 @@ depends=( 'tde-dbus-1-tqt' ) makedepends=( - 'autoconf' 'cmake' 'pkgconfig' ) @@ -28,27 +27,26 @@ confilicts=("trinity-$_kdemod" "kdemod3-$_kdemod") options=('staticlibs' 'libtool' '!strip') install= -source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/$_cat$_mod-R$pkgver.tar.bz2") +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/main/$_cat$_mod-trinity-$pkgver.tar.xz") +md5sums=('64daecf2c9061f3797b2cab8f0ad347b') -build() { - cd "${srcdir}/${_cat}${_mod}" - - msg "Patch sources" - sed -i 's/^int kdemain/KDE_EXPORT \0/' src/main.cpp +[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity +build() { msg "Creating out-of-source build directory: ${srcdir}/build" - mkdir -p "$srcdir/build" - cd "$srcdir/build" + mkdir -p "${srcdir}/build" + cd "${srcdir}/build" - msg "Starting cmake..." + export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH} - export LIBRARY_PATH="$LIBRARY_PATH:/opt/trinity/lib/" - cmake ${srcdir}/${_cat}${_mod} \ + msg "Starting cmake..." + cmake ${srcdir}/${_mod}-trinity-${pkgver} \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ -DBUILD_ALL=ON \ -DWITH_GCC_VISIBILITY=ON + msg "Building - ${pkgname#*-}..." make VERBOSE=1 $NUMJOBS } @@ -57,4 +55,3 @@ package() { cd "$srcdir/build" make -j1 DESTDIR="$pkgdir" install } -md5sums=('5006a20e844e3d8dc2ba8dbc41487990') -- cgit v1.2.1