svn commit: r437759 - head/x11-wm/enlightenment

Grzegorz Blach gblach at FreeBSD.org
Tue Apr 4 21:54:02 UTC 2017


Author: gblach
Date: Tue Apr  4 21:54:00 2017
New Revision: 437759
URL: https://svnweb.freebsd.org/changeset/ports/437759

Log:
  - Add options to select between ALSA and PULSEAUDIO
  - Bump PORTREVISION
  - Replace spaces with tab
  
  PR:		218031
  Reported by:	rezny

Modified:
  head/x11-wm/enlightenment/Makefile

Modified: head/x11-wm/enlightenment/Makefile
==============================================================================
--- head/x11-wm/enlightenment/Makefile	Tue Apr  4 21:29:49 2017	(r437758)
+++ head/x11-wm/enlightenment/Makefile	Tue Apr  4 21:54:00 2017	(r437759)
@@ -3,10 +3,11 @@
 
 PORTNAME=	enlightenment
 PORTVERSION=	0.21.7
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	x11-wm enlightenment
 MASTER_SITES=	http://download.enlightenment.org/rel/apps/${PORTNAME}/
-DIST_SUBDIR=    enlightenment
+DIST_SUBDIR=	enlightenment
 
 MAINTAINER=	enlightenment at FreeBSD.org
 COMMENT=	Artistic X window manager
@@ -14,9 +15,7 @@ COMMENT=	Artistic X window manager
 LICENSE=	BSD2CLAUSE
 
 LIB_DEPENDS=	libefl.so:devel/efl \
-		libxcb-keysyms.so:x11/xcb-util-keysyms \
-		libpulse-simple.so:audio/pulseaudio \
-		libasound.so:audio/alsa-lib
+		libxcb-keysyms.so:x11/xcb-util-keysyms
 
 GNU_CONFIGURE=	yes
 USES=		alias autoreconf desktop-file-utils execinfo gettext-tools \
@@ -32,12 +31,18 @@ CONFIGURE_ARGS=	--with-profile=MEDIUM_PC
 
 .include "Makefile.plist"
 
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	yes
+OPTIONS_DEFINE=		NLS
+OPTIONS_GROUP=		MIXER
+OPTIONS_GROUP_MIXER=	ALSA PULSEAUDIO
+OPTIONS_DEFAULT=	ALSA
+OPTIONS_SUB=		yes
 
 NLS_USES=		gettext-runtime
 NLS_CONFIGURE_ENABLE=	nls
 
+ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
+PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's/\(setuid_root_mode = a=rx,u+x\)s/\1/g' \


More information about the svn-ports-head mailing list