summaryrefslogtreecommitdiff
path: root/libre/soundkonverter
diff options
context:
space:
mode:
Diffstat (limited to 'libre/soundkonverter')
-rw-r--r--libre/soundkonverter/PKGBUILD50
-rw-r--r--libre/soundkonverter/soundkonverter.install12
2 files changed, 62 insertions, 0 deletions
diff --git a/libre/soundkonverter/PKGBUILD b/libre/soundkonverter/PKGBUILD
new file mode 100644
index 000000000..f2896a338
--- /dev/null
+++ b/libre/soundkonverter/PKGBUILD
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 109579 2014-04-16 10:34:29Z stativ $
+# Maintainer (Arch): Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Contributor (Arch): Mateusz Herych <heniekk@gmail.com>
+# Contributor (Arch): Eric Belanger <eric@archlinux.org>
+# Contributor (Arch): Darwin Bautista <djclue917@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=soundkonverter
+pkgver=2.1.1
+pkgrel=1.parabola1
+pkgdesc="Front-end to various audio converters, without nonfree faac and mac recommendation"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.kde-apps.org/content/show.php?content=29024"
+license=('GPL')
+replaces=("${pkgname}-libre" "${pkgname}-parabola")
+conflicts=("${pkgname}-libre" "${pkgname}-parabola")
+depends=('kdebase-runtime' 'libkcddb' 'cdparanoia' 'taglib')
+makedepends=('automoc4' 'cmake')
+optdepends=('cdrkit: cdda2wav backend'
+ 'faad2: faad backend'
+ 'ffmpeg: ffmpeg backend'
+ 'flac: flac backend'
+ 'fluidsynth: flouidsynth backend'
+ 'lame: lame backend'
+ 'mplayer: mplayer backend'
+ 'mp3gain: mp3gain backend'
+ 'opus-tools: opus backend'
+ 'speex: speexenc, speexdec backends'
+ 'timidity++: midi backend'
+ 'twolame: twolame backend'
+ 'vorbisgain: vorbisgain backend'
+ 'vorbis-tools: vorbis tools backend'
+ 'wavpack: wavpack backend'
+ 'sox: sox plugin (change sample rate, various effects)')
+install=$pkgname.install
+source=("http://kde-apps.org/CONTENT/content-files/29024-${pkgname}-${pkgver}.tar.gz")
+md5sums=('fa008d90b5c12bc3af569ec104c3b4cc')
+
+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/libre/soundkonverter/soundkonverter.install b/libre/soundkonverter/soundkonverter.install
new file mode 100644
index 000000000..0e8feb79c
--- /dev/null
+++ b/libre/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
+}
+