From nobody Mon Jul 11 21:54:13 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 CC9501D054A0; Mon, 11 Jul 2022 21:54:14 +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 4Lhd2F5njkz42qg; Mon, 11 Jul 2022 21:54:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657576453; 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=Nu5klPR4Zx50iqiJSDrQHp6Rcj7i2nUPlR7Iw9ZmA2k=; b=rpNNy1ec5HxDH21Znjrl8r1s+BLYbswj3K2DcS3rRLMcF5NwxJ5fv9KgY5ZVtdPJdQUsBd s2p7rW2NZn378nJmzLmEA3cFjtI7bcIxEWa4TNYlbbKBHnPvaIXczBgsRgBRHXekMfreJt gn96LaRb/5Kk8bEJPnfuWOEelTEsr/tf5XrrXbb6Hbh2Yv4EtfGHehhTMYCce2F/EuR9ft 7dDuACxUIyQDifxlLAXVa9hcG4xBmKQL8B0qf+98ouVLKhzR87+KLZTAPOVrtHlEe38Ekm xsA0bSTt6VK8sD2oeDkM5S9W1d6fdL0JdUxWMw7BKtcYE51mzFNN3Ja9qJ8+SA== 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 4Lhd2F4vfczKBx; Mon, 11 Jul 2022 21:54:13 +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 26BLsDTc066472; Mon, 11 Jul 2022 21:54:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26BLsDZO066471; Mon, 11 Jul 2022 21:54:13 GMT (envelope-from git) Date: Mon, 11 Jul 2022 21:54:13 GMT Message-Id: <202207112154.26BLsDZO066471@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 390e09a82cda - main - audio/libmad: Add ACCURACY and SPEED options 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 390e09a82cda665f8742df005574f673fd130545 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657576453; 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=Nu5klPR4Zx50iqiJSDrQHp6Rcj7i2nUPlR7Iw9ZmA2k=; b=XNjH/rH3eBa9cK0zo/mq3mU2jQSWSK/j+mpbRKmgFtXSnGVvo0dejKH0kYkBBJy3+ditiY 0+1NQ1wqlPfMxzqQQ/qlo//AMDmzP8/ek1tW52XummiQ2/TXM5kxrie8zsarS5+oWewUcU pth2i0U+Jdj/gUPK6sVU1bJ5tukIC1TWes+yYtqkzCp7dqfzkJZYI+T6NQoOA1TcqTefBj Nq1f0Wlq8IYW6yzzlje9v6OC7VBVdLuTTzLTF8CKf5YVfTZQg2Yn9mPupJ1yAEbTDzAvSh 6av0O405yAm9U7uDwC9ufQoHHXqrARfXU+18OAflKIg4+ODfiP8RoujM8huq9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657576453; a=rsa-sha256; cv=none; b=d5PKFq9J/8xA97hcMCFAVoN8c74GTy5DjBHiqY1sYIQmZLD9dSDdjz2ZICuiSVW3KEnokD AdhGNrKvaiY/g/Ppf5inpWDYNO7gkHQDWcY9d4+xFZ3fGXldbvsKwZDhdqAnjgFVMaomIZ SEzGIabSAXgyrSIHR8DRaCccvueMPHo78JEa56J/J4zQqrz05Rhp8a5wzrzbg8dmiOUoXK eQYzlNtZL1JtTuAzWu6U1IGzu4frTBwX9GYJ7jXj4OjF6hUSlSF2NBxy9rvtiJWJxHEHt8 2ScIOtwFoAvH13yDVDMdXMLrdlWnpRf47VRYccbHUgCi7nV9p9tvNGDQGybF+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=390e09a82cda665f8742df005574f673fd130545 commit 390e09a82cda665f8742df005574f673fd130545 Author: Po-Chuan Hsieh AuthorDate: 2022-07-11 21:52:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-11 21:52:53 +0000 audio/libmad: Add ACCURACY and SPEED options The SPEED option is missing in 0.16.0 update (519c89efe3a9ddc8f3a57d1bb4940ff355086576). Add it back via OPTIONS_SINGLE_OPTIMIZE. --- audio/libmad/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile index 8f2bb77e16b1..aad9ba4a965b 100644 --- a/audio/libmad/Makefile +++ b/audio/libmad/Makefile @@ -16,6 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake cpe pathfix +CMAKE_OFF= MADD_ASM MADD16_ASM +CMAKE_ON= ASO BUILD_SHARED_LIBS USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} @@ -25,4 +27,13 @@ CPE_VENDOR= underbit USE_GITHUB= yes GH_ACCOUNT= tenacityteam +OPTIONS_SINGLE= OPTIMIZE +OPTIONS_SINGLE_OPTIMIZE=ACCURACY SPEED +OPTIONS_DEFAULT=SPEED +ACCURACY_DESC= Optimize for accuracy over speed +SPEED_DESC= Optimize for speed over accuracy + +ACCURACY_CMAKE_ON= -DOPTIMIZE=ACCURACY +SPEED_CMAKE_ON= -DOPTIMIZE=SPEED + .include