diff --git a/audio/deadbeef/Makefile b/audio/deadbeef/Makefile index b74c159bb0c8..d6253a6b0f07 100644 --- a/audio/deadbeef/Makefile +++ b/audio/deadbeef/Makefile @@ -1,236 +1,235 @@ PORTNAME= deadbeef PORTVERSION= 0.7.2 PORTREVISION= 24 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= danfe@FreeBSD.org COMMENT= Ultimate music player for Unix-like systems WWW= http://deadbeef.sourceforge.net/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual GNU_CONFIGURE= yes USES= compiler:c11 desktop-file-utils gettext gmake gnome iconv \ libtool pkgconfig shebangfix tar:bzip2 USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-alsa --disable-nullout --disable-static CPPFLAGS+= -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff \ -I../../plugins/gme/game-music-emu-0.6pre \ -I./sidplay-libs/libsidplay/include/sidplay \ -I${LOCALBASE}/include CFLAGS+= -Wno-narrowing LDFLAGS_i386= -Wl,-z,notext LIBS+= -L${LOCALBASE}/lib -lexecinfo -lintl USE_GNOME= intltool SHEBANG_FILES= yasmwrapper.sh INSTALL_TARGET= install-strip OPTIONS_DEFINE= PULSEAUDIO GUI VFS LASTFM ART SUPEREQ SID FFAP VTX \ HOTKEYS OGG FFMPEG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY \ MUSEPACK WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC NLS M3U \ PSF ADPLUG DSP MONO2STEREO CONVERTER VFS_ZIP ALAC PLTBROWSER \ WMA SC68 OPTIONS_DEFAULT=MAD GTK2 VFS LASTFM ART SUPEREQ SID FFAP VTX HOSTKEYS \ OGG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY MUSEPACK \ WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC M3U PSF ADPLUG DSP \ MONO2STEREO CONVERTER VFS_ZIP HOTKEYS ALAC PLTBROWSER WMA SC68 PULSEAUDIO_DESC= PulseAudio output plugin (unsupported) GUI_DESC= Standard GUI plugin VFS_DESC= HTTP streaming VFS plugin LASTFM_DESC= Last.fm/Libre.fm scrobbler plugin ART_DESC= Cover artwork loader plugin SUPEREQ_DESC= SuperEQ DSP plugin (equalizer) SID_DESC= Commodore 64 SID music player plugin FFAP_DESC= ${APE_DESC} VTX_DESC= VTX ZX-Spectrum music player plugin ADPLUG_DESC= AdPlug audio format (OPL2/OPL3) support HOTKEYS_DESC= Local and global hotkeys support GME_DESC= Chiptune music support (based on GME) DUMB_DESC= D.U.M.B. plugin for MOD, S3M, etc. NOTIFY_DESC= OSD notification support in GTKUI plugin WILDMIDI_DESC= WildMIDI synthesizer plugin SC68_DESC= sc68 Atari ST And Amiga player SHN_DESC= Shorten waveform encoder support SHELLEXEC_DESC= Shell commands execution plugin M3U_DESC= M3U and PLS playlist format support PSF_DESC= AOSDK-based PSF(,QSF,SSF,DSF) plugin DSP_DESC= High-quality sample rate conversion support MONO2STEREO_DESC= Mono to stereo converter DSP plugin CONVERTER_DESC= Plugin for converting files from/to any formats VFS_ZIP_DESC= Play files directly from ZIP archives PLTBROWSER_DESC= Playlist browser GUI plugin OPTIONS_SUB= yes OPTIONS_RADIO+= GUI OPTIONS_RADIO_GUI= GTK2 GTK3 GUI_IMPLIES= CONVERTER OPTIONS_GROUP+= MP3 OPTIONS_GROUP_MP3= MAD MPG123 MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_OFF= --disable-libmad MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_CONFIGURE_OFF= --disable-libmpg123 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse GTK2_USE= gnome=gtk20,glib20 GTK2_CONFIGURE_OFF= --disable-gtk2 GTK2_CONFIGURE_ON= --enable-gtk2 GTK2_VARS= GTK_VER=2 GTK2_IMPLIES= GUI GTK3_USE= gnome=gtk30 GTK3_CONFIGURE_OFF= --disable-gtk3 GTK3_CONFIGURE_ON= --enable-gtk3 GTK3_VARS= GTK_VER=3 GTK3_IMPLIES= GUI PLIST_SUB+= GTK_VER=${GTK_VER} GUI_CONFIGURE_OFF= --disable-gtk2 --disable-gtk3 GUI_LIB_DEPENDS= libjansson.so:devel/jansson VFS_LIB_DEPENDS= libcurl.so:ftp/curl VFS_CONFIGURE_OFF= --disable-vfs-curl LASTFM_LIB_DEPENDS= libcurl.so:ftp/curl LASTFM_CONFIGURE_OFF= --disable-lfm ART_LIB_DEPENDS= libcurl.so:ftp/curl \ libImlib2.so:graphics/imlib2 ART_USES= jpeg ART_CONFIGURE_OFF= --disable-artwork --disable-artwork-imlib2 ART_IMPLIES= VFS SUPEREQ_CONFIGURE_OFF= --disable-supereq SID_CONFIGURE_OFF= --disable-sid FFAP_BUILD_DEPENDS= yasm:devel/yasm FFAP_CONFIGURE_OFF= --disable-ffap VTX_CONFIGURE_OFF= --disable-vtx ADPLUG_CONFIGURE_OFF= --disable-adplug HOTKEYS_CONFIGURE_OFF= --disable-hotkeys OGG_LIB_DEPENDS= libvorbis.so:audio/libvorbis OGG_CONFIGURE_OFF= --disable-vorbis FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE= ffmpeg FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_OFF= --disable-flac SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_OFF= --disable-sndfile WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_OFF= --disable-wavpack CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcddb.so:audio/libcddb CDDA_CONFIGURE_OFF= --disable-cdda GME_CONFIGURE_OFF= --disable-gme DUMB_CONFIGURE_OFF= --disable-dumb NOTIFY_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib NOTIFY_CONFIGURE_OFF= --disable-notify MUSEPACK_CONFIGURE_OFF= --disable-musepack WILDMIDI_RUN_DEPENDS= ${LOCALBASE}/share/freepats/crude.cfg:audio/freepats WILDMIDI_CONFIGURE_OFF= --disable-wildmidi TTA_CONFIGURE_OFF= --disable-tta DCA_CONFIGURE_OFF= --disable-dca AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_CONFIGURE_OFF= --disable-aac MMS_CONFIGURE_OFF= --disable-mms SC68_CONFIGURE_ON= --enable-sc68 SC68_CONFIGURE_OFF= --disable-sc68 SHN_CONFIGURE_OFF= --disable-shn SHELLEXEC_CONFIGURE_OFF= --disable-shellexec NLS_CONFIGURE_OFF= --disable-nls M3U_CONFIGURE_OFF= --disable-m3u PSF_CONFIGURE_OFF= --disable-psf DSP_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate DSP_CONFIGURE_OFF= --disable-src MONO2STEREO_CONFIGURE_OFF= --disable-mono2stereo CONVERTER_CONFIGURE_OFF= --disable-converter VFS_ZIP_LIB_DEPENDS= libzip.so:archivers/libzip VFS_ZIP_CONFIGURE_OFF= --disable-vfs-zip ALAC_CONFIGURE_OFF= --disable-alac PLTBROWSER_CONFIGURE_OFF= --disable-pltbrowser WMA_CONFIGURE_OFF= --disable-wma .include .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} PORT_OPTIONS:= ${PORT_OPTIONS:NGUI} .endif .if !${PORT_OPTIONS:MMAD} && !${PORT_OPTIONS:MMPG123} CONFIGURE_ARGS+= --disable-mp3 PLIST_SUB+= MP3="@comment " .else PLIST_SUB+= MP3="" .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: + @${REINPLACE_CMD} -e 's,register ,,' \ + ${WRKSRC}/plugins/adplug/adplug/rix.cpp \ + ${WRKSRC}/plugins/adplug/libbinio/binio.cpp # Do not link to libsupc++ which may be PIC-unsafe (breaks 64-bit arches) @${REINPLACE_CMD} -e 's, -lsupc++,,' \ ${WRKSRC}/plugins/adplug/Makefile.in \ ${WRKSRC}/plugins/gme/Makefile.in \ ${WRKSRC}/plugins/sid/Makefile.in \ ${WRKSRC}/plugins/supereq/Makefile.in @${REINPLACE_CMD} -e 's,/etc/timidity++/timidity-freepats.cfg:/etc/timidity/freepats.cfg:/etc/timidity/,${LOCALBASE}/share/,' \ ${WRKSRC}/plugins/wildmidi/wildmidiplug.c # Clang accepts `-msse2' command line option even on !x86, need better check @${REINPLACE_CMD} -e '25177s,^,#include ,' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e '/chnresolv/s,const char,signed &,' \ ${WRKSRC}/plugins/adplug/adplug/s3m.cpp \ ${WRKSRC}/plugins/adplug/adplug/s3m.h @${REINPLACE_CMD} -e "/sampleConvertTable/s,int8_t,u&, ; \ 86,+1 { s,',,g; s,\\\\x,0x,g; }" \ ${WRKSRC}/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp \ ${WRKSRC}/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h # Fix build with libzip-1.0 @${REINPLACE_CMD} 's,zip_file_t,zip_file_DB,g' \ ${WRKSRC}/plugins/vfs_zip/vfs_zip.c .include diff --git a/devel/smooth/Makefile b/devel/smooth/Makefile index 6b404cfba958..6efbd50613c9 100644 --- a/devel/smooth/Makefile +++ b/devel/smooth/Makefile @@ -1,31 +1,33 @@ PORTNAME= smooth PORTVERSION= 0.9.10 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= danfe@FreeBSD.org COMMENT= Object-oriented C++ class library WWW= https://www.smooth-project.org/ LICENSE= ART20 LIB_DEPENDS= libcpuid.so:sysutils/libcpuid \ libcurl.so:ftp/curl \ libfribidi.so:converters/fribidi \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libwebp.so:graphics/webp USES= gmake gnome iconv jpeg localbase pkgconfig xorg USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 USE_XORG= x11 MAKE_ARGS= config="systemlibcpuid systemlibwebp" post-extract: + @${REINPLACE_CMD} -e 's,register ,,' \ + ${WRKSRC}/classes/gui/dialogs/colordlg.cpp # Prevent accidental build/use of bundled libraries' code/headers @${RM} -r ${WRKSRC}/libraries/fribidi ${WRKSRC}/libraries/lib* \ ${WRKSRC}/libraries/v8 ${WRKSRC}/libraries/zlib @${RM} -r ${WRKSRC}/include/support .include diff --git a/graphics/fotoxx/Makefile b/graphics/fotoxx/Makefile index ca3855b6a0a5..20b198cdc883 100644 --- a/graphics/fotoxx/Makefile +++ b/graphics/fotoxx/Makefile @@ -1,42 +1,42 @@ PORTNAME= fotoxx PORTVERSION= 23.50 CATEGORIES= graphics MASTER_SITES= https://kornelix.net/downloads/downloads/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= danfe@FreeBSD.org COMMENT= Image editing and collection management program WWW= https://kornelix.net/fotoxx/fotoxx.html LICENSE= GPLv3+ LIB_DEPENDS= libchamplain-gtk-0.12.so:graphics/libchamplain \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= xdg-open:devel/xdg-utils \ exiftool:graphics/p5-Image-ExifTool \ ufraw-batch:graphics/ufraw USES= desktop-file-utils gmake gnome jpeg pkgconfig USE_GNOME= cairo glib20 gdkpixbuf2 gtk30 ALL_TARGET= fotoxx -CXXFLAGS+= -Wno-writable-strings +CXXFLAGS+= -Wno-register -Wno-writable-strings WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's,pidof,pgrep -d\\\\ ,' ${WRKSRC}/fotoxx.cc @${REINPLACE_CMD} -e \ '/#include/s,wait\.h,sys/&,' ${WRKSRC}/fotoxx.h post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fotoxx .include diff --git a/misc/swissfileknife/Makefile b/misc/swissfileknife/Makefile index 602e4c0d402e..6abe7935a5bd 100644 --- a/misc/swissfileknife/Makefile +++ b/misc/swissfileknife/Makefile @@ -1,34 +1,35 @@ PORTNAME= swissfileknife PORTVERSION= 1.9.8.2 CATEGORIES= misc MASTER_SITES= SF/${PORTNAME}/1-${PORTNAME}/${PORTVERSION} DISTNAME= sfk-${PORTVERSION:R} MAINTAINER= danfe@FreeBSD.org COMMENT= One hundred command-line tools in one binary WWW= http://stahlworks.com/dev/swiss-file-knife.html LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes CPPFLAGS+= -DVER_STR_OS=\\\"${OPSYS:tl}-${ARCH}\\\" PLIST_FILES= bin/sfk PORTDOCS= ChangeLog README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,ifndef MAC_OS_X,ifdef __linux__, ;\ s,ifdef MAC_OS_X,ifdef __FreeBSD__,' ${WRKSRC}/sfkbase.hpp @${REINPLACE_CMD} -e 's,defined(MAC_OS_X) || defined(SOLARIS),&\ || defined(__FreeBSD__),' \ ${WRKSRC}/sfk.cpp ${WRKSRC}/sfkext.cpp @${REINPLACE_CMD} -e '/_STDINT_H/,+6d' ${WRKSRC}/sfkmatch.hpp + @${REINPLACE_CMD} -e 's,^ *register, ,' ${WRKSRC}/sfkpack.cpp post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include