pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Add an aalib option to mplayer. Patch from Leonard Sch...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f14d48be60f1
branches: trunk
changeset: 496989:f14d48be60f1
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jul 18 12:07:32 2005 +0000
description:
Add an aalib option to mplayer. Patch from Leonard Schmidt on tech-pkg.
diffstat:
mk/defaults/options.description | 1 +
multimedia/mplayer-share/options.mk | 13 ++++++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (52 lines):
diff -r 12de5cb546ef -r f14d48be60f1 mk/defaults/options.description
--- a/mk/defaults/options.description Mon Jul 18 09:26:30 2005 +0000
+++ b/mk/defaults/options.description Mon Jul 18 12:07:32 2005 +0000
@@ -1,6 +1,7 @@
2ch_dict
a52
aac
+aalib Enable aalib support.
ac3_passthrough
ads
alsa
diff -r 12de5cb546ef -r f14d48be60f1 multimedia/mplayer-share/options.mk
--- a/multimedia/mplayer-share/options.mk Mon Jul 18 09:26:30 2005 +0000
+++ b/multimedia/mplayer-share/options.mk Mon Jul 18 12:07:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2005/06/08 16:18:44 dillo Exp $
+# $NetBSD: options.mk,v 1.5 2005/07/18 12:07:33 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+= esound mplayer-menu nas sdl
+PKG_SUPPORTED_OPTIONS+= aalib esound mplayer-menu nas sdl
. if ${OPSYS} != "SunOS"
PKG_SUPPORTED_OPTIONS+= arts
@@ -45,7 +45,7 @@
# Define PKG_SUGGESTED_OPTIONS.
# -------------------------------------------------------------------------
-.for _o_ in arts cdparanoia dv dvdread esound gif jpeg \
+.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
@@ -78,6 +78,13 @@
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Maalib)
+CONFIGURE_ARGS+= --enable-aa
+. include "../../graphics/aalib-x11/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-aa
+.endif
+
.if !empty(PKG_OPTIONS:Marts)
CONFIGURE_ARGS+= --enable-arts
. include "../../audio/arts/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index