Tue Feb 2 12:39:14 2010 UTC ()
- add libsndfile to bl3
- don't invoke git when running autoreconf
- bump pkgrevision
(jmcneill)
diff -r1.33 -r1.34 pkgsrc/audio/pulseaudio/Makefile
diff -r1.4 -r1.5 pkgsrc/audio/pulseaudio/buildlink3.mk
diff -r1.18 -r1.19 pkgsrc/audio/pulseaudio/distinfo
diff -r0 -r1.1 pkgsrc/audio/pulseaudio/patches/patch-dd
--- pkgsrc/audio/pulseaudio/Makefile 2010/02/01 17:38:07 1.33
+++ pkgsrc/audio/pulseaudio/Makefile 2010/02/02 12:39:14 1.34
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.33 2010/02/01 17:38:07 tnn Exp $
+# $NetBSD: Makefile,v 1.34 2010/02/02 12:39:14 jmcneill Exp $
# NOTE: Please send a copy of any patches that are not pkgsrc-specific
# to <pulseaudio-discuss@mail.0pointer.de>
PULSEAUDIO_VER= 0.9.21
-PKGREVISION= 1
+PKGREVISION= 2
DISTNAME= pulseaudio-${PULSEAUDIO_VER}
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/pulseaudio/
--- pkgsrc/audio/pulseaudio/buildlink3.mk 2009/07/07 10:44:18 1.4
+++ pkgsrc/audio/pulseaudio/buildlink3.mk 2010/02/02 12:39:14 1.5
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2009/07/07 10:44:18 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2010/02/02 12:39:14 jmcneill Exp $
BUILDLINK_TREE+= pulseaudio
@@ -14,6 +14,7 @@
.include "../../devel/libatomic_ops/buildlink3.mk"
.endif
+.include "../../audio/libsndfile/buildlink3.mk"
.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
--- pkgsrc/audio/pulseaudio/distinfo 2010/02/01 15:00:20 1.18
+++ pkgsrc/audio/pulseaudio/distinfo 2010/02/02 12:39:14 1.19
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2010/02/01 15:00:20 jmcneill Exp $
+$NetBSD: distinfo,v 1.19 2010/02/02 12:39:14 jmcneill Exp $
SHA1 (pulseaudio-0.9.21.tar.gz) = 0309c97f7e0812e243c1bb80a4b74dc26369ac22
RMD160 (pulseaudio-0.9.21.tar.gz) = 6db0725253228b673a78cbfae4824fadce2198ed
@@ -14,3 +14,4 @@
SHA1 (patch-da) = d56957d37bec15bd41d77b99ce60bcdea0ef4f20
SHA1 (patch-db) = e1e48577618b4eb2586d8b37953b2474e2dcc864
SHA1 (patch-dc) = d814e1a1d5aed3e3604d6df44621fe789c625982
+SHA1 (patch-dd) = 83e51035ff871cef9c39bf670173e30705df8fe5
$NetBSD: patch-dd,v 1.1 2010/02/02 12:39:14 jmcneill Exp $
--- git-version-gen.orig 2010-02-02 06:54:03.000000000 -0500
+++ git-version-gen 2010-02-02 06:55:16.000000000 -0500
@@ -74,76 +74,10 @@ case $# in
esac
tarball_version_file=$1
-nl='
-'
-
-# First see if there is a tarball-only version file.
-# then try "git describe", then default.
-if test -f $tarball_version_file
-then
- v=`cat $tarball_version_file` || exit 1
- case $v in
- *$nl*) v= ;; # reject multi-line output
- [0-9]*) ;;
- *) v= ;;
- esac
- test -z "$v" \
- && echo "$0: WARNING: $tarball_version_file seems to be damaged" 1>&2
-fi
-
-if test -n "$v"
-then
- : # use $v
-elif test -d .git \
- && v=`git describe --abbrev=4 --match='v*' HEAD 2>/dev/null \
- || git describe --abbrev=4 HEAD 2>/dev/null` \
- && case $v in
- v[0-9]*) ;;
- *) (exit 1) ;;
- esac
-then
- # Is this a new git that lists number of commits since the last
- # tag or the previous older version that did not?
- # Newer: v6.10-77-g0f8faeb
- # Older: v6.10-g0f8faeb
-# case $v in
-# *-*-*) : git describe is okay three part flavor ;;
-# *-*)
-# : git describe is older two part flavor
-# # Recreate the number of commits and rewrite such that the
-# # result is the same as if we were using the newer version
-# # of git describe.
-# vtag=`echo "$v" | sed 's/-.*//'`
-# numcommits=`git rev-list "$vtag"..HEAD | wc -l`
-# v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`;
-# ;;
-# esac
-
- # Change the first '-' to a '.', so version-comparing tools work properly.
- # Remove the "g" in git describe's output string, to save a byte.
-# v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`;
- :
-else
- v=UNKNOWN
-fi
-
-v=`echo "$v" |sed 's/^v//'`
-
-# Don't declare a version "dirty" merely because a time stamp has changed.
-git status > /dev/null 2>&1
-
-dirty=`sh -c 'git diff-index --name-only HEAD' 2>/dev/null` || dirty=
-case "$dirty" in
- '') ;;
- *) # Append the suffix only if there isn't one already.
- case $v in
- *-dirty) ;;
- *) v="$v-dirty" ;;
- esac ;;
-esac
+v=`cat ${tarball_version_file}`
# Omit the trailing newline, so that m4_esyscmd can use the result directly.
-echo "$v" | tr -d '\012'
+echo "${v}" | tr -d '\012'
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)