pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia Add a variable to specify the distfile vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7bb4fd044bd8
branches:  trunk
changeset: 510749:7bb4fd044bd8
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Apr 03 15:54:14 2006 +0000

description:
Add a variable to specify the distfile version instead of directly
overriding DISTFILE.

diffstat:

 multimedia/gst-plugins0.10-base/Makefile.common |  3 ++-
 multimedia/gst-plugins0.10-base/plugins.mk      |  4 ++--
 multimedia/gst-plugins0.10-good/Makefile.common |  5 ++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r 2635ec3519ed -r 7bb4fd044bd8 multimedia/gst-plugins0.10-base/Makefile.common
--- a/multimedia/gst-plugins0.10-base/Makefile.common   Mon Apr 03 15:46:35 2006 +0000
+++ b/multimedia/gst-plugins0.10-base/Makefile.common   Mon Apr 03 15:54:14 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile.common,v 1.2 2006/01/25 19:52:47 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2006/04/03 15:54:14 jmmv Exp $
 #
 
 GST_PLUGINS0.10_TYPE=  base
+GST_PLUGINS0.10_VER=   0.10.4
 
 # Disable all drivers and features by default.
 .for driver in alsa \
diff -r 2635ec3519ed -r 7bb4fd044bd8 multimedia/gst-plugins0.10-base/plugins.mk
--- a/multimedia/gst-plugins0.10-base/plugins.mk        Mon Apr 03 15:46:35 2006 +0000
+++ b/multimedia/gst-plugins0.10-base/plugins.mk        Mon Apr 03 15:54:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: plugins.mk,v 1.4 2006/03/12 12:42:05 jmmv Exp $
+# $NetBSD: plugins.mk,v 1.5 2006/04/03 15:54:14 jmmv Exp $
 #
 # This file is shared across the gst-plugins-{base,good} packages to
 # simplify their code.  It provides a framework to write simple packages
@@ -6,7 +6,7 @@
 # this file, but use the correct Makefile.common instead.
 #
 
-DISTNAME?=     gst-plugins-${GST_PLUGINS0.10_TYPE}-0.10.4
+DISTNAME=      gst-plugins-${GST_PLUGINS0.10_TYPE}-${GST_PLUGINS0.10_VER}
 PKGNAME=       ${DISTNAME:S/plugins/plugins0.10/}
 CATEGORIES=    multimedia gnome
 MASTER_SITES=  http://gstreamer.freedesktop.org/src/gst-plugins-${GST_PLUGINS0.10_TYPE}/
diff -r 2635ec3519ed -r 7bb4fd044bd8 multimedia/gst-plugins0.10-good/Makefile.common
--- a/multimedia/gst-plugins0.10-good/Makefile.common   Mon Apr 03 15:46:35 2006 +0000
+++ b/multimedia/gst-plugins0.10-good/Makefile.common   Mon Apr 03 15:54:14 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile.common,v 1.3 2006/02/13 19:22:33 wiz Exp $
+# $NetBSD: Makefile.common,v 1.4 2006/04/03 15:54:14 jmmv Exp $
 #
 
 GST_PLUGINS0.10_TYPE=  good
+GST_PLUGINS0.10_VER=   0.10.2
 
 # Disable all drivers and features by default.
 .for driver in aalib \
@@ -28,8 +29,6 @@
 CONFIGURE_ARGS+=       --disable-${driver}
 .endfor
 
-DISTNAME=      gst-plugins-${GST_PLUGINS0.10_TYPE}-0.10.2
-
 .include "../../multimedia/gst-plugins0.10-base/plugins.mk"
 
 .include "../../devel/glib2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index