pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share Add ggi option for mplayer, f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b11a8899640
branches:  trunk
changeset: 497181:0b11a8899640
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 21 15:20:47 2005 +0000

description:
Add ggi option for mplayer, from Christoph Egger in private mail.

diffstat:

 multimedia/mplayer-share/options.mk |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 578730f5ff82 -r 0b11a8899640 multimedia/mplayer-share/options.mk
--- a/multimedia/mplayer-share/options.mk       Thu Jul 21 14:24:48 2005 +0000
+++ b/multimedia/mplayer-share/options.mk       Thu Jul 21 15:20:47 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2005/07/21 14:24:48 wiz Exp $
+# $NetBSD: options.mk,v 1.7 2005/07/21 15:20:47 wiz Exp $
 
 .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
 
@@ -15,7 +15,7 @@
 
 # Set options based on the specific package being built.
 .if !empty(PKGNAME:M*mplayer*)
-PKG_SUPPORTED_OPTIONS+=        aalib esound mplayer-menu nas sdl
+PKG_SUPPORTED_OPTIONS+=        aalib esound ggi mplayer-menu nas sdl
 
 .  if ${OPSYS} != "SunOS"
 PKG_SUPPORTED_OPTIONS+=        arts
@@ -48,7 +48,7 @@
 .for _o_ in aalib arts cdparanoia dv dvdread esound gif jpeg \
            lame mad mplayer-menu mplayer-real \
            mplayer-runtime-cpudetection mplayer-win32 \
-           nas oss png sdl theora vorbis xvid 
+           nas oss png sdl theora vorbis xvid
 .  if !empty(PKG_SUPPORTED_OPTIONS:M${_o_})
 PKG_SUGGESTED_OPTIONS+=        ${_o_}
 .  endif
@@ -118,6 +118,13 @@
 CONFIGURE_ARGS+=       --disable-esd
 .endif
 
+.if !empty(PKG_OPTIONS:Mggi)
+CONFIGURE_ARGS+=       --enable-ggi
+.  include "../../graphics/libggi/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-ggi
+.endif
+
 .if !empty(PKG_OPTIONS:Mgif)
 CONFIGURE_ARGS+=       --enable-gif
 .  include "../../graphics/libungif/buildlink3.mk"



Home | Main Index | Thread Index | Old Index