summaryrefslogtreecommitdiff
path: root/gui-apps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-28 01:25:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-28 01:25:58 +0100
commit6405cba4bf18141460bc9fcb8f5580532d4b46f8 (patch)
tree377baa366741990f54b18ea82f5566c48295f4e0 /gui-apps
parentabc3bfc07d931f667a0f50cf607f1c8a49af879f (diff)
gentoo auto-resync : 28:09:2024 - 01:25:57
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/Manifest.gzbin5049 -> 5051 bytes
-rw-r--r--gui-apps/wf-recorder/Manifest5
-rw-r--r--gui-apps/wf-recorder/files/wf-recorder-0.5.0-fix-build-with-no-audio.patch48
-rw-r--r--gui-apps/wf-recorder/wf-recorder-0.5.0.ebuild46
-rw-r--r--gui-apps/wf-recorder/wf-recorder-9999.ebuild2
5 files changed, 99 insertions, 2 deletions
diff --git a/gui-apps/Manifest.gz b/gui-apps/Manifest.gz
index 47398bfe8fce..d1916f1bfabe 100644
--- a/gui-apps/Manifest.gz
+++ b/gui-apps/Manifest.gz
Binary files differ
diff --git a/gui-apps/wf-recorder/Manifest b/gui-apps/wf-recorder/Manifest
index d14277240037..95b334105156 100644
--- a/gui-apps/wf-recorder/Manifest
+++ b/gui-apps/wf-recorder/Manifest
@@ -1,6 +1,9 @@
+AUX wf-recorder-0.5.0-fix-build-with-no-audio.patch 1517 BLAKE2B 7032093dc24bd21e1c100fdb2106c04e60dd11105d8a5b2b1a287678f7cfa0c422d9110ca5f8c86b6ce42b47097ea38ad13feb4155b7bc21c41fa917f7d03ec0 SHA512 832c1d14cdfabdc3947f79416bbc0fb71c2ba73e1a7f75e3ec0735da67bc502325ec7570cdfa8d5587865b0a7ff09fcf11a003cc42823c40fbbceaa817f654b9
DIST wf-recorder-0.3.0.tar.xz 19888 BLAKE2B 52b7cbe8ad77d3756f91cad0c0642548b439f3465be8152d9cc1175f55d608df8bbd9f21e82b18099fba59d39389012e023e7dc39a0ae061eed13aece99c058a SHA512 6c8a069c923a342441ab5ebce2cf8ec727b75f474c2843d0fa49b69b3e5ef4498bc0548573409203e704a84a72ebec5523f89459a144679bf1d9d5bf6e514b60
DIST wf-recorder-0.4.1.tar.xz 26184 BLAKE2B 87110d3fb8629b5cdfc2c4b50da56d19630b97ffb7e46a555099c8fca263bd1bd87fb03a497fbb5e5ac0022b31bb5c93dc4ea29785de33dd7f2adc8db74f7db2 SHA512 c97b3a0570aa5496d93b88549db6cd682e80c1497bbd6e999ab6b35f2f13adc7af167c22517fa35eab5d3021439001d0e7cfe2ee75a2ba99b9aa6953beb56aa0
+DIST wf-recorder-0.5.0.tar.xz 28348 BLAKE2B 2e0f55c61212e863782b176261d4c382cd01ec30746a2b9b35c4e14d01c57358180f63cdd91eba0caecd5dac1eb755563d341b134f5caf0055993c03e59af8ec SHA512 61bb85a57dfee0be24b49cb1ea17442692ce0b86368aac2c4f3c64672912be2737255598874f724d714c095ac1a1f7016ec42968b6020698d81ab8f804b8a8c3
EBUILD wf-recorder-0.3.0-r2.ebuild 682 BLAKE2B d37636fdb2483b6bd21ae6942d28f8da38720d6191655acf0a53e0ef490d0b63c08b01ba64fec2c23a500bf36210d12fba072129274a225c145609743cbdccb3 SHA512 664d88e828b3e7bf85e5c8a9e5ae0f1b2e88840f143d0e21ca60402dc09edf69b397cfd7406355dbe89c3cd025c29f590ebab721002b329f8eb4ffbc37a79f9a
EBUILD wf-recorder-0.4.1.ebuild 844 BLAKE2B cf43b1d949b9096667a0c31c4e822e81b6768058b58b381d28664afd34b97523dc370355030960108d5da5e175da9a20b986380570d38b4aae7456c4b55786b8 SHA512 178d118caf469b3ff9c9ebf63cfc1ed241a7e2e07c472498de1bb6560dc2c15e837fa563858b7d7e9a981bea226c32bb2efbfa89f9ea8fa28539ced8ea95aeac
-EBUILD wf-recorder-9999.ebuild 943 BLAKE2B 88d64430c9b94b56032888f60f3e8d8690285c8595ef4efaa55f0474ffdb53983f827c5e143a47897bd246cfc4ed0f0ba582d2c031f2c3a2b69dc48a5df15d13 SHA512 1eec9d1156ad6eec7758add1fa148b91f92b9261d4f9df4bff5c3d19d8a7eccde181cfed0680cfe8b04e901d8a838312e9d2d9db9ca5c28cdbaae2e0545a3d4a
+EBUILD wf-recorder-0.5.0.ebuild 1012 BLAKE2B a71b73a87e2d314607f45f41d6898a5d1a3bfb3cdd452d0a3393ccb5b8bcf368279743a219b8e9f8027dfbae578d304cd60f95bcc709cddc76ff7c89ca491afb SHA512 83bf379db19f603e0550a32e54a9b39604cf3589abfd8678e3089c3ae7f85bf4a12615993c9834db54542450449bb0d358f2c30cd97a798450632782b5a78684
+EBUILD wf-recorder-9999.ebuild 951 BLAKE2B 4bcdb2768e69df1d87b45d4878bc7010206eaf046e8c563e0607cca0155306bfc0a6d11b702609ad42604a617b3fe6177692bafb3cafa35df9069e64f977d38c SHA512 28b522051f49575c5fe36c2b811102e6aa151451d63d5a4575ad39a964b5099a9245e6966d4d977121d4d004250162d428a59fe84ac5e8a2432a8a52f2f9d198
MISC metadata.xml 694 BLAKE2B 276426a72c0663f7cb0c3196f681b59bf07ea6c0c66f1b0947ac5e8bd0b79d0a6b924f9b64160576247d25bc78c32e0bd7e1f997e86bdd20482c72ef3a7c0bb0 SHA512 6fc478b3369828e7ba50bd103ad1383d544d75cfa730ec92ce7d376405662ceeec1ad8bc62043842d6f3f37f44f0c948ee263dbd27838bcb24a5e60d9d153eea
diff --git a/gui-apps/wf-recorder/files/wf-recorder-0.5.0-fix-build-with-no-audio.patch b/gui-apps/wf-recorder/files/wf-recorder-0.5.0-fix-build-with-no-audio.patch
new file mode 100644
index 000000000000..f1a01e9c3983
--- /dev/null
+++ b/gui-apps/wf-recorder/files/wf-recorder-0.5.0-fix-build-with-no-audio.patch
@@ -0,0 +1,48 @@
+https://github.com/ammen99/wf-recorder/pull/277
+From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?=
+ <leohdz172@proton.me>
+Date: Tue, 10 Sep 2024 23:05:06 -0600
+Subject: [PATCH] fix compilation when building w/o audio support
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -611,14 +611,18 @@ static void write_loop(FrameWriterParams params)
+ uint64_t sync_timestamp = 0;
+ if (first_frame_ts.has_value()) {
+ sync_timestamp = buffer.base_usec - first_frame_ts.value();
+- } else if (pr) {
++ }
++#ifdef HAVE_AUDIO
++ else if (pr) {
+ if (!pr->get_time_base() || pr->get_time_base() > buffer.base_usec) {
+ drop = true;
+ } else {
+ first_frame_ts = pr->get_time_base();
+ sync_timestamp = buffer.base_usec - first_frame_ts.value();
+ }
+- } else {
++ }
++#endif
++ else {
+ sync_timestamp = 0;
+ first_frame_ts = buffer.base_usec;
+ }
+@@ -1136,7 +1140,11 @@ int main(int argc, char *argv[])
+ break;
+
+ case '*':
++#ifdef HAVE_AUDIO
+ audioParams.audio_backend = optarg;
++#else
++ std::cerr << "Ignoring --audio-backend. Built without audio support." << std::endl;
++#endif
+ break;
+
+ default:
+--
+2.46.2
+
diff --git a/gui-apps/wf-recorder/wf-recorder-0.5.0.ebuild b/gui-apps/wf-recorder/wf-recorder-0.5.0.ebuild
new file mode 100644
index 000000000000..14eef2e8de10
--- /dev/null
+++ b/gui-apps/wf-recorder/wf-recorder-0.5.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Screen recorder for wlroots-based compositors"
+HOMEPAGE="https://github.com/ammen99/wf-recorder"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ammen99/wf-recorder.git"
+else
+ SRC_URI="https://github.com/ammen99/wf-recorder/releases/download/v${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="pipewire pulseaudio"
+
+PATCHES=( "${FILESDIR}/${P}-fix-build-with-no-audio.patch")
+
+DEPEND="
+ dev-libs/wayland
+ media-libs/mesa[opengl,wayland]
+ media-video/ffmpeg[pulseaudio?,x264]
+ x11-libs/libdrm
+ pipewire? ( >=media-video/pipewire-1.0.5:= )
+ pulseaudio? ( media-libs/libpulse )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ dev-libs/wayland-protocols
+ dev-util/wayland-scanner
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature pulseaudio pulse)
+ $(meson_feature pipewire)
+ )
+ meson_src_configure
+}
diff --git a/gui-apps/wf-recorder/wf-recorder-9999.ebuild b/gui-apps/wf-recorder/wf-recorder-9999.ebuild
index 8dd520dcaa2e..603cbc28b67c 100644
--- a/gui-apps/wf-recorder/wf-recorder-9999.ebuild
+++ b/gui-apps/wf-recorder/wf-recorder-9999.ebuild
@@ -25,7 +25,7 @@ DEPEND="
media-libs/mesa[opengl,wayland]
media-video/ffmpeg[pulseaudio?,x264]
x11-libs/libdrm
- pipewire? ( media-video/pipewire:= )
+ pipewire? ( >=media-video/pipewire-1.0.5:= )
pulseaudio? ( media-libs/libpulse )
"
RDEPEND="${DEPEND}"