pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/madplay madplay: Remove esound support; add alsa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/688a6d82f872
branches:  trunk
changeset: 409806:688a6d82f872
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jan 20 21:29:07 2020 +0000

description:
madplay: Remove esound support; add alsa option.

Remove OSS option because it does absolutely nothing, OSS support
is autodetected if the OS supports it.

Bump PKGREVISION because this changes default options (on Linux only)

diffstat:

 audio/madplay/Makefile   |   4 ++--
 audio/madplay/options.mk |  18 +++++++-----------
 2 files changed, 9 insertions(+), 13 deletions(-)

diffs (41 lines):

diff -r 100f0c50ebd9 -r 688a6d82f872 audio/madplay/Makefile
--- a/audio/madplay/Makefile    Mon Jan 20 21:26:52 2020 +0000
+++ b/audio/madplay/Makefile    Mon Jan 20 21:29:07 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2017/08/16 20:21:04 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2020/01/20 21:29:07 nia Exp $
 #
 
 DISTNAME=      madplay-0.15.2b
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mad/}
 
diff -r 100f0c50ebd9 -r 688a6d82f872 audio/madplay/options.mk
--- a/audio/madplay/options.mk  Mon Jan 20 21:26:52 2020 +0000
+++ b/audio/madplay/options.mk  Mon Jan 20 21:29:07 2020 +0000
@@ -1,16 +1,12 @@
-# $NetBSD: options.mk,v 1.3 2007/02/22 19:26:06 wiz Exp $
+# $NetBSD: options.mk,v 1.4 2020/01/20 21:29:07 nia Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.madplay
-PKG_SUPPORTED_OPTIONS= esound oss
+PKG_OPTIONS_VAR=               PKG_OPTIONS.madplay
+PKG_SUPPORTED_OPTIONS=         alsa
+PKG_SUGGESTED_OPTIONS.Linux=   alsa
 
 .include "../../mk/bsd.options.mk"
 
-.if !empty(PKG_OPTIONS:Mesound)
-.include "../../audio/esound/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=       --without-esd
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+=       --with-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
 .endif
-
-.if !empty(PKG_OPTIONS:Moss)
-.include "../../mk/oss.buildlink3.mk"
-.endif



Home | Main Index | Thread Index | Old Index