aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2017-04-05 05:54:00 +0800
committergblach <gblach@FreeBSD.org>2017-04-05 05:54:00 +0800
commit8e4a908e0ec2f6b5271d1a133f8e5c9ef4ff1a22 (patch)
treede63c435c9c5d28a2f81682ac688173a82d9235e /x11-wm
parent7dcbafcbca46236ed01bd3b70a7acce4c69f30c8 (diff)
downloadfreebsd-ports-gnome-8e4a908e0ec2f6b5271d1a133f8e5c9ef4ff1a22.tar.gz
freebsd-ports-gnome-8e4a908e0ec2f6b5271d1a133f8e5c9ef4ff1a22.tar.zst
freebsd-ports-gnome-8e4a908e0ec2f6b5271d1a133f8e5c9ef4ff1a22.zip
- Add options to select between ALSA and PULSEAUDIO
- Bump PORTREVISION - Replace spaces with tab PR: 218031 Reported by: rezny
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/enlightenment/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/x11-wm/enlightenment/Makefile b/x11-wm/enlightenment/Makefile
index 6c81005f3773..8927beea616a 100644
--- a/x11-wm/enlightenment/Makefile
+++ b/x11-wm/enlightenment/Makefile
@@ -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@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' \