summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 20:14:04 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 20:14:04 -0300
commit477f2663906e4c753ab1ecb841f44eca5423f965 (patch)
treeff3b874408b963f36e26485d6654f3ab3996251b /libre
parent4234f18bfe9c70aa02fa2f17f9370fbf3c1a6398 (diff)
downloadabslibre-477f2663906e4c753ab1ecb841f44eca5423f965.tar.gz
abslibre-477f2663906e4c753ab1ecb841f44eca5423f965.tar.bz2
abslibre-477f2663906e4c753ab1ecb841f44eca5423f965.zip
soundkonverter-libre: add new package to [libre] repo
Diffstat (limited to 'libre')
-rw-r--r--libre/soundkonverter-libre/PKGBUILD52
-rw-r--r--libre/soundkonverter-libre/soundkonverter.install12
2 files changed, 64 insertions, 0 deletions
diff --git a/libre/soundkonverter-libre/PKGBUILD b/libre/soundkonverter-libre/PKGBUILD
new file mode 100644
index 000000000..8b3c74d7c
--- /dev/null
+++ b/libre/soundkonverter-libre/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id$
+# 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>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_pkgname=soundkonverter
+pkgname=soundkonverter-libre
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Front-end to various audio converters (without nonfree faac and mac recommendation)"
+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'
+ '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)')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+install=$_pkgname.install
+source=("http://kde-apps.org/CONTENT/content-files/29024-${_pkgname}-${pkgver}.tar.gz")
+md5sums=('f1df729916b2418c474b859ed6b9eda6')
+
+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-libre/soundkonverter.install b/libre/soundkonverter-libre/soundkonverter.install
new file mode 100644
index 000000000..0e8feb79c
--- /dev/null
+++ b/libre/soundkonverter-libre/soundkonverter.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+