pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Add VICE_USE_FFMPEG switch to enable ffmpeg support...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b7fe1d4fd56
branches:  trunk
changeset: 475772:6b7fe1d4fd56
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 25 21:51:42 2004 +0000

description:
Add VICE_USE_FFMPEG switch to enable ffmpeg support in vice.
Document it in bsd.pkg.defaults.mk.  Defaults to "no".
PKGREVISION not bumped since package does not change (by default).

diffstat:

 emulators/vice/Makefile |  11 ++++++++++-
 mk/bsd.pkg.defaults.mk  |   7 ++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r 6296a68ea9ef -r 6b7fe1d4fd56 emulators/vice/Makefile
--- a/emulators/vice/Makefile   Tue May 25 21:49:26 2004 +0000
+++ b/emulators/vice/Makefile   Tue May 25 21:51:42 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2004/04/24 23:34:28 snj Exp $
+# $NetBSD: Makefile,v 1.43 2004/05/25 21:51:42 wiz Exp $
 #
 
 DISTNAME=              vice-1.14
@@ -29,6 +29,12 @@
 
 INFO_FILES=            vice.info
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(VICE_USE_FFMPEG:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+=       --enable-ffmpeg
+.endif
+
 # These changes are rather common, so sed instead of patch:
 post-patch:
        @for file in `${FIND} ${WRKSRC} -name Makefile.in -print`       \
@@ -49,5 +55,8 @@
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/xpm/buildlink3.mk"
+.if !empty(VICE_USE_FFMPEG:M[Yy][Ee][Ss])
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.endif
 
 .include "../../mk/bsd.pkg.mk"
diff -r 6296a68ea9ef -r 6b7fe1d4fd56 mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Tue May 25 21:49:26 2004 +0000
+++ b/mk/bsd.pkg.defaults.mk    Tue May 25 21:51:42 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.242 2004/05/23 16:01:49 jschauma Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.243 2004/05/25 21:51:42 wiz Exp $
 #
 
 # A file providing defaults for pkgsrc and the packages collection.
@@ -2119,6 +2119,11 @@
 # Possible: any group name
 # Default: network
 
+VICE_USE_FFMPEG?= no
+# Used in vice package to enable ffmpeg support.
+# Possible: yes, no.
+# Default: no
+
 #VIM_EXTRA_OPTS=
 # Used in vim package to build with non-gui extra options
 # Possible: not defined, see "configure --help"



Home | Main Index | Thread Index | Old Index