[oe-commits] org.oe.oz354x mpd: add svn version as 0.21.x releases have autoreconf problems

justinp commit openembedded-commits at lists.openembedded.org
Tue Jan 23 20:41:23 UTC 2007


mpd: add svn version as 0.21.x releases have autoreconf problems

Author: justinp at openembedded.org
Branch: org.openembedded.oz354x
Revision: 38c8bcdf8be79fd48bd012560171c79016b5db0f
ViewMTN: http://monotone.openembedded.org/revision.psp?id=38c8bcdf8be79fd48bd012560171c79016b5db0f
Files:
1
packages/musicpd/mpd_svn.bb
Diffs:

#
# mt diff -rd3d0d9aa2f960608f89e60d7ba3b5f743776e0a5 -r38c8bcdf8be79fd48bd012560171c79016b5db0f
#
# 
# 
# add_file "packages/musicpd/mpd_svn.bb"
#  content [22c946d936f2fd80aee4ff62c86832af12409634]
# 
============================================================
--- packages/musicpd/mpd_svn.bb	22c946d936f2fd80aee4ff62c86832af12409634
+++ packages/musicpd/mpd_svn.bb	22c946d936f2fd80aee4ff62c86832af12409634
@@ -0,0 +1,36 @@
+DESCRIPTION = "Music Player Daemon (mpd)"
+HOMEPAGE = "http://www.musicpd.org"
+LICENSE = "GPLv2"
+MAINTAINER = "Chris Larson <kergoth at handhelds.org>"
+SECTION = "console/multimedia"
+DEPENDS = "libvorbis libogg libid3tag libao zlib libmikmod libmad flac audiofile virtual/libiconv faad2"
+SRCDATE = "20070120"
+PV = "0.12.1+svn${SRCDATE}"
+PR = "r0"
+
+SRC_URI = "svn://svn.musicpd.org/mpd;module=trunk;proto=https"
+#           file://save-volume-state.patch;patch=1"
+S = "${WORKDIR}/trunk"
+
+inherit autotools
+
+# Setting --enable-mpd-{mad,id3tag} causes local caches of the libraries to
+# be built, instead we use the OE built versions which should be installed
+# in staging - remove the --with and replace with --enable to use the local
+# versions.
+
+EXTRA_OECONF = "--enable-ogg \
+		--with-id3tag-libraries=${STAGING_LIBDIR} \
+		--with-id3tag-includes=${STAGING_INCDIR} \
+		--with-mad-libraries=${STAGING_LIBDIR} \
+		--with-mad-includes=${STAGING_INCDIR} \
+        --with-faad-libraries=${STAGING_LIBDIR} \
+		--with-faad-includes=${STAGING_INCDIR} \
+        --disable-jack \
+        --disable-pulse \
+        --enable-mod \
+        --disable-oggflac"
+
+do_compile_prepend() {
+    find -name Makefile | xargs sed -i 's~-I/usr/include~-I${STAGING_INCDIR}~g'
+}






More information about the Openembedded-commits mailing list