summaryrefslogtreecommitdiff
path: root/community-testing/soundkonverter
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-03 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-08-03 00:01:47 +0000
commit92bafb5f0efc526b1f83cd5fb9460443c4b13dca (patch)
treea762a2b1551bff9d77cf7a44a75f915fb074c1a2 /community-testing/soundkonverter
parentf003ac1c96d76f4e3a2b93f988e1effce6771052 (diff)
Fri Aug 3 00:01:47 UTC 2012
Diffstat (limited to 'community-testing/soundkonverter')
-rw-r--r--community-testing/soundkonverter/PKGBUILD47
-rw-r--r--community-testing/soundkonverter/soundkonverter.install12
2 files changed, 59 insertions, 0 deletions
diff --git a/community-testing/soundkonverter/PKGBUILD b/community-testing/soundkonverter/PKGBUILD
new file mode 100644
index 000000000..91d78cbfc
--- /dev/null
+++ b/community-testing/soundkonverter/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 74664 2012-08-01 16:57:51Z andrea $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: Darwin Bautista <djclue917@gmail.com>
+
+pkgname=soundkonverter
+pkgver=1.6.3
+pkgrel=2
+pkgdesc="Front-end to various audio converters"
+arch=('i686' 'x86_64')
+url="http://www.kde-apps.org/content/show.php?content=29024"
+license=('GPL')
+depends=('kdebase-runtime' 'libkcddb' 'cdparanoia' 'taglib')
+makedepends=('automoc4' 'cmake')
+optdepends=('cdrkit: cdda2wav backend'
+ 'faac: faac backend'
+ 'faad2: faad backend'
+ 'ffmpeg: ffmpeg backend'
+ 'flac: flac backend'
+ 'fluidsynth: flouidsynth backend'
+ 'lame: lame backend'
+ 'mac: mac backend'
+ 'mplayer: mplayer backend'
+ 'mp3gain: mp3gain backend'
+ 'speex: speexenc, speexdec backends'
+ 'timidity++: midi backend'
+ 'twolame: twolame backend'
+ 'vorbisgain: vorbisgain backend'
+ 'vorbis-tools: vorbis tools backend'
+ 'wavpack: wavpack backend')
+install=$pkgname.install
+source=("http://kde-apps.org/CONTENT/content-files/29024-${pkgname}-${pkgver}.tar.gz")
+md5sums=('f617d9b73937d4576bc21fd359f4964b')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community-testing/soundkonverter/soundkonverter.install b/community-testing/soundkonverter/soundkonverter.install
new file mode 100644
index 000000000..0e8feb79c
--- /dev/null
+++ b/community-testing/soundkonverter/soundkonverter.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+