summaryrefslogtreecommitdiff
path: root/community/id3
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/id3
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/id3')
-rw-r--r--community/id3/PKGBUILD32
-rw-r--r--community/id3/id3-0.78-gcc44.patch29
2 files changed, 61 insertions, 0 deletions
diff --git a/community/id3/PKGBUILD b/community/id3/PKGBUILD
new file mode 100644
index 000000000..1093b942f
--- /dev/null
+++ b/community/id3/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 102161 2013-12-06 11:40:12Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Jochem Kossen <j.kossen@home.nl>
+
+pkgname=id3
+pkgver=0.78
+pkgrel=3
+pkgdesc="Utility to edit id3v1 and id3v2 tags"
+arch=('i686' 'x86_64')
+url="http://freshmeat.net/projects/id3"
+license=('BSD')
+depends=('gcc-libs')
+options=('!makeflags')
+source=(http://linux-bsd-unix.strefa.pl/${pkgname}-${pkgver}.tar.gz
+ id3-0.78-gcc44.patch)
+md5sums=('bbc2a5d8022006330e6bb51034fafb43'
+ '51370be8d2624efee3683efab608a7f1')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/id3-0.78-gcc44.patch
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
+
+ #install license
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
diff --git a/community/id3/id3-0.78-gcc44.patch b/community/id3/id3-0.78-gcc44.patch
new file mode 100644
index 000000000..63c4d93b1
--- /dev/null
+++ b/community/id3/id3-0.78-gcc44.patch
@@ -0,0 +1,29 @@
+--- a/charconv.cpp 2006-02-14 16:44:58.000000000 -0500
++++ b/charconv.cpp 2009-06-12 17:59:54.332486433 -0400
+@@ -5,6 +5,7 @@
+ #include <cstdlib>
+ #include <clocale>
+ #include <climits>
++#include <cstring>
+ #if defined(__STDC_ISO_10646__) || defined(__WIN32__)
+ # include <wchar.h>
+ # define fallback(call) (0)
+--- a/getid3v2.cpp 2006-02-10 22:23:14.000000000 -0500
++++ b/getid3v2.cpp 2009-06-12 18:06:49.582446332 -0400
+@@ -1,5 +1,6 @@
+ #include <vector>
+ #include <cstdio>
++#include <cstring>
+ #include "char_ucs.h"
+ #include "id3v2.h"
+ #include "getid3v2.h"
+--- a/setfname.cpp 2006-03-19 06:13:36.000000000 -0500
++++ b/setfname.cpp 2009-06-12 18:09:35.759097380 -0400
+@@ -1,6 +1,7 @@
+ #include <cstdio>
+ #include <cctype>
+ #include <ctime> // borland needs this
++#include <cstring>
+ #include <sys/stat.h>
+ #include <utime.h>
+ #if defined(__WIN32__)