[Lunar-commits] <moonbase> libmusicbrainz: Version bump, bug fixes and a switch to cmake.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Mon Jan 4 13:45:56 CET 2010
commit 4c47d0c983a4507e0ec9b20706586897a58e1261
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Mon Jan 4 07:45:56 2010 -0500
libmusicbrainz: Version bump, bug fixes and a switch to cmake.
---
audio/libmusicbrainz/BUILD | 16 ++++++++--------
audio/libmusicbrainz/DEPENDS | 3 ++-
audio/libmusicbrainz/DETAILS | 12 ++++++------
3 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/audio/libmusicbrainz/BUILD b/audio/libmusicbrainz/BUILD
index db897d1..77b1309 100644
--- a/audio/libmusicbrainz/BUILD
+++ b/audio/libmusicbrainz/BUILD
@@ -1,15 +1,15 @@
(
- patch_it $SOURCE2 0 &&
+ sed -i "29i #include <stdio.h>" src/utils_private.cpp src/utils_private.h &&
- OPTS="$OPTS --enable-cpp-headers"
+ OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
- default_build &&
+ mkdir $OOTB_DIR &&
+ cd $OOTB_DIR &&
- if module_installed ctypes ; then
- cd python;
- python setup.py build;
- python setup.py install;
- fi
+ cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ $OPTS &&
+ default_make
) > $C_FIFO 2>&1
diff --git a/audio/libmusicbrainz/DEPENDS b/audio/libmusicbrainz/DEPENDS
index a299c12..a2a0a4c 100644
--- a/audio/libmusicbrainz/DEPENDS
+++ b/audio/libmusicbrainz/DEPENDS
@@ -1,3 +1,4 @@
-depends expat
+depends cmake
+depends expat
optional_depends "Python" "" "" "to build the Python bindings"
diff --git a/audio/libmusicbrainz/DETAILS b/audio/libmusicbrainz/DETAILS
index 8973e95..be3e466 100644
--- a/audio/libmusicbrainz/DETAILS
+++ b/audio/libmusicbrainz/DETAILS
@@ -1,14 +1,14 @@
MODULE=libmusicbrainz
- VERSION=2.1.4
+ VERSION=3.0.2
SOURCE=$MODULE-$VERSION.tar.gz
- SOURCE2=$MODULE-$VERSION-gcc-4.3.x.patch.bz2
+# SOURCE2=$MODULE-$VERSION-gcc-4.3.x.patch.bz2
SOURCE_URL=http://ftp.musicbrainz.org/pub/musicbrainz
- SOURCE2_URL=$PATCH_URL
- SOURCE_VFY=sha1:611c9e9404e5aac110173da0b3a03941d2a04d0c
- SOURCE2_VFY=sha1:e27e940a5202938add9c3507d5a3a25a50fef5f7
+# SOURCE2_URL=$PATCH_URL
+ SOURCE_VFY=sha1:6bba392816717eeeb5e74b8d491ff19001566e7a
+# SOURCE2_VFY=sha1:e27e940a5202938add9c3507d5a3a25a50fef5f7
WEB_SITE=http://musicbrainz.org
ENTERED=20010922
- UPDATED=20090405
+ UPDATED=20100104
SHORT="allows access to the data on the MusicBrainz server"
cat << EOF
More information about the Lunar-commits
mailing list