[arch-commits] Commit in soundkonverter/repos (8 files)
Allan McRae
allan at archlinux.org
Mon Dec 7 16:57:27 UTC 2015
Date: Monday, December 7, 2015 @ 17:57:27
Author: allan
Revision: 150047
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
soundkonverter/repos/community-staging-i686/
soundkonverter/repos/community-staging-i686/PKGBUILD
(from rev 150046, soundkonverter/trunk/PKGBUILD)
soundkonverter/repos/community-staging-i686/soundkonverter-taglib-1.10.patch
(from rev 150046, soundkonverter/trunk/soundkonverter-taglib-1.10.patch)
soundkonverter/repos/community-staging-i686/soundkonverter.install
(from rev 150046, soundkonverter/trunk/soundkonverter.install)
soundkonverter/repos/community-staging-x86_64/
soundkonverter/repos/community-staging-x86_64/PKGBUILD
(from rev 150046, soundkonverter/trunk/PKGBUILD)
soundkonverter/repos/community-staging-x86_64/soundkonverter-taglib-1.10.patch
(from rev 150046, soundkonverter/trunk/soundkonverter-taglib-1.10.patch)
soundkonverter/repos/community-staging-x86_64/soundkonverter.install
(from rev 150046, soundkonverter/trunk/soundkonverter.install)
-----------------------------------------------------------+
community-staging-i686/PKGBUILD | 56 ++++++++++++
community-staging-i686/soundkonverter-taglib-1.10.patch | 24 +++++
community-staging-i686/soundkonverter.install | 12 ++
community-staging-x86_64/PKGBUILD | 56 ++++++++++++
community-staging-x86_64/soundkonverter-taglib-1.10.patch | 24 +++++
community-staging-x86_64/soundkonverter.install | 12 ++
6 files changed, 184 insertions(+)
Copied: soundkonverter/repos/community-staging-i686/PKGBUILD (from rev 150046, soundkonverter/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 16:57:27 UTC (rev 150047)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Darwin Bautista <djclue917 at gmail.com>
+
+pkgname=soundkonverter
+pkgver=2.1.2
+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'
+ '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" soundkonverter-taglib-1.10.patch)
+md5sums=('4f09193d6602de7952b985b9505731f8'
+ '9e95e0a090028c8e585a2c96b8a80734')
+
+prepare() {
+ cd $pkgname-$pkgver
+# Fix taglib 1.10 detection
+ patch -p1 -i ../soundkonverter-taglib-1.10.patch
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: soundkonverter/repos/community-staging-i686/soundkonverter-taglib-1.10.patch (from rev 150046, soundkonverter/trunk/soundkonverter-taglib-1.10.patch)
===================================================================
--- community-staging-i686/soundkonverter-taglib-1.10.patch (rev 0)
+++ community-staging-i686/soundkonverter-taglib-1.10.patch 2015-12-07 16:57:27 UTC (rev 150047)
@@ -0,0 +1,24 @@
+--- soundkonverter-2.1.2/cmake/modules/FindTaglib.cmake.orig 2015-12-07 17:46:20.470042447 +0100
++++ soundkonverter-2.1.2/cmake/modules/FindTaglib.cmake 2015-12-07 17:47:37.743822877 +0100
+@@ -29,10 +29,10 @@
+
+ exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
+
+- if(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
++ if("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
+ message(STATUS "TagLib version too old: version searched :${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
+ set(TAGLIB_FOUND FALSE)
+- else(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
++ else("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
+
+ exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES)
+
+@@ -42,7 +42,7 @@
+ set(TAGLIB_FOUND TRUE)
+ endif(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
+ string(REGEX REPLACE " *-I" ";" TAGLIB_INCLUDES "${TAGLIB_CFLAGS}")
+- endif(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
++ endif("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
+ mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES)
+
+ else(TAGLIBCONFIG_EXECUTABLE)
Copied: soundkonverter/repos/community-staging-i686/soundkonverter.install (from rev 150046, soundkonverter/trunk/soundkonverter.install)
===================================================================
--- community-staging-i686/soundkonverter.install (rev 0)
+++ community-staging-i686/soundkonverter.install 2015-12-07 16:57:27 UTC (rev 150047)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
Copied: soundkonverter/repos/community-staging-x86_64/PKGBUILD (from rev 150046, soundkonverter/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-07 16:57:27 UTC (rev 150047)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Darwin Bautista <djclue917 at gmail.com>
+
+pkgname=soundkonverter
+pkgver=2.1.2
+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'
+ '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" soundkonverter-taglib-1.10.patch)
+md5sums=('4f09193d6602de7952b985b9505731f8'
+ '9e95e0a090028c8e585a2c96b8a80734')
+
+prepare() {
+ cd $pkgname-$pkgver
+# Fix taglib 1.10 detection
+ patch -p1 -i ../soundkonverter-taglib-1.10.patch
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: soundkonverter/repos/community-staging-x86_64/soundkonverter-taglib-1.10.patch (from rev 150046, soundkonverter/trunk/soundkonverter-taglib-1.10.patch)
===================================================================
--- community-staging-x86_64/soundkonverter-taglib-1.10.patch (rev 0)
+++ community-staging-x86_64/soundkonverter-taglib-1.10.patch 2015-12-07 16:57:27 UTC (rev 150047)
@@ -0,0 +1,24 @@
+--- soundkonverter-2.1.2/cmake/modules/FindTaglib.cmake.orig 2015-12-07 17:46:20.470042447 +0100
++++ soundkonverter-2.1.2/cmake/modules/FindTaglib.cmake 2015-12-07 17:47:37.743822877 +0100
+@@ -29,10 +29,10 @@
+
+ exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
+
+- if(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
++ if("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
+ message(STATUS "TagLib version too old: version searched :${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
+ set(TAGLIB_FOUND FALSE)
+- else(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
++ else("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
+
+ exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES)
+
+@@ -42,7 +42,7 @@
+ set(TAGLIB_FOUND TRUE)
+ endif(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
+ string(REGEX REPLACE " *-I" ";" TAGLIB_INCLUDES "${TAGLIB_CFLAGS}")
+- endif(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
++ endif("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
+ mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES)
+
+ else(TAGLIBCONFIG_EXECUTABLE)
Copied: soundkonverter/repos/community-staging-x86_64/soundkonverter.install (from rev 150046, soundkonverter/trunk/soundkonverter.install)
===================================================================
--- community-staging-x86_64/soundkonverter.install (rev 0)
+++ community-staging-x86_64/soundkonverter.install 2015-12-07 16:57:27 UTC (rev 150047)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
More information about the arch-commits
mailing list