summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
-rw-r--r--audiothumbnailer.cpp.patch4
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..49f1f86e39b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = audiothumbnailer
+ pkgdesc = Lightweight audio thumbnailer that can be used by file managers
+ pkgver = 0.2.0
+ pkgrel = 3
+ url = http://code.google.com/p/audiothumbnailer/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = imagemagick
+ depends = taglib
+ options = !libtool
+ source = http://audiothumbnailer.googlecode.com/files/audiothumbnailer-0.2.0.tar.gz
+ source = audiothumbnailer.cpp.patch
+ sha256sums = 1706f78e51be698ce4194dfe4fdff50ae07440d3e51d9e1ae4d367a5a8c2085c
+ sha256sums = 26447c4e29d94702af5939613af6153a6bc80b41157f330454db153a1d2463f7
+
+pkgname = audiothumbnailer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6937a5d535f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Robert Knauer <robert@privatdemail.net>
+# Contributor: twa022 <twa022@gmail.com>
+
+pkgname=audiothumbnailer
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="Lightweight audio thumbnailer that can be used by file managers"
+url="http://code.google.com/p/audiothumbnailer/"
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('imagemagick' 'taglib')
+source=(
+ "http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
+ "${pkgname}.cpp.patch"
+)
+sha256sums=(
+ '1706f78e51be698ce4194dfe4fdff50ae07440d3e51d9e1ae4d367a5a8c2085c'
+ '26447c4e29d94702af5939613af6153a6bc80b41157f330454db153a1d2463f7'
+)
+options=(!libtool)
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}/src"
+ patch "${pkgname}.cpp" "${srcdir}/${pkgname}.cpp.patch"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/audiothumbnailer.cpp.patch b/audiothumbnailer.cpp.patch
new file mode 100644
index 00000000000..214f3abeffa
--- /dev/null
+++ b/audiothumbnailer.cpp.patch
@@ -0,0 +1,4 @@
+33c33
+< #include <ImageMagick/Magick++.h>
+---
+> #include <ImageMagick-6/Magick++.h>