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-tdepowersave | |
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-tdepowersave')
-rw-r--r-- | arch/tde-extra/tde-tdepowersave/PKGBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
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') |