From nobody Sat Jan 08 18:36:06 2022 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 2598B192ACA9; Sat, 8 Jan 2022 18:36:07 +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 4JWTLZ64hwz3NQp; Sat, 8 Jan 2022 18:36:06 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B071A23C0B; Sat, 8 Jan 2022 18:36:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 208Ia6I0055217; Sat, 8 Jan 2022 18:36:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 208Ia6tO055216; Sat, 8 Jan 2022 18:36:06 GMT (envelope-from git) Date: Sat, 8 Jan 2022 18:36:06 GMT Message-Id: <202201081836.208Ia6tO055216@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: bd359cba9a6e - main - multimedia/aom: expose Butteraugli tuning 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bd359cba9a6e7091aba73afd713bf82abdb3666e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641666966; 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=zTzDxpnUQTpXwM1sfPuPfuIHDZQN4Du8x0sAmtow1WU=; b=K+IxJbHsvslJ7tSovr0DFGR/gFSAKov30M8YjZ2vmQc7QmsR7YDFC17y4eulyZaiu2s68q h3fMYUUziUykj/cU9ACZ70yu2cZiZcpx4hehkkDlOwpmvA0H+qmVKCKWphBQb30TBpA27S cz2VVFFx4m43MegKOwYbhFZK6Tn1eyyJsb2p4iIDORbtF6yB0dzXYNMe3SmHvdbI7HIx9s nS2SuU8JyTsgOFSUn1F2gxATvOLESB3SUQf1C0kDpJkZnAyCqgUSThiZKxiavJDgftc0iZ n5ejKXQW+v3dWE8HxjjF6XUGYXT8GtOQiYqCDCNo3MtqaQxsV7Qa4dxOj5s0Lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641666966; a=rsa-sha256; cv=none; b=bf/rGCp7PgSNnGNyI7xYXnWRR3kzGUKQP40+a22Rs2XwPfaofL97OLjhD9HOZVMM5eWuw+ johFZD1HZedj5JcOOhJ6MAy0D17oCAruxXzj11j00T1gSi8nP+8dWMs2/eYw5ANXHe7lWx 7TXAjr+cARMW+y58JgkPdBv7Pxp+DZicDC2mrCpuE4CMQtumS08Ivhcdr59AzCRqBsh0lm 1/rYUndMhbqb+zeHvYPh+wL3E54BoSULTTnA9UKciA9MI8qYycPlevZ6RQkE3XJVBRH7kk LuDwiDXEZ5j5nv3zI3ilx2LOMgiXzsDdNpWZGfAsQ9O58Q2up5ce9Ww55dcUog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd359cba9a6e7091aba73afd713bf82abdb3666e commit bd359cba9a6e7091aba73afd713bf82abdb3666e Author: Jan Beich AuthorDate: 2022-01-08 18:28:10 +0000 Commit: Jan Beich CommitDate: 2022-01-08 18:35:38 +0000 multimedia/aom: expose Butteraugli tuning --- multimedia/aom/Makefile | 7 ++++++- multimedia/aom/files/patch-CMakeLists.txt | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/multimedia/aom/Makefile b/multimedia/aom/Makefile index cb15e55d73b7..d2e9b55f6dcf 100644 --- a/multimedia/aom/Makefile +++ b/multimedia/aom/Makefile @@ -22,9 +22,14 @@ GH_ACCOUNT= jbeich # mirror CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= ENABLE_DOCS ENABLE_TESTS -OPTIONS_DEFINE= VMAF +OPTIONS_DEFINE= JXL VMAF OPTIONS_DEFAULT=VMAF +JXL_DESC= Encoding tuning for Butteraugli +JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl +JXL_USES= pkgconfig +JXL_CMAKE_ON= -DCONFIG_TUNE_BUTTERAUGLI:STRING=1 + VMAF_DESC= Encoding tuning for VMAF VMAF_LIB_DEPENDS= libvmaf.so:multimedia/vmaf VMAF_USES= pkgconfig diff --git a/multimedia/aom/files/patch-CMakeLists.txt b/multimedia/aom/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..175de31849f0 --- /dev/null +++ b/multimedia/aom/files/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +- Drop unused static libhwy dependency when using shared libjxl + +--- CMakeLists.txt.orig 2021-10-13 17:24:39 UTC ++++ CMakeLists.txt +@@ -525,12 +525,6 @@ if(CONFIG_AV1_ENCODER) + if(LIBJXL_CFLAGS) + append_compiler_flag("${LIBJXL_CFLAGS}") + endif() +- pkg_check_modules(LIBHWY REQUIRED libhwy) +- target_link_libraries(aom PRIVATE ${LIBHWY_LDFLAGS} ${LIBHWY_LIBRARIES}) +- target_include_directories(aom PRIVATE ${LIBLIBHWY_INCLUDE_DIRS}) +- if(LIBHWY_CFLAGS) +- append_compiler_flag("${LIBHWY_CFLAGS}") +- endif() + endif() + + set_target_properties(aom PROPERTIES LINKER_LANGUAGE CXX)