From nobody Wed Sep 14 03:45:15 2022 X-Original-To: dev-commits-ports-all@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 4MS5nl2PSbz4c5BR; Wed, 14 Sep 2022 03:45:15 +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 4MS5nl1vlJz45XP; Wed, 14 Sep 2022 03:45:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663127115; 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=Cs2Z7q8gSCxjUb9TG0Tuk+0NWQ5+SCz179tjkSiQdFQ=; b=QLy+GEbZf1cSlQDAY9DbmZCL0koKBeavF5K5BrAij6HNhFjpBxof1A5eoq5K1DU19nCwvE X7QORRtpmT1kDLRQkAzWPJj1+1xulmFVA+p1iBvgPY4l3rZ71b1jGdV3gDLGgK3RSg5SsM wCMK9KkKtundEHOoxlF+YBCRcne8hyaI3FNp4jaxpzbUP1RstI/KX2g8A0YuWSHxRZuOSt /4I5NOxWPqFUIBF2wBTaLZTC4+MqAeOtkJif8ZvmgDLCEI6wUaIacIyuig+TWJ1B+G4M3z gaOZip8WlTbAnBHuecYd2qPH2gY4VOOdQbojuoJJ+BjIdvxJlbVm1IfDV4AyLQ== 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 4MS5nl0yMpzYND; Wed, 14 Sep 2022 03:45:15 +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 28E3jFOE006155; Wed, 14 Sep 2022 03:45:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28E3jFM3006154; Wed, 14 Sep 2022 03:45:15 GMT (envelope-from git) Date: Wed, 14 Sep 2022 03:45:15 GMT Message-Id: <202209140345.28E3jFM3006154@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 21dc3fef5f96 - main - audio/kid3: Remove redundant dependencies List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 21dc3fef5f9680f44ba18f60b1993cf80e00ee46 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663127115; 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=Cs2Z7q8gSCxjUb9TG0Tuk+0NWQ5+SCz179tjkSiQdFQ=; b=xf5tLTQhdqfBYG9z0wAd2m7daP+alKypmJBwRNI5pFiwQaYIA9Uzg629YmNmHATyz6aUAD LDR7VVaGcAiCwKvvwQWgGfn2HkHNUAwB9Z1SRV49KUVMhm28yIB8lYLmsHTvpynWfvN1ZD ejCMu1umemW7X2QvHmse5JKEEU52tZg0pOcxYzRyRStfaK95BHvUbk80D3u2pn3/ynDUdC DeUlUyYhbmkX82UJKNzU1p60OKSd76BlbbUv/dE03HtCTZPPejfS3qBPR+QWw8u7LQJokj n4Ll4OjohSx43FyAvYPCnrVJmDFYQaAvzWPDkM7ETaXqFR2kk6iYqy0EPwDQ1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663127115; a=rsa-sha256; cv=none; b=WnIvt+6ITQB0s5c9AyqJPu1miBsE1KFU7TVZS85KIKGOJxdUg/F5la4as+cVs8hrw50pyL JThXrX14PUwKLduoPqoV48/KgGlfQeeCS4L6oFj+Vl/zMfTHyJWBSuS42P666RG2QkjhHm 4ShEcu2DLTVNkWC6TXccLXeGeOy18lFeh2gPZPlVWcH5G9Chbu1TZ4is2VnWZ1aFL1G5xT ZzZQcz57RTEdc+axV/boKGjrym4kmwBboyzkyRC3evteiy/3hDYtZKjcrZs4LQmPRr9L6U /doU4cS1lfvSgsfYE+VtcFEbHpDgm+cWHCMZ9NTHrE6939UgNerKle6F6R29vQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=21dc3fef5f9680f44ba18f60b1993cf80e00ee46 commit 21dc3fef5f9680f44ba18f60b1993cf80e00ee46 Author: Jason E. Hale AuthorDate: 2022-09-14 03:37:35 +0000 Commit: Jason E. Hale CommitDate: 2022-09-14 03:37:35 +0000 audio/kid3: Remove redundant dependencies Remove MP3, MP4, and TAGLIB options and make audio/taglib non-optional. audio/id3lib is unmaintained upstream and they recommend using taglib instead. Taglib can tag MP4 files, as well. PR: 266401 Reported by: diizzy --- audio/kid3/Makefile | 27 +++++++++++---------------- audio/kid3/pkg-plist | 4 +--- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/audio/kid3/Makefile b/audio/kid3/Makefile index 745e061fb4ff..731d101f7dd9 100644 --- a/audio/kid3/Makefile +++ b/audio/kid3/Makefile @@ -1,5 +1,6 @@ PORTNAME= kid3 PORTVERSION= 3.9.2 +PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} PKGNAMESUFFIX= -${FLAVOR} @@ -12,6 +13,7 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl +LIB_DEPENDS= libtag.so:audio/taglib FLAVORS= qt5 qt6 kf5 FLAVOR?= ${FLAVORS:[1]} @@ -26,15 +28,18 @@ CMAKE_ARGS= -DWITH_DOCBOOKDIR="${LOCALBASE}/share/xsl/docbook" \ -DWITH_MANDIR=man \ -DWITH_PLUGINSDIR=lib/kid3 \ -DFFMPEG_ROOT="${LOCALBASE}" \ - -DWITH_QML=OFF \ -DWITH_APPS="${KID3_APPS:S/ /;/gW}" +CMAKE_OFF= WITH_ID3LIB \ + WITH_MP4V2 \ + WITH_QML +CMAKE_ON= WITH_TAGLIB PLIST_SUB+= SHLIB_VER=${PORTVERSION} .if ${FLAVOR} == qt5 USES+= qt:5 USE_QT= core dbus gui multimedia network xml widgets \ buildtools:build linguisttools:build qmake:build -CMAKE_ARGS+= -DWITH_QT5=ON +CMAKE_ON+= WITH_QT5 PLIST_SUB+= KF5="@comment " \ QT="" \ QT_SUFX="-qt" @@ -43,7 +48,7 @@ KID3_APPS+= QT USES+= gl qt:6 USE_GL= opengl USE_QT= base multimedia tools:build -CMAKE_ARGS+= -DWITH_QT5=OFF +CMAKE_OFF+= WITH_QT5 PLIST_SUB+= KF5="@comment " \ QT="" \ QT_SUFX="-qt" @@ -54,7 +59,7 @@ USE_KDE= auth codecs config configwidgets coreaddons kio \ service widgetsaddons xmlgui doctools:build ecm:build USE_QT= concurrent core dbus gui multimedia network xml widgets \ buildtools:build linguisttools:build qmake:build -CMAKE_ARGS+= -DWITH_QT5=ON +CMAKE_ON+= WITH_QT5 PLIST_SUB+= KF5="" \ QT="@comment " \ QT_SUFX="" @@ -67,8 +72,8 @@ CONFLICTS_INSTALL+= kid3-${f} . endif .endfor -OPTIONS_DEFINE= CLI ACOUSTID FLAC MP3 MP4 VORBIS TAGLIB TEST -OPTIONS_DEFAULT= CLI ACOUSTID FLAC MP3 MP4 VORBIS TAGLIB +OPTIONS_DEFINE= CLI ACOUSTID FLAC VORBIS TEST +OPTIONS_DEFAULT= CLI ACOUSTID FLAC VORBIS OPTIONS_SUB= yes NO_OPTIONS_SORT= yes @@ -84,16 +89,6 @@ FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_BOOL= WITH_FLAC FLAC_IMPLIES= VORBIS -MP3_LIB_DEPENDS= libid3.so:audio/id3lib -MP3_CMAKE_BOOL= WITH_ID3LIB - -MP4_LIB_DEPENDS= libmp4v2.so:multimedia/mp4v2 -MP4_CMAKE_BOOL= WITH_MP4V2 - -TAGLIB_DESC= Various audio formats support via Taglib -TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib -TAGLIB_CMAKE_BOOL= WITH_TAGLIB - TEST_USE= LOCALE=en_US.UTF-8 .if ${FLAVOR} == qt5 || ${FLAVOR} == kf5 TEST_USE+= QT=testlib:build diff --git a/audio/kid3/pkg-plist b/audio/kid3/pkg-plist index 9265025f2412..0a70bddeecdd 100644 --- a/audio/kid3/pkg-plist +++ b/audio/kid3/pkg-plist @@ -6,11 +6,9 @@ lib/libkid3-gui.so lib/kid3/libamazonimport.so lib/kid3/libdiscogsimport.so lib/kid3/libfreedbimport.so -%%MP3%%lib/kid3/libid3libmetadata.so -%%MP4%%lib/kid3/libmp4v2metadata.so lib/kid3/libmusicbrainzimport.so %%VORBIS%%lib/kid3/liboggflacmetadata.so -%%TAGLIB%%lib/kid3/libtaglibmetadata.so +lib/kid3/libtaglibmetadata.so %%CLI%%man/ca/man1/kid3-cli.1.gz %%QT%%man/ca/man1/kid3-qt.1.gz man/ca/man1/kid3.1.gz