From nobody Sun Dec 22 06:53:36 2024 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 4YGBh06CvDz5j9DG; Sun, 22 Dec 2024 06:53:36 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YGBh05p6jz4WgC; Sun, 22 Dec 2024 06:53:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734850416; 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=3J+a7mNV+57bBqqZCZ351O6zLucsaMMw+/TbJRKuoVs=; b=iy4pwKdGSiqaUmGXpj5GHFoihBmjHxfj8MC3KxVueh4Jl/RSoIRJ7bXSrZCrkWPgqPK0OQ SlaQ3HPzqcolffTwTxvCmihzU01KdjfKO4z5mpIBN3smlLAUhmm9e6hkQNsgQCoMYnY1jk H8JTZdyIMwwwuSFuXpqVkSsDfLvzRVD1ZXUigR39x141bQSCCL2HRYRqFL0vx6irh8gKDg dK2jDoXQilncF85l8C8QJq3xLIob/lXNuOlmdvGVOcHeab1iuIY78AYaJtSsUcp07A1XvR 1flytwY/s7QwMYMbfEo+22hFa9JOQPmTeUbGZzUlaY5j17BIXUr9Ug1NZqdiBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734850416; 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=3J+a7mNV+57bBqqZCZ351O6zLucsaMMw+/TbJRKuoVs=; b=cQrD90adOxeyM3QkprEdLsaBwtJQML5I0qQLNOy8VlFq1SFDGZ5SYbzufYgyDE3rvMZJJ7 nNi6p2Q9kd3NhCHNuE+Xdrstl6t0iqlusDv5wPtNXauOc3mZ+FSC6z5rcbaS6vtZf58V/i v8peron+qyU75R/M0BXfmZlXuy7ckuJAnFZ27rZVwYPM7V2ca5ZqMCsYcx47YfeuPhhRfA SeVq06kMU7u80M5jSI0n7zRfbNKWkBvJGT5fslcu3lTljVQhAd1Hk9HHHrOPTSM2dZAMcM rNbv0i76xHByhh821LRhlShTXX8fhtsUjzyFAgooOsOLlhzYHjnzmcR+cZHGXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734850416; a=rsa-sha256; cv=none; b=VyT8pgLITKvI/9BjVH1rEo1LPjTKsr2KvxhVAGLLzz2QrGwBmz85sA1WMxHEAy0fISoQs1 1b2cAIbSk+ch8lCFremn9onVOe0cECSV3C3X7Kbl9/ptaqPBFo4dckZYvljWDkFaJcZOWp yhKgSR6YgkKrjoCkuCxD6UI3Mbbl60C4tz3MI4XlStKP9Qe18WJ+QSlw2QCIOWDTHIFosT nsqxDHtbidavWKBNYit7/SoMMOMwuZKYHpPtlLbZy+/lCfXiQyjnxxBRTs7qCplVrktAre A2QSSWTWVbu4KfsV4m3IAk4iK6b5u63M6Ph88uD4YpFzGoy/DuM0vPQ5DqkMMg== 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 4YGBh05GM7zyG4; Sun, 22 Dec 2024 06:53:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BM6ra0h025944; Sun, 22 Dec 2024 06:53:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BM6ramr025941; Sun, 22 Dec 2024 06:53:36 GMT (envelope-from git) Date: Sun, 22 Dec 2024 06:53:36 GMT Message-Id: <202412220653.4BM6ramr025941@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: 7fac7b6b62bb - main - audio/gstreamer1-plugins-alsa: Add port 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 7fac7b6b62bb55df32a6bdad4eab3374ff298fc5 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=7fac7b6b62bb55df32a6bdad4eab3374ff298fc5 commit 7fac7b6b62bb55df32a6bdad4eab3374ff298fc5 Author: Jason E. Hale AuthorDate: 2024-12-22 05:47:12 +0000 Commit: Jason E. Hale CommitDate: 2024-12-22 06:47:24 +0000 audio/gstreamer1-plugins-alsa: Add port GStreamer ALSA plugin. If multimedia/qt6-multimedia is built with both the GSTREAMER and ALSA options enabled, certain applications like multimedia/mkvtoolnix may crash if this plugin is not installed. PR: 282078 --- Mk/Uses/gstreamer.mk | 5 ++++- audio/Makefile | 1 + audio/gstreamer1-plugins-alsa/Makefile | 16 ++++++++++++++++ audio/gstreamer1-plugins-alsa/pkg-plist | 1 + .../gstreamer1-plugins/files/patch-ext_alsa_meson.build | 13 +++++++++++++ 5 files changed, 35 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/gstreamer.mk b/Mk/Uses/gstreamer.mk index ff2851b60357..e4ec45219cca 100644 --- a/Mk/Uses/gstreamer.mk +++ b/Mk/Uses/gstreamer.mk @@ -54,7 +54,7 @@ _GST1_SOVERSION= 0.${_GST1_VERSION:R:E}${${_GST1_VERSION:E} > 9:?:0}${_GST1_VERS _GST1_CATEGORIES= audio comms devel ftp graphics multimedia net security \ sysutils textproc www x11 x11-toolkits -_GST1_PLUGINS_audio= a52dec amrnb amrwbdec bs2b cdparanoia chromaprint faac \ +_GST1_PLUGINS_audio= a52dec alsa amrnb amrwbdec bs2b cdparanoia chromaprint faac \ faad flac flite gme gsm jack ladspa lame lv2 modplug \ mpg123 ogg openmpt opus pulse shout2 sidplay \ sndfile sndio soundtouch speex taglib twolame vorbis \ @@ -121,6 +121,9 @@ gst-libgstreamer_PORT= multimedia/gstreamer${_GST_VER} gst-a52dec_PORT= audio/gstreamer${_GST_VER}-plugins-a52dec gst-a52dec_IMPL= ugly +gst-alsa_PORT= audio/gstreamer${_GST_VER}-plugins-alsa +gst-alsa_IMPL= # + gst-amrnb_PORT= audio/gstreamer${_GST_VER}-plugins-amrnb gst-amrnb_IMPL= ugly diff --git a/audio/Makefile b/audio/Makefile index a48ed8ce5750..76521d42179a 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -226,6 +226,7 @@ SUBDIR += gsm SUBDIR += gsound SUBDIR += gstreamer1-plugins-a52dec + SUBDIR += gstreamer1-plugins-alsa SUBDIR += gstreamer1-plugins-amrnb SUBDIR += gstreamer1-plugins-amrwbdec SUBDIR += gstreamer1-plugins-bs2b diff --git a/audio/gstreamer1-plugins-alsa/Makefile b/audio/gstreamer1-plugins-alsa/Makefile new file mode 100644 index 000000000000..cfee1c89cbdf --- /dev/null +++ b/audio/gstreamer1-plugins-alsa/Makefile @@ -0,0 +1,16 @@ +PORTREVISION= 0 +CATEGORIES= audio + +COMMENT= GStreamer ALSA plugin + +LIB_DEPENDS= libasound.so:audio/alsa-lib +RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins + +MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins + +PLIST= ${.CURDIR}/pkg-plist + +DIST= base +GST_PLUGIN= alsa + +.include "${MASTERDIR}/Makefile" diff --git a/audio/gstreamer1-plugins-alsa/pkg-plist b/audio/gstreamer1-plugins-alsa/pkg-plist new file mode 100644 index 000000000000..e61312b54550 --- /dev/null +++ b/audio/gstreamer1-plugins-alsa/pkg-plist @@ -0,0 +1 @@ +lib/gstreamer-%%VERSION%%/libgstalsa.so diff --git a/multimedia/gstreamer1-plugins/files/patch-ext_alsa_meson.build b/multimedia/gstreamer1-plugins/files/patch-ext_alsa_meson.build new file mode 100644 index 000000000000..c252092b788a --- /dev/null +++ b/multimedia/gstreamer1-plugins/files/patch-ext_alsa_meson.build @@ -0,0 +1,13 @@ +--- ext/alsa/meson.build.orig 2024-12-03 23:29:07 UTC ++++ ext/alsa/meson.build +@@ -15,7 +15,9 @@ if alsa_dep.found() + alsa_sources, + c_args : gst_plugins_base_args, + include_directories: [configinc, libsinc], +- dependencies : [alsa_dep, audio_dep, tag_dep, gst_dep, gst_base_dep], ++ dependencies : [alsa_dep, dependency('gstreamer-audio-1.0'), ++ dependency('gstreamer-audio-1.0'), dependency('gstreamer-tag-1.0'), ++ gst_dep, gst_base_dep], + install : true, + install_dir : plugins_install_dir, + )