summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-arts
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-20 17:08:32 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-09-29 09:27:25 +0200
commit0ac2945504b4df71d0ac6777b2c956cd4921ad08 (patch)
tree301eb3b41ae6f4e78a8b5611040ba8d9c13af6dd /arch/tde-core/tde-arts
parent318e997cf4d25c5d2e7b4261a6017b653c1fa93c (diff)
downloadtde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.tar.gz
tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.zip
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 018f946ee70600993c60a74046f417ca05bdb41b)
Diffstat (limited to 'arch/tde-core/tde-arts')
-rw-r--r--arch/tde-core/tde-arts/PKGBUILD60
-rw-r--r--arch/tde-core/tde-arts/tde-arts.install11
2 files changed, 71 insertions, 0 deletions
diff --git a/arch/tde-core/tde-arts/PKGBUILD b/arch/tde-core/tde-arts/PKGBUILD
new file mode 100644
index 000000000..1d3fe5e8f
--- /dev/null
+++ b/arch/tde-core/tde-arts/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: Michael Manley <mmanley@nasutek.com>
+# Contributor: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+# Contributor: David C. Rankin <drankinatty at gmail dot com>
+
+pkgname=tde-arts
+pkgver=14.0.5
+pkgrel=1
+pkgdesc="Trinity ARTS Sound System and libraries"
+arch=('i686' 'x86_64')
+url='http://scm.trinitydesktop.org/scm/git/arts'
+license=('GPL')
+groups=('tde-core')
+depends=('alsa-plugins'
+ 'alsa-tools'
+ 'alsa-utils'
+ 'audiofile'
+ 'glib2'
+ 'libmad'
+ 'libogg'
+ 'libvorbis'
+ 'pulseaudio-alsa'
+ 'tde-tqtinterface')
+makedepends=('pkgconfig' 'cmake')
+optdepends=('audio-convert: A script with an easy to use interface to convert audio files: wav, mp3, ogg, flac, aac, mpc, ape and wma'
+ 'lame: A high quality MPEG Audio Layer III (MP3) encoder'
+ 'libmp3splt: Library for splitting mp3 and ogg files without decoding'
+ 'mpd: Music daemon that plays MP3, FLAC, and Ogg Vorbis files'
+ 'vorbis-tools: Extra tools for Ogg-Vorbis')
+provides=('arts')
+conflicts=('kdemod3-arts' 'arts')
+replaces=('trinity-arts')
+options=('staticlibs' 'libtool' '!emptydirs')
+source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/dependencies/arts-R${pkgver}.tar.bz2")
+md5sums=('2632ad0a5045b24a5f01ed1aebcf2fa8')
+install='tde-arts.install'
+
+build() {
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/dependencies/arts/ \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
+ -DWITH_GCC_VISIBILITY=ON
+
+ msg "Building $pkgname..."
+ make $NUMJOBS
+
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+
+ cd ${srcdir}/build
+ make -j1 DESTDIR="$pkgdir" install
+
+}
diff --git a/arch/tde-core/tde-arts/tde-arts.install b/arch/tde-core/tde-arts/tde-arts.install
new file mode 100644
index 000000000..30e6e407f
--- /dev/null
+++ b/arch/tde-core/tde-arts/tde-arts.install
@@ -0,0 +1,11 @@
+post_install() {
+ ldconfig &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}