blob: c611b9135b27adc23cdacf8836941601f5d2a86f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# vi:si:et:sw=4:sts=4:ts=4:syntax=python
# -*- Mode: Python -*-
class Package(custom.GStreamer, package.Package):
name = 'gstreamer-1.0-system'
shortdesc = 'GStreamer 1.0 system plugins'
longdesc = 'GStreamer 1.0 system plugins'
uuid = 'fe9b6b9e-0817-4a2f-9838-44e1d9377435'
deps = ['gstreamer-1.0-core']
files = ['gst-plugins-base-1.0:plugins_sys', 'gst-plugins-good-1.0:plugins_sys',
'gst-plugins-ugly-1.0:plugins_sys', 'gst-plugins-bad-1.0:plugins_sys',
'graphene:libs']
files_devel = ['gst-plugins-base-1.0:plugins_sys_devel',
'gst-plugins-good-1.0:plugins_sys_devel',
'gst-plugins-ugly-1.0:plugins_sys_devel',
'gst-plugins-bad-1.0:plugins_sys_devel']
platform_files = {
Platform.IOS : ['moltenvk:libs'],
Platform.DARWIN : ['moltenvk:libs'],
}
def prepare(self):
if self.config.variants.cdparanoia:
self.files += ['cdparanoia:libs']
if self.config.variants.uwp:
self.files.remove('graphene:libs')
if self.config.target_arch in (Architecture.X86, Architecture.X86_64, Architecture.ARM64, Architecture.UNIVERSAL):
self.files.append('angle-uwp:libs')
self.files_devel.append('angle-uwp:headers')
if self.config.variants.rust:
self.files.append('gst-plugins-rs:plugins_sys')
self.files_devel.append('gst-plugins-rs:plugins_sys_devel')
|