From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdEpZ-0006hu-Hf for guix-patches@gnu.org; Sat, 29 Dec 2018 08:39:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdEfH-0005TN-Ca for guix-patches@gnu.org; Sat, 29 Dec 2018 08:28:36 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdEHa-0008LP-MI for guix-patches@gnu.org; Sat, 29 Dec 2018 08:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdEHa-0006ru-GQ for guix-patches@gnu.org; Sat, 29 Dec 2018 08:04:02 -0500 Subject: [bug#33902] [PATCH] gnu: Add wlstream. Resent-Message-ID: Received: from eggs.gnu.org ([208.118.235.92]:50122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdEGa-0001UX-NQ for guix-patches@gnu.org; Sat, 29 Dec 2018 08:03:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdE0x-0006XE-1Y for guix-patches@gnu.org; Sat, 29 Dec 2018 07:47:31 -0500 Received: from mx.kolabnow.com ([95.128.36.42]:37834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdE0w-0006VE-Gz for guix-patches@gnu.org; Sat, 29 Dec 2018 07:46:50 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id E93FA626 for ; Sat, 29 Dec 2018 13:46:46 +0100 (CET) Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VtOcyl9qntqL for ; Sat, 29 Dec 2018 13:46:45 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 91F7B45A for ; Sat, 29 Dec 2018 13:46:45 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 6E50CA92 for ; Sat, 29 Dec 2018 13:46:45 +0100 (CET) Date: Sat, 29 Dec 2018 13:46:26 +0100 From: Rutger Helling Message-ID: <20181229134626.7c48f721@mykolab.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/wpFAkkwbbfactoBTSfw8FCD"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33902@debbugs.gnu.org --Sig_/wpFAkkwbbfactoBTSfw8FCD Content-Type: multipart/mixed; boundary="MP_/W9sUEB=KdIPAxgBJFjWsd1a" --MP_/W9sUEB=KdIPAxgBJFjWsd1a Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hey Guix, these patches add wlstream. It needs libdrm support in ffmpeg, which the first patch does. Tested and working under Sway with: wlstream 25 vaapi /dev/dri/renderD128 libx264rgb bgr0 12 output.mkv --MP_/W9sUEB=KdIPAxgBJFjWsd1a Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-ffmpeg-Add-libdrm-support.patch =46rom b38bdecd0dee379f50241092aab2be4b69606209 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Fri, 28 Dec 2018 20:15:22 +0100 Subject: [PATCH 1/2] gnu: ffmpeg: Add libdrm support. * gnu/packages/video.scm (ffmpeg): Add libdrm support. --- gnu/packages/video.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index ba0320548..d7675d5cd 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -701,6 +701,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, = and VC-1/VMW3).") ("libbluray" ,libbluray) ("libcaca" ,libcaca) ("libcdio-paranoia" ,libcdio-paranoia) + ("libdrm" ,libdrm) ("libtheora" ,libtheora) ("libva" ,libva) ("libvdpau" ,libvdpau) @@ -802,6 +803,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, = and VC-1/VMW3).") "--enable-libx265" "--enable-openal" "--enable-opengl" + "--enable-libdrm" =20 "--enable-runtime-cpudetect" =20 --=20 2.20.1 --MP_/W9sUEB=KdIPAxgBJFjWsd1a Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0002-gnu-Add-wlstream.patch =46rom 5593f737c1fbbc9761c3ec667539a99be0f40526 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Fri, 28 Dec 2018 20:37:01 +0100 Subject: [PATCH 2/2] gnu: Add wlstream. * gnu/packages/video.scm (wlstream): New variable. --- gnu/packages/video.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d7675d5cd..8edf3fb8c 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3286,3 +3286,31 @@ transitions, and effects and then export your film t= o many common formats.") (description "dav1d is a new AV1 cross-platform decoder, and focused on speed and correctness.") (license license:bsd-2))) + +(define-public wlstream + (let ((commit "182076a94562b128c3a97ecc53cc68905ea86838") + (revision "1")) + (package + (name "wlstream") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atomnuker/wlstream.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01qbcgfl3g9kfwn1jf1z9pdj3bvf5lmg71d1vwkcllc2az24bjqp")))) + (build-system meson-build-system) + (native-inputs `(("libdrm" ,libdrm) + ("pkg-config" ,pkg-config))) + (inputs `(("ffmpeg" ,ffmpeg) + ("pulseaudio" ,pulseaudio) + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols))) + (home-page "https://github.com/atomnuker/wlstream") + (synopsis "Record and streams from a Wayland session") + (description "Wlstream can record and streams from a Wayland session.= ") + (license license:lgpl2.1+)))) --=20 2.20.1 --MP_/W9sUEB=KdIPAxgBJFjWsd1a-- --Sig_/wpFAkkwbbfactoBTSfw8FCD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEAVThuRzJ2e93ZI3n86cn20T8yjYFAlwnbKIACgkQ86cn20T8 yjZiyAf9HGtYIHS3X2Ln3ZZTU069yCCXPUKvy1qWc1Ge0gr67RDo81ONg3eVbuKP mOB1SmbS55k/8XjgdHTrrjEm+K0ly34W+4aa2J8I8xnQqsgHf0BkM+Vb827Erhhp DyZes9R9BvYkisVs/TpRlM2VA501RiiB5ZAsQivjCobh04I19YT3MAZv3E11+T3z AFwEjePvYkG0oiGMZNCByWWaq8MI/VZZfH+BzOetAh0clxd9XsSiYaz/UKFjFszb 7ptVSyqP05QZJaXqsTxRC9X/0Y1hrSfN/C/C4GsVcJjyEi+Eg/lRjTd3/XiowyQB I2q2PXkNdZRlj9v0w/7hEjK2UkLRJg== =F+cj -----END PGP SIGNATURE----- --Sig_/wpFAkkwbbfactoBTSfw8FCD--