[gnome-build-meta/abderrahim/nv-codec-headers: 4/4] core/gnome-remote-desktop.bst: enable nvenc




commit e6fdda5a5e6fa017b9b70d0511ef1dbb661fa7d9
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Wed Jan 26 09:14:46 2022 +0100

    core/gnome-remote-desktop.bst: enable nvenc
    
    Fixes #418
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1497>

 elements/core-deps/nv-codec-headers.bst | 11 +++++++++++
 elements/core/gnome-remote-desktop.bst  |  5 +----
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/elements/core-deps/nv-codec-headers.bst b/elements/core-deps/nv-codec-headers.bst
new file mode 100644
index 000000000..05e3d437e
--- /dev/null
+++ b/elements/core-deps/nv-codec-headers.bst
@@ -0,0 +1,11 @@
+kind: make
+
+sources:
+- kind: tar
+  url: github_files:FFmpeg/nv-codec-headers/releases/download/n11.1.5.1/nv-codec-headers-11.1.5.1.tar.gz
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+  make-install: make -j1 PREFIX="%{prefix}" LIBDIR="%{lib}" DESTDIR="%{install-root}" install
diff --git a/elements/core/gnome-remote-desktop.bst b/elements/core/gnome-remote-desktop.bst
index d3722d3f9..6d7dbf1ba 100644
--- a/elements/core/gnome-remote-desktop.bst
+++ b/elements/core/gnome-remote-desktop.bst
@@ -6,6 +6,7 @@ sources:
   track: master
 
 build-depends:
+- core-deps/nv-codec-headers.bst
 - freedesktop-sdk.bst:components/systemd.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
 
@@ -21,7 +22,3 @@ depends:
 - freedesktop-sdk.bst:components/libepoxy.bst
 - freedesktop-sdk.bst:components/libgudev.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
-
-variables:
-  meson-local: >-
-    -Dnvenc=false


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]