1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

x11-wm/e16: update to 1.0.21, rework OPTIONS

Announcement: https://sourceforge.net/p/enlightenment/mailman/message/36792261/
Changelog: https://git.enlightenment.org/e16/e16.git/commit/ChangeLog?h=v1.0.21
This commit is contained in:
Pietro Cerutti 2019-11-12 17:00:40 +00:00
parent 9b4840581d
commit 3df71a614a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517341
2 changed files with 40 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= e16
PORTVERSION= 1.0.20
PORTVERSION= 1.0.21
PORTREVISION= 0
CATEGORIES= x11-wm enlightenment
MASTER_SITES= SF/enlightenment/${PORTNAME}/${PORTVERSION}/
@ -17,16 +17,26 @@ LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= autoreconf gmake iconv libtool gnome perl5 pkgconfig \
shebangfix xorg
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS NLS PANGO SOUND
OPTIONS_DEFINE= DOCS NLS PANGO
OPTIONS_RADIO= SOUND SOUNDLOADER
OPTIONS_RADIO_SOUND= PULSEAUDIO SNDIO
OPTIONS_RADIO_SOUNDLOADER= SNDFILE AUDIOFILE
OPTIONS_SUB= yes
SOUND_LIB_DEPENDS= libpulse.so:audio/pulseaudio \
libsndfile.so:audio/libsndfile
SOUND_CONFIGURE_ON= --enable-sound=pulseaudio \
--with-sndldr=sndfile
SOUND_CONFIGURE_OFF= --disable-sound \
--with-sndldr=none
OPTIONS_DEFAULT= PULSEAUDIO SNDFILE
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ON=--enable-sound=pulseaudio
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_CONFIGURE_ON= --enable-sound=sndio
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
SNDFILE_CONFIGURE_ON= --with-sndldr=sndfile
AUDIOFILE_LIB_DEPENDS= libaudiofile.so:audio/libaudiofile
AUDIOFILE_CONFIGURE_ON= --with-sndldr=audiofile
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
PANGO_USE= GNOME=pango
@ -34,18 +44,32 @@ PANGO_CONFIGURE_ENABLE= pango
DOCS_CONFIGURE_ON= --enable-docs=yes
DOCS_CONFIGURE_OFF= --enable-docs=no
.include <bsd.port.options.mk>
USES= autoreconf gmake iconv libtool gnome perl5 pkgconfig \
shebangfix xorg
USE_XORG= ice sm xorgproto x11 xbitmaps \
xcomposite xdamage xext xfixes xft xinerama xrandr xrender \
xxf86vm
# Double check SOUND and SOUNDLOADER
E16_SOUND= ${PORT_OPTIONS:MPULSEAUDIO}${PORT_OPTIONS:MSNDIO}
E16_SNDLDR= ${PORT_OPTIONS:MSNDFILE}${PORT_OPTIONS:MAUDIOFILE}
.if !empty(E16_SOUND) && empty(E16_SNDLDR)
IGNORE= sound support requires a sound loader
.endif
.if empty(E16_SOUND) && !empty(E16_SNDLDR)
IGNORE= sound loader only makes sense with sound support
.endif
USE_XORG= ice sm xorgproto x11 xbitmaps xcomposite xdamage xext xfixes \
xft xinerama xrandr xrender xxf86vm
SHEBANG_FILES= scripts/e_gen_menu
CFLAGS+= -Wno-unused-parameter -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
--disable-rpath --enable-mans SHELL=/bin/sh
CONFIGURE_ARGS= --disable-dependency-tracking --disable-rpath \
--enable-mans SHELL=/bin/sh
.if empty(E16_SOUND) && empty(E16_SNDLDR)
CONFIGURE_ARGS+=--enable-sound=no --with-sndldr=none
.endif
post-patch:
${REINPLACE_CMD} -e 's|$$(USER)|${SHAREOWN}:${SHAREGRP}|g' \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1559558966
SHA256 (e16-1.0.20.tar.gz) = 9645f99294b1067863ce116838a674806a1777063c57761356c0839228caddff
SIZE (e16-1.0.20.tar.gz) = 2469250
TIMESTAMP = 1572859983
SHA256 (e16-1.0.21.tar.gz) = 1241c2fbd9d3aff9cee78c5fa405db4d105f8e0df442cb37ebcfab3f4cd2bcf1
SIZE (e16-1.0.21.tar.gz) = 2472975