After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796792 - meson: build nvdec
meson: build nvdec
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-11 21:47 UTC by Mathieu Duponchelle
Modified: 2018-11-03 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
meson: build nvdec (4.42 KB, patch)
2018-07-11 21:47 UTC, Mathieu Duponchelle
committed Details | Review

Description Mathieu Duponchelle 2018-07-11 21:47:27 UTC
See summary, pretty straightforward
Comment 1 Mathieu Duponchelle 2018-07-11 21:47:31 UTC
Created attachment 372999 [details] [review]
meson: build nvdec
Comment 2 Thibault Saunier 2018-07-11 22:22:14 UTC
Review of attachment 372999 [details] [review]:

::: meson.build
@@ +478,3 @@
 endif
 
+# CUDA

This should all go to the nvdec directory.

@@ +483,3 @@
+
+have_nvdec = false
+if cuda_prefix != ''

Should we really support that case if there is a `.pc` file?
Comment 3 Matthew Waters (ystreet00) 2018-07-12 02:21:51 UTC
(In reply to Thibault Saunier from comment #2)
> Review of attachment 372999 [details] [review] [review]:
> 
> ::: meson.build
> @@ +478,3 @@
>  endif
>  
> +# CUDA
> 
> This should all go to the nvdec directory.

I would move it to the sys/ directory/ It's also useful for nvenc.

> @@ +483,3 @@
> +
> +have_nvdec = false
> +if cuda_prefix != ''
> 
> Should we really support that case if there is a `.pc` file?

There generally isn't .pc files unless distributions patch them in.
Comment 4 Mathieu Duponchelle 2018-07-12 12:58:28 UTC
(In reply to Thibault Saunier from comment #2)
> +# CUDA
> 
> This should all go to the nvdec directory.
> 

I copied that part from configure.ac, the cuda checks are also needed by nvenc, which I didn't port, but these checks will need to be shared

> @@ +483,3 @@
> +
> +have_nvdec = false
> +if cuda_prefix != ''
> 
> Should we really support that case if there is a `.pc` file?

I don't know, I can remove that bit :)
Comment 5 GStreamer system administrator 2018-11-03 14:27:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/750.