From 0ac2945504b4df71d0ac6777b2c956cd4921ad08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 20 Sep 2021 17:08:32 +0200 Subject: ArchLinux: Take a newer state of pkgbuilds from Michael Manley Clean old long-term not maintained pkgbuilds. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 018f946ee70600993c60a74046f417ca05bdb41b) --- arch/tde-core/tde-tdelibs/PKGBUILD | 94 +++++++++++++++++++++++ arch/tde-core/tde-tdelibs/trinity-tdelibs.install | 11 +++ 2 files changed, 105 insertions(+) create mode 100644 arch/tde-core/tde-tdelibs/PKGBUILD create mode 100644 arch/tde-core/tde-tdelibs/trinity-tdelibs.install (limited to 'arch/tde-core/tde-tdelibs') diff --git a/arch/tde-core/tde-tdelibs/PKGBUILD b/arch/tde-core/tde-tdelibs/PKGBUILD new file mode 100644 index 000000000..ef0baea06 --- /dev/null +++ b/arch/tde-core/tde-tdelibs/PKGBUILD @@ -0,0 +1,94 @@ +# Maintainer: Michael Manley +# Contributor: Pawel 'l0ner' Soltys +# Contributor: Calvin Morrison +# Contributor: David C. Rankin + +pkgname=tde-tdelibs +pkgver=14.0.5 +pkgrel=1 +pkgdesc="Trinity Desktop core libraries and applications" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdelibs' +license=('GPL') +groups=('tde-core') +depends=('aspell' + 'hspell' + 'jasper' + 'libcups' + 'libidn' + 'libutempter' + 'libxcomposite' + 'libxslt' + 'libxtst' + 'openssl-1.0' + 'openexr' + 'pcre' + 'tde-arts' + 'tde-libart-lgpl' + 'xorg-iceauth' + 'xorg-xmessage' + 'xorg-xprop' + 'xorg-xset' + 'xorg-xsetroot' + 'tde-dbus-1-tqt') +makedepends=('pkgconfig' 'cmake') +provides=('tdelibs') +conflicts=('trinity-kdelibs' 'trinity-tdelibs' 'kdemod3-kdelibs' 'kdelibs3') +replaces=('trinity-kdelibs' 'trinity-tdelibs') +options=('staticlibs' 'libtool' '!makeflags' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdelibs-R${pkgver}.tar.bz2") + +md5sums=('03e4bdd2f36d1f5df1427b731a7c75ae') + +install='trinity-tdelibs.install' + +build() { + cd "${srcdir}/tdelibs" + + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/${_builddir}" + mkdir -p build + cd build + + export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig + + msg "Starting cmake..." + cmake ${srcdir}/tdelibs \ + -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ + -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_ARTS=ON \ + -DWITH_ALSA=ON \ + -DWITH_LIBART=ON \ + -DWITH_LIBIDN=ON \ + -DWITH_SSL=ON \ + -DWITH_CUPS=ON \ + -DWITH_LUA=OFF \ + -DWITH_TIFF=ON \ + -DWITH_JASPER=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_UTEMPTER=ON \ + -DWITH_AVAHI=ON \ + -DWITH_PAM=ON \ + -DWITH_PCRE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + -DWITH_TDEHWLIB_DAEMONS=ON \ + -DWITH_UPOWER=ON \ + -DWITH_UDISKS2=ON \ + -DWITH_LZMA=ON \ + -DWITH_XRANDR=ON \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_ASPELL=ON \ + -DWITH_HSPELL=ON + + msg "Building - $pkgname..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="$pkgdir" install + msg "Removing conflicting images" + rm ${pkgdir}/opt/trinity/share/mimelnk/application/x-mplayer2.desktop +} diff --git a/arch/tde-core/tde-tdelibs/trinity-tdelibs.install b/arch/tde-core/tde-tdelibs/trinity-tdelibs.install new file mode 100644 index 000000000..e2db661ac --- /dev/null +++ b/arch/tde-core/tde-tdelibs/trinity-tdelibs.install @@ -0,0 +1,11 @@ +post_install() { + ldconfig &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.1