diff --git a/audio/wavpack/Makefile b/audio/wavpack/Makefile index 4d9a285798fc..f7142f179974 100644 --- a/audio/wavpack/Makefile +++ b/audio/wavpack/Makefile @@ -1,29 +1,29 @@ # Created by: Koop Mast PORTNAME= wavpack -DISTVERSION= 5.4.0 +DISTVERSION= 5.5.0 CATEGORIES= audio -MASTER_SITES= http://www.wavpack.com/ +MASTER_SITES= https://github.com/dbry/WavPack/releases/download/${DISTVERSION}/ \ + http://www.wavpack.com/ + +PATCH_SITES= https://github.com/dbry/WavPack/commit/ +PATCHFILES= 081a14557ada1f76f8807e00fccc5d71b9c96313.patch:-p1 MAINTAINER= multimedia@FreeBSD.org COMMENT= Audio codec for lossless, lossy, and hybrid compression LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -USES= cpe iconv libtool pathfix pkgconfig tar:bzip2 +USES= cmake:testing cpe iconv pathfix pkgconfig ssl tar:xz USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -INSTALL_TARGET= install-strip + +CMAKE_OFF= BUILD_TESTING WAVPACK_BUILD_DOCS +CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= ASM -OPTIONS_DEFAULT_amd64= ASM -OPTIONS_DEFAULT_armv6= ASM -OPTIONS_DEFAULT_armv7= ASM +OPTIONS_DEFAULT=ASM -ASM_CONFIGURE_OFF= --disable-asm -ASM_DESC= Optimized assembler routines (requires MMX on x86) +ASM_CMAKE_BOOL= WAVPACK_ENABLE_ASM .include diff --git a/audio/wavpack/distinfo b/audio/wavpack/distinfo index d863d499912a..a7c5852e7fd4 100644 --- a/audio/wavpack/distinfo +++ b/audio/wavpack/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1610607585 -SHA256 (wavpack-5.4.0.tar.bz2) = 0716a6dcf9a72d61005e1b09bbbd61aaf49837cb4e4a351992a6daed16cac034 -SIZE (wavpack-5.4.0.tar.bz2) = 863429 +TIMESTAMP = 1657548121 +SHA256 (wavpack-5.5.0.tar.xz) = ef749d98df46925bc2916993e601cc7ee9114d99653e63e0e304f031ba73b8e6 +SIZE (wavpack-5.5.0.tar.xz) = 797996 +SHA256 (081a14557ada1f76f8807e00fccc5d71b9c96313.patch) = 364f998fbe8126809402554233d27f339c63a10faba9318d5b665b6e1cfc9431 +SIZE (081a14557ada1f76f8807e00fccc5d71b9c96313.patch) = 1004 diff --git a/audio/wavpack/files/patch-configure b/audio/wavpack/files/patch-configure deleted file mode 100644 index 0f1d66781dd8..000000000000 --- a/audio/wavpack/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2017-01-17 04:32:28 UTC -+++ configure -@@ -13715,7 +13715,7 @@ $as_echo_n "checking if assembly optimiz - i386|i486|i586|i686|i786) : - $as_echo "#define OPT_ASM_X86 1" >>confdefs.h - asm_selected=x86 ;; #( -- x86_64) : -+ x86_64|amd64) : - $as_echo "#define OPT_ASM_X64 1" >>confdefs.h - asm_selected=x64 ;; #( - arm*) : diff --git a/audio/wavpack/pkg-plist b/audio/wavpack/pkg-plist index 4c2a0d2782a9..2764fdeb4444 100644 --- a/audio/wavpack/pkg-plist +++ b/audio/wavpack/pkg-plist @@ -1,14 +1,14 @@ bin/wavpack bin/wvgain bin/wvtag bin/wvunpack include/wavpack/wavpack.h -lib/libwavpack.a +lib/cmake/WavPack/wavpack-config-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/WavPack/wavpack-config-version.cmake +lib/cmake/WavPack/wavpack-config.cmake lib/libwavpack.so -lib/libwavpack.so.1 -lib/libwavpack.so.1.2.3 libdata/pkgconfig/wavpack.pc -man/man1/wavpack.1.gz -man/man1/wvgain.1.gz -man/man1/wvtag.1.gz -man/man1/wvunpack.1.gz +share/man/man1/wavpack.1.gz +share/man/man1/wvgain.1.gz +share/man/man1/wvtag.1.gz +share/man/man1/wvunpack.1.gz