From nobody Sun Mar 06 16:31:19 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 D125719F385D; Sun, 6 Mar 2022 16:31:19 +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 4KBRtH5XP8z4W23; Sun, 6 Mar 2022 16:31:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646584279; 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=UBBy56ehZMYxMr3Vzpj+tx3pJ3cZdpoTmSoY8J6FwJk=; b=MDWarjO1kStkcPeDFXFBo97Q5T1SyW9gNwhPXYYTs56PdegmFNIInaTHUl+8rZ1oS+p60C b9iJNlBRkm2SY0XUIn4pMV8ZtQcSwfJAT+A7vZlS/DhkHpzZgasQFCbGAOSHLuJ+5tiPBa Kr0WH0QT8bewtTb1E4BF+LRdSrDKt9Z0RJMSp71uo+LBiEfy9JsLzMqxwlmdDlYWyasuWG J6OdJlCCJzjslnXMYsNswQRd1X6NcqGby/Gl4pjMAWMBCFV5p5LygOVAGdnVfP3h3XwDYw e3x/cHneexAkWcW72MFAOmUNGY6nSSedbsZeXlIXmvee0kGq0EkaQrSgm7LW3w== 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 9E21517E0E; Sun, 6 Mar 2022 16:31:19 +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 226GVJlc076599; Sun, 6 Mar 2022 16:31:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 226GVJmG076598; Sun, 6 Mar 2022 16:31:19 GMT (envelope-from git) Date: Sun, 6 Mar 2022 16:31:19 GMT Message-Id: <202203061631.226GVJmG076598@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: d754f15cf977 - main - audio/openal-soft: allow to build the port without the utilities 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d754f15cf9775d4dc879bd9ccbf9e1173ee8aa6c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646584279; 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=UBBy56ehZMYxMr3Vzpj+tx3pJ3cZdpoTmSoY8J6FwJk=; b=Q7vYR2WNmlMpSVcJKv6Bb++4pTIPdnXickCKP8nQo/3Oblm37ZhVdKI/YmJjhPfYi1AdUB I2ZrOAoY9yRlV1Bc8fQHBlSjnrp7WXPBjQTrrkF4OsSQ6n3REAwwXvIWAzlYMZ1jijEYab I5S4jinaToaYmwuCHTeoqPRj3t8gFL2LdC3QcV9nrEm9ksUd8dd3WHc4gx0mROWOclB2Dm opyxajvj98j4mb6V2xASMlwccqU3qgAQxrvTlFl1IdBth0skzVV3VTcGel3oz/evKyygca OTdEb47/Dpg95Y4De+fp59mDr1eQqTJAZvL1EVSclE5XImHKjvTWMyAqmFIYhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646584279; a=rsa-sha256; cv=none; b=GYVeJ4kEuIq1olyoZwoNp08/RSlZLtf9uEGI9u2bZrgTZgkwoAMScn9BKIkmgOjxGrcJUf XPNstyBiHwX7Ohfg4XkB5vJZOoG6u31izpHVFYno3NlhHjrGDGBe29mkI5U52pBdURlsRQ mN5cjAL5OETIS5J0AG6+F37mJdx752FJ95uh/7rk/5UVki+917GlE9oqnwXU3Ys5nECaVi YlWAaYIX6rlx/zHIFDfzDOqSKAs15o35Ny+EUfnGq28/vbheUjc7ZHw47hFxdREdTE7Isq EzPgsMz1mITVjTBX+VR4ufO/s9aQYh1xQXNWbnJaVx+ryezbDuCru66NQoWlFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=d754f15cf9775d4dc879bd9ccbf9e1173ee8aa6c commit d754f15cf9775d4dc879bd9ccbf9e1173ee8aa6c Author: Alexey Dokuchaev AuthorDate: 2022-03-06 16:30:22 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-03-06 16:30:22 +0000 audio/openal-soft: allow to build the port without the utilities This helps to avoid dependency on `audio/libmysofa' and thus not to download its quite heavy ~190 MB distfile. --- audio/openal-soft/Makefile | 13 ++++++++----- audio/openal-soft/pkg-plist | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile index f780656de5ef..6674bc2840da 100644 --- a/audio/openal-soft/Makefile +++ b/audio/openal-soft/Makefile @@ -10,15 +10,13 @@ COMMENT= Software implementation of the OpenAL specification LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libmysofa.so:audio/libmysofa - USES= cmake compiler:c++14-lang tar:bzip2 USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_INSTALL_DATADIR:STRING="${PREFIX}/etc" CMAKE_OFF= ALSOFT_BACKEND_ALSA ALSOFT_DLOPEN ALSOFT_EXAMPLES \ ALSOFT_REQUIRE_QSA ALSOFT_REQUIRE_SOLARIS -CMAKE_ON= ALSOFT_BACKEND_WAVE ALSOFT_UTILS +CMAKE_ON= ALSOFT_BACKEND_WAVE # do not link with librt and libdl. LDFLAGS+= -Wl,--as-needed @@ -26,11 +24,13 @@ LDFLAGS_i386= -Wl,-z,notext PLIST_SUB= SOVERSION=${PORTVERSION} -OPTIONS_DEFINE= CONFIG EXAMPLES JACK OSS PORTAUDIO PULSEAUDIO SDL SNDIO -OPTIONS_DEFAULT= OSS +OPTIONS_DEFINE= CONFIG EXAMPLES JACK OSS PORTAUDIO PULSEAUDIO \ + SDL SNDIO UTILS +OPTIONS_DEFAULT= OSS UTILS OPTIONS_SUB= yes CONFIG_DESC= Install configuration utility (needs Qt 5) +UTILS_DESC= Build and install utility programs CONFIG_USES= qt:5 CONFIG_USE= QT=core,gui,widgets,buildtools_build,qmake_build @@ -55,6 +55,9 @@ SDL_CMAKE_BOOL= ALSOFT_BACKEND_SDL2 ALSOFT_REQUIRE_SDL2 SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= ALSOFT_BACKEND_SNDIO ALSOFT_REQUIRE_SNDIO +UTILS_LIB_DEPENDS= libmysofa.so:audio/libmysofa +UTILS_CMAKE_BOOL= ALSOFT_UTILS + post-patch: @${REINPLACE_CMD} 's|/etc/openal|${ETCDIR}|' \ ${WRKSRC}/alc/alconfig.cpp diff --git a/audio/openal-soft/pkg-plist b/audio/openal-soft/pkg-plist index 08321dfbc00a..ac89f5532261 100644 --- a/audio/openal-soft/pkg-plist +++ b/audio/openal-soft/pkg-plist @@ -1,6 +1,6 @@ %%CONFIG%%bin/alsoft-config -bin/makemhr -bin/openal-info +%%UTILS%%bin/makemhr +%%UTILS%%bin/openal-info %%ETCDIR%%/alsoftrc.sample %%ETCDIR%%/hrtf/Default HRTF.mhr %%ETCDIR%%/presets/3D7.1.ambdec