From nobody Wed Apr 5 09:00:38 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 4Prz9y4w3jz4470R; Wed, 5 Apr 2023 09:00:38 +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 4Prz9y4TP0z4GyD; Wed, 5 Apr 2023 09:00:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680685238; 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=N1uoP+rbS+KYRCbTYxKN2llKj5p1ieMz5cIBgXT+6CI=; b=THivugJcFCTKmqxkkeutJBhDVjptaaEG4pdboySvriY6miMfPF/d1m3C57tSPJKfjd0QuB 3x0qhtWBT6J31ENUq5CkFK0fs2th4hHgGwQpp0ccN7Zq2qe5CgaPaQrCnai551AMU6Unom 0cRDzhKyJpTbWCyHA3PaZqMA6gPO4OIZuggyT9/9hIMIf02KNaksSGbGlDMtsJBUjN6lZg 8mlF44EoEn7PjH/hG6ByeFsBuu2OKN3Gyo5oEJ8eyzEdkgSI/EvTj/uG5/84ge39jgWQrV CA8F7x32BQDmmcXiSra6lMNBirqboRRlrilIb9bWMGrC0FK/7gwzY/J0bf78Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680685238; 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=N1uoP+rbS+KYRCbTYxKN2llKj5p1ieMz5cIBgXT+6CI=; b=UtALgBhDlS7e6Ez0q55xIrRT7LJjxVOQVaYdH/nfI3nJQzTZyfCni8A8b/O5xkJh1ZfOlH Qu/muWfUTh41nbSx3u+pQ0udkFWJq8OQyCdqHN0fswkDD9XDxDk1YQe5rP1sY7oJiOGzYI jGCy5zahLbqnWTF8rabxRL3d+QL9o9epmqejim8k0xPky/xFnh859hOGoG+SmeiivqZsWy cq01FIMVQms/85fOB2PJuzTQAIVMeZSQCkxZ2CoMz/OeJXJlWQd53aYDM8FiZpdzQ/oZmT tFt6kESRTuC4lWV5WdazbKmShDn3Hwxqezj170tpwbgFrXMypZ/mpBbBIDRpSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680685238; a=rsa-sha256; cv=none; b=uCjrL5hn044CUT/RsYFSm1dM4/EPs1s4nFDEkdebGmDkbaz0ilYJaQWV0uwLb7H78irxSc mrFfPGlQ2BEIQ+PGo+PlGSH7chREIdhxxp2kFmg5ypuIHJdP7rON9/nqBQSOhdtT2LD6OB HCXvEH082ewtuWas7f2fLvWNjINtO8xBAOh58GtN6EOR7bkb5IWVDUt6fQQYANoq3ujG8e 2k7gZk01QgiJw7zN6dlylHplomsI8PFVumBV3JGzjADGHWKJkYz0tXpuMcZ9x9JcPpilHj I9/lSfqxb5pXUcj5HiTRHlw+tq8Nf1ulvM9OLcZoDMklgl6BmhccwbyVS+oa+w== 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 4Prz9y3W31zGxN; Wed, 5 Apr 2023 09:00:38 +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 33590caP036021; Wed, 5 Apr 2023 09:00:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33590cDM036020; Wed, 5 Apr 2023 09:00:38 GMT (envelope-from git) Date: Wed, 5 Apr 2023 09:00:38 GMT Message-Id: <202304050900.33590cDM036020@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 14f7ae40b2a3 - main - net/opal: unbreak the build and packaging with non-default 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 14f7ae40b2a31e563b63d1be6ffd661eeb9b7851 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=14f7ae40b2a31e563b63d1be6ffd661eeb9b7851 commit 14f7ae40b2a31e563b63d1be6ffd661eeb9b7851 Author: Alexey Dokuchaev AuthorDate: 2023-04-05 09:00:12 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-04-05 09:00:12 +0000 net/opal: unbreak the build and packaging with non-default options Fix some minor grammar bugs and beautify port description while here. PR: 270637 --- net/opal/Makefile | 11 +++++++++-- net/opal/pkg-descr | 14 +++++++------- net/opal/pkg-plist | 4 ++-- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/net/opal/Makefile b/net/opal/Makefile index a47a99136eec..d1db20cba1ff 100644 --- a/net/opal/Makefile +++ b/net/opal/Makefile @@ -268,8 +268,15 @@ post-install: ${LN} -sf libopal_d.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopal_d.so.${PVERSION_MINOR} .endif @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopal.so.${PORTVERSION} - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/codecs/video/h264_video_pwplugin_helper - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/*/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/*/*/*.so +post-install-FAX-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/fax/spandsp_ptplugin.so + +post-install-LID-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/lid/vpb_ptplugin.so + +post-install-X264-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/codecs/video/h264_video_pwplugin_helper + .include diff --git a/net/opal/pkg-descr b/net/opal/pkg-descr index bd48311d1309..ad5c2193e080 100644 --- a/net/opal/pkg-descr +++ b/net/opal/pkg-descr @@ -1,12 +1,12 @@ -Opal is a full-featured voip library that supports a variety of protocols and -multi-media fornats. Features include: +Opal is a full-featured VoIP library that supports a variety of protocols +and multimedia formats. Features include: - * Low latency RTP stack designed specifically for real-time multimedia - * Full featured H.323, SIP and IAX2 protocol stacks - * Audio codecs including G.711, GSM06.10, Speex and iLBC. + * Low-latency RTP stack designed specifically for real-time multimedia + * Full-featured H.323, SIP, and IAX2 protocol stacks + * Audio codecs including G.711, GSM06.10, Speex, and iLBC * Video codecs including H.261 and H.263 - * Run-time loadable codec interface for proprietary or codecs such as G.729, - H.263, H.264 and MPEG4 + * Run-time loadable codec interface for proprietary or codecs such as + G.729, H.263, H.264, and MPEG4 * Completely Open Source using the commercially friendly MPL 1.1 license Through the use of a platform isolation library called PTLIB, Opal can run on diff --git a/net/opal/pkg-plist b/net/opal/pkg-plist index f0f23b92f3a5..b4e98134f25c 100644 --- a/net/opal/pkg-plist +++ b/net/opal/pkg-plist @@ -152,10 +152,10 @@ lib/opal-%%VERSION%%/codecs/audio/lpc10_ptplugin.so lib/opal-%%VERSION%%/codecs/audio/silk_ptplugin.so lib/opal-%%VERSION%%/codecs/audio/speex_ptplugin.so lib/opal-%%VERSION%%/codecs/video/h261_vic_ptplugin.so -lib/opal-%%VERSION%%/codecs/video/h263_ffmpeg_ptplugin.so +%%FFMPEG%%lib/opal-%%VERSION%%/codecs/video/h263_ffmpeg_ptplugin.so %%X264%%lib/opal-%%VERSION%%/codecs/video/h264_video_pwplugin_helper %%X264%%lib/opal-%%VERSION%%/codecs/video/h264_x264_ptplugin.so -lib/opal-%%VERSION%%/codecs/video/mpeg4_ffmpeg_ptplugin.so +%%FFMPEG%%lib/opal-%%VERSION%%/codecs/video/mpeg4_ffmpeg_ptplugin.so %%THEORA%%lib/opal-%%VERSION%%/codecs/video/theora_ptplugin.so %%FAX%%lib/opal-%%VERSION%%/fax/spandsp_ptplugin.so %%LID%%lib/opal-%%VERSION%%/lid/vpb_ptplugin.so