From nobody Sun Aug 06 10:28:25 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RJbJT2lrnz4ppFJ; Sun, 6 Aug 2023 10:28:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RJbJT2HGjz3fXT; Sun, 6 Aug 2023 10:28:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691317705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZqpWlattO57WIhMesi2lWvKfEeEmZP3JK2OAEu2Au2w=; b=fvn5co2Q/I1l8AQLcUqtVQ/LCjZsf7cdR5MbkxEcVi3g32nShbyAzJIewkmglEdw4QA3uH B1FmnWtwVzIi6gugZd0ea+HpJym9l2nLAx3ud/1ux+nvPBT9ktbmbosjuv639sClqYmaoy yZwwj0aCsYvrm5wVB9gGtCTy0L5kZ365Zp41HYDVvTamk3zZ1qzYdX4zeTNA86VAcgafxq cpyi6DdkBKhiGYejhE3KUeC6MZX1yCr+6avy2HUqqMXZdtuohDM4tpUWQ2zlt38qzxbQ/g ACSGMTHZ8iHW1NKEZAtSO97kMfPR644qIjtCLq1bVg0kWwQ4JKK3jtTS6MB+HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691317705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZqpWlattO57WIhMesi2lWvKfEeEmZP3JK2OAEu2Au2w=; b=clx5kzy/4xWdFJS+rvmSe7f0f6gpigDhPhD6QRxNx8ZPo9fHOTOQxuOCZ5XhYRILuTMFes flEJOkq7TwjlBgsFw2yIkoc0+bJV1Kv9RHcuAgDxGvZmkLz+C7SwfdCTY7wFbEsiWJrwr7 Qx36Zgh5wWHfTTncY40MPb1sO7GGuC9eUx2sMcUFp9yZpWmfkYtVcwn+dxU96rcGC9sRN6 zv9LfAB9G9HPjWOzFmZV2yQB/IH6fJBa8rKpRwTxiiLlPi6CYyrqmxtkWf0VjxweFV8OnC 9QRDEdEO2dPHf0NUWXChXQKH4sV0qD2YbQys64eIK2/STry/Qb54pQl3YPpvTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691317705; a=rsa-sha256; cv=none; b=h3Q7VkDV2G7A/8CE4XQ2FC8n5kRLh63FRqGeM8zzF0ZpltlhPCYZ9u9BmYP00UJc9QIqi4 SWn5R/i7vmAylKQDdMplAWquA6lR54MtyPSZO0k/MgbODJFcJU5gI/gs06yKd0rXZ4+Yj3 yuoIii74x+90YhM9VGZqy+oUmZvm3mIBaXRIQcZnd3sRy6A1dMkVyK9uq0LpHAQieh/Trw rtKxXWYdftcLHQS2ZFT+qjawN4GR85KrVDy28ky/rP/sAAE4m9bbtdTISVFKC99Zykmqmj Rw2CHz8jqgrGZk6ZlZSw7P+6JyBRYcxAmOmCdJkAMdDz2hFCT86QOJ5c8qDc/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RJbJT1MbXz16GH; Sun, 6 Aug 2023 10:28:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 376ASPhU025312; Sun, 6 Aug 2023 10:28:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376ASPlk025311; Sun, 6 Aug 2023 10:28:25 GMT (envelope-from git) Date: Sun, 6 Aug 2023 10:28:25 GMT Message-Id: <202308061028.376ASPlk025311@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: e255bf2bdaa5 - main - vapoursynth-fmtconv: Update to version r30 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e255bf2bdaa51438688cdfbf65385856086498f3 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e255bf2bdaa51438688cdfbf65385856086498f3 commit e255bf2bdaa51438688cdfbf65385856086498f3 Author: Daniel Engberg AuthorDate: 2023-08-06 10:16:20 +0000 Commit: Daniel Engberg CommitDate: 2023-08-06 10:16:23 +0000 vapoursynth-fmtconv: Update to version r30 * Drop ARM 32-bit, too slow platform to be usable * Switch to upstream release archive --- graphics/vapoursynth-fmtconv/Makefile | 25 ++++++++++------ graphics/vapoursynth-fmtconv/distinfo | 6 ++-- .../files/patch-build_unix_Makefile.am | 29 +++++++++++++++++++ .../files/patch-build_unix_configure.ac | 33 ++++++++++++++++++++++ graphics/vapoursynth-fmtconv/pkg-message | 8 ++++++ 5 files changed, 90 insertions(+), 11 deletions(-) diff --git a/graphics/vapoursynth-fmtconv/Makefile b/graphics/vapoursynth-fmtconv/Makefile index c4cc2688187f..0b42c54e5ad0 100644 --- a/graphics/vapoursynth-fmtconv/Makefile +++ b/graphics/vapoursynth-fmtconv/Makefile @@ -1,6 +1,7 @@ PORTNAME= fmtconv -PORTVERSION= r28 +DISTVERSION= r30 CATEGORIES= graphics +MASTER_SITES= https://github.com/EleonoreMizo/${PORTNAME}/releases/download/${DISTVERSION}/ PKGNAMEPREFIX= vapoursynth- MAINTAINER= ports@FreeBSD.org @@ -8,22 +9,30 @@ COMMENT= Format conversion tools for Vapoursynth and Avisynth+ WWW= https://github.com/EleonoreMizo/fmtconv LICENSE= WTFPL +LICENSE_FILES= ${WRKSRC}/COPYING -ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 +ONLY_FOR_ARCHS= aarch64 amd64 -USE_GITHUB= yes -GH_ACCOUNT= EleonoreMizo +USES= autoreconf compiler:c++14-lang gmake libtool zip + +EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${PORTNAME}-${DISTVERSION} -USES= autoreconf compiler:c++11-lib gmake libtool WRKSRC_SUBDIR= build/unix PATCH_WRKSRC= ${WRKSRC:H:H} + GNU_CONFIGURE= yes -CONFIGURE_ARGS= --libdir="${DATADIR}" INSTALL_TARGET= install-strip -DATADIR= ${PREFIX}/lib/vapoursynth + DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} -PORTDATA= lib${PORTNAME}.so PORTDOCS= * +PLIST_FILES= lib/vapoursynth/lib${PORTNAME}.so + +# We need at least AVX2 instructions on amd64 +.if !defined(CPUTYPE) && ${ARCH} == "amd64" +CONFIGURE_ENV+= EXTRA_CXXFLAGS=-march=haswell +.endif + +CONFIGURE_ARGS= --libdir="${PREFIX}/lib/vapoursynth" OPTIONS_DEFINE= DOCS diff --git a/graphics/vapoursynth-fmtconv/distinfo b/graphics/vapoursynth-fmtconv/distinfo index 1bc0e6227b9f..3aa839bcd989 100644 --- a/graphics/vapoursynth-fmtconv/distinfo +++ b/graphics/vapoursynth-fmtconv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1637359758 -SHA256 (EleonoreMizo-fmtconv-r28_GH0.tar.gz) = b68cce5d01b5f809953f79203a1948334185485acc7eb824dd21272f2b34c910 -SIZE (EleonoreMizo-fmtconv-r28_GH0.tar.gz) = 2645704 +TIMESTAMP = 1691311545 +SHA256 (fmtconv-r30.zip) = f35dba222f2a4d998cd5f777e14382d21337f86fec8ba38832d577ad5795f2e6 +SIZE (fmtconv-r30.zip) = 7457629 diff --git a/graphics/vapoursynth-fmtconv/files/patch-build_unix_Makefile.am b/graphics/vapoursynth-fmtconv/files/patch-build_unix_Makefile.am new file mode 100644 index 000000000000..a873dce563b8 --- /dev/null +++ b/graphics/vapoursynth-fmtconv/files/patch-build_unix_Makefile.am @@ -0,0 +1,29 @@ +--- build/unix/Makefile.am.orig 2023-08-06 08:51:47 UTC ++++ build/unix/Makefile.am +@@ -369,7 +369,7 @@ libsse2_la_SOURCES = \ + ../../src/fstb/ToolsSse2.h \ + ../../src/fstb/ToolsSse2.hpp + +-libsse2_la_CXXFLAGS = $(AM_CXXFLAGS) -msse2 ++libsse2_la_CXXFLAGS = $(AM_CXXFLAGS) + libfmtconv_la_LIBADD += libsse2.la + fmtcltest_LDADD += libsse2.la + noinst_LTLIBRARIES += libsse2.la +@@ -379,7 +379,7 @@ commonsrcavx = \ + + libavx_la_SOURCES = $(commonsrcavx) + +-libavx_la_CXXFLAGS = $(AM_CXXFLAGS) -mavx ++libavx_la_CXXFLAGS = $(AM_CXXFLAGS) + libfmtconv_la_LIBADD += libavx.la + fmtcltest_LDADD += libavx.la + noinst_LTLIBRARIES += libavx.la +@@ -397,7 +397,7 @@ libavx2_la_SOURCES = $(commonsrcavx2) \ + ../../src/fstb/ToolsAvx2.h \ + ../../src/fstb/ToolsAvx2.hpp + +-libavx2_la_CXXFLAGS = $(AM_CXXFLAGS) -mavx2 ++libavx2_la_CXXFLAGS = $(AM_CXXFLAGS) + libfmtconv_la_LIBADD += libavx2.la + fmtcltest_LDADD += libavx2.la + noinst_LTLIBRARIES += libavx2.la diff --git a/graphics/vapoursynth-fmtconv/files/patch-build_unix_configure.ac b/graphics/vapoursynth-fmtconv/files/patch-build_unix_configure.ac new file mode 100644 index 000000000000..6a0cedc4c185 --- /dev/null +++ b/graphics/vapoursynth-fmtconv/files/patch-build_unix_configure.ac @@ -0,0 +1,33 @@ +--- build/unix/configure.ac.orig 2023-08-06 08:54:07 UTC ++++ build/unix/configure.ac +@@ -48,7 +48,7 @@ AS_IF( + DEBUGCFLAGS="-O0 -g3 -ggdb" + AC_MSG_NOTICE([Debug mode enabled.]) + ], +- [DEBUGCFLAGS="-O3 -g3 -DNDEBUG"] ++# [DEBUGCFLAGS="-O3 -g3 -DNDEBUG"] + ) + + AS_IF( +@@ -88,10 +88,10 @@ AS_IF( + AS_IF( + [test "x$X86" = "xtrue"], + [ +- MFLAGS="$MFLAGS -mfpmath=sse -msse2" ++# MFLAGS="$MFLAGS -mfpmath=sse -msse2" + COMPWARNFLAGS="$COMPWARNFLAGS -Wno-ignored-attributes" + # We need this to use CMPXCHG16B for 2x64-bit CAS (compare and swap) +- AS_IF([test "x$BITS" = "x64"], [MFLAGS="$MFLAGS -mcx16"]) ++# AS_IF([test "x$BITS" = "x64"], [MFLAGS="$MFLAGS -mcx16"]) + ] + ) + +@@ -100,7 +100,7 @@ AS_IF( + [ + MFLAGS="-ftree-vectorize" + +- AX_CHECK_COMPILE_FLAG([-mfpu=neon], [MFLAGS="$MFLAGS -mfpu=neon"]) ++# AX_CHECK_COMPILE_FLAG([-mfpu=neon], [MFLAGS="$MFLAGS -mfpu=neon"]) + + # GCC 7 emits some warnings about ABI changes when using std::vector + AX_CHECK_COMPILE_FLAG([-Wpsabi], [COMPWARNFLAGS="$COMPWARNFLAGS -Wno-psabi"], , [-Werror]) diff --git a/graphics/vapoursynth-fmtconv/pkg-message b/graphics/vapoursynth-fmtconv/pkg-message new file mode 100644 index 000000000000..7dffe3aaa345 --- /dev/null +++ b/graphics/vapoursynth-fmtconv/pkg-message @@ -0,0 +1,8 @@ +[ +{ type: install + message: <