diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 090e13b439ed..7ee61bc09bdd 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -1,101 +1,101 @@ # Created by: Emanuel Haupt PORTNAME= ocp -PORTVERSION= 0.2.97 +PORTVERSION= 0.2.99 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= https://github.com/mywave82/opencubicplayer/releases/download/v${PORTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Legendary Open Cubic Player LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= xa65:devel/xa65 LIB_DEPENDS= libcjson.so:devel/libcjson \ libdiscid.so:audio/libdiscid \ libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis USES= compiler:c11 dos2unix gmake gnome iconv localbase:ldflags \ makeinfo ncurses pkgconfig tar:bz2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/lib \ --with-dir-suffix="" \ --without-sdl CONFIGURE_ENV= SHARED_FLAGS="${LDFLAGS} -shared" \ XA=${PREFIX}/bin/xa65 MAKE_JOBS_UNSAFE= yes LDFLAGS_i386= -Wl,-z,notext CONFLICTS_INSTALL= alliance # man/man1/ocp.1.gz INFO= ocp OPTIONS_DEFINE= ADPLUG ALSA DOCS FLAC MIDI OSS SDL X11 OPTIONS_DEFAULT= ADPLUG ALSA FLAC MIDI OSS SDL X11 OPTIONS_SUB= yes ADPLUG_DESC= adplug support MIDI_DESC= timidity support ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \ libbinio.so:devel/libbinio ADPLUG_CONFIGURE_WITH= adplug ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_WITH= flac MIDI_RUN_DEPENDS= eawpats>0:audio/eawpats OSS_CONFIGURE_WITH= oss SDL_IMPLIES= X11 SDL_BUILD_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf SDL_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png SDL_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf SDL_USES= desktop-file-utils jpeg sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_WITH= sdl2 \ unifontdir=${LOCALBASE}/share/fonts/gnu-unifont-ttf SDL_PLIST_SUB= DESKTOP='' SDL_PLIST_SUB_OFF= DESKTOP='@comment ' X11_BUILD_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf X11_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png X11_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf X11_USES= desktop-file-utils jpeg xorg X11_USE= XORG=x11,xext,xpm,xxf86dga,xxf86vm X11_CONFIGURE_WITH= unifontdir=${LOCALBASE}/share/fonts/gnu-unifont-ttf x11 X11_PLIST_SUB= DESKTOP='' \ XORG='' X11_PLIST_SUB_OFF= DESKTOP='@comment ' \ XORG='@comment ' TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg post-patch-SDL-off: @${REINPLACE_CMD} -E '/(LIBJPEG|LIBPNG_LIBS)/d' ${WRKSRC}/Rules.make.in post-patch-X11-off: @${REINPLACE_CMD} -E '/(LIBJPEG|LIBPNG_LIBS)/d' ${WRKSRC}/Rules.make.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/autoload/*.so .include diff --git a/audio/ocp/distinfo b/audio/ocp/distinfo index e4be96a29372..19ae6e07f11c 100644 --- a/audio/ocp/distinfo +++ b/audio/ocp/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1651567014 -SHA256 (ocp-0.2.97.tar.bz2) = a1492b4770144c809f0c1aac04997321bccd540708ed4e7faffa117e1311bda8 -SIZE (ocp-0.2.97.tar.bz2) = 4830826 -SHA256 (445fcd072a4ef6330ba9ce6780f5a3ac11b29254.patch) = f3b97b84f820a86ed1176f4d417b50c147cead2e3d4a1ff97f484f15a8e676cf -SIZE (445fcd072a4ef6330ba9ce6780f5a3ac11b29254.patch) = 885 +TIMESTAMP = 1656230692 +SHA256 (ocp-0.2.99.tar.bz2) = dcf923d5968102f786a10e2fbee96c5f3c6ce8863184165601497197e3d89f0a +SIZE (ocp-0.2.99.tar.bz2) = 4835754 diff --git a/audio/ocp/files/patch-configure b/audio/ocp/files/patch-configure deleted file mode 100644 index 95716fbbddfd..000000000000 --- a/audio/ocp/files/patch-configure +++ /dev/null @@ -1,46 +0,0 @@ ---- configure.orig 2022-05-08 19:20:04 UTC -+++ configure -@@ -8815,12 +8815,12 @@ if test -n "$MAD_CFLAGS"; then - pkg_cv_MAD_CFLAGS="$MAD_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mad\""; } >&5 -- ($PKG_CONFIG --exists --print-errors "mad") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmad\""; } >&5 -+ ($PKG_CONFIG --exists --print-errors "libmad") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_MAD_CFLAGS=`$PKG_CONFIG --cflags "mad" 2>/dev/null` -+ pkg_cv_MAD_CFLAGS=`$PKG_CONFIG --cflags "libmad" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes - else - pkg_failed=yes -@@ -8832,12 +8832,12 @@ if test -n "$MAD_LIBS"; then - pkg_cv_MAD_LIBS="$MAD_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mad\""; } >&5 -- ($PKG_CONFIG --exists --print-errors "mad") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmad\""; } >&5 -+ ($PKG_CONFIG --exists --print-errors "libmad") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_MAD_LIBS=`$PKG_CONFIG --libs "mad" 2>/dev/null` -+ pkg_cv_MAD_LIBS=`$PKG_CONFIG --libs "libmad" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes - else - pkg_failed=yes -@@ -8858,9 +8858,9 @@ else - _pkg_short_errors_supported=no - fi - if test $_pkg_short_errors_supported = yes; then -- MAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mad" 2>&1` -+ MAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmad" 2>&1` - else -- MAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mad" 2>&1` -+ MAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmad" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$MAD_PKG_ERRORS" >&5