You are not logged in.
Hello,
I wanted to build the new Pinkytagger 2.0 but it needs libmusicbrainz version 3. Building libmusicbrainz is a bit difficult for me is there someone who could help me out with this?
gretz
Offline
Try
pkgname=libmusicbrainz
pkgver=3.0.1
pkgrel=1
pkgdesc="a development library geared towards developers who wish to add MusicBrainz lookup capabilities to their applications"
url="http://musicbrainz.org/"
arch=('i686')
license=('GPL')
depends=('neon' 'libdiscid')
source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/$pkgname-$pkgver.tar.gz \
gcc4.3.patch)
md5sums=('d42110ae548dae1eea73e83b03a1a936' '9db443a7c38be2f4f246d9a8e450ef02')
build() {
cd $startdir/src/$pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . || return 1
patch -p1 <../gcc4.3.patch || return 1
make || return 1
make DESTDIR=$startdir/pkg install
}
together with the patch
diff -ruN libmusicbrainz-3.0.1.orig/src/utils_private.cpp libmusicbrainz-3.0.1.new/src/utils_private.cpp
--- libmusicbrainz-3.0.1.orig/src/utils_private.cpp 2008-06-11 19:58:50.000000000 +0200
+++ libmusicbrainz-3.0.1.new/src/utils_private.cpp 2008-06-11 19:59:43.000000000 +0200
@@ -26,6 +26,7 @@
#include <map>
#include <ne_uri.h>
#include "utils_private.h"
+#include <cstdlib>
using namespace std;
using namespace MusicBrainz;
Last edited by Stefan Husmann (2008-06-11 18:18:43)
Offline
Thanks alot!! It works great. After adding x86:64 it also runs on arch64.
Thanks again!
Offline
Stefan, can you upload your package to AUR? I would like to package pinkytagger.
Or if you don't want to, can I?
Cerebral: "Welcome to the distro. You'll never leave. Mwahaha"
Offline
No need to ask! Feel free.
Offline