1 ################################################################################
5 ################################################################################
7 GST1_PLUGINS_UGLY_VERSION
= 1.10.4
8 GST1_PLUGINS_UGLY_SOURCE
= gst-plugins-ugly-
$(GST1_PLUGINS_UGLY_VERSION
).
tar.xz
9 GST1_PLUGINS_UGLY_SITE
= https
://gstreamer.freedesktop.org
/src
/gst-plugins-ugly
10 GST1_PLUGINS_UGLY_LICENSE_FILES
= COPYING
11 # GPL licensed plugins will append to GST1_PLUGINS_UGLY_LICENSE if enabled.
12 GST1_PLUGINS_UGLY_LICENSE
= LGPLv2.1
+
14 GST1_PLUGINS_UGLY_CONF_OPTS
= --disable-examples
--disable-valgrind
16 GST1_PLUGINS_UGLY_CONF_OPTS
+= \
24 GST1_PLUGINS_UGLY_DEPENDENCIES
= gstreamer1 gst1-plugins-base
26 ifeq ($(BR2_PACKAGE_ORC
),y
)
27 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-orc
28 GST1_PLUGINS_UGLY_DEPENDENCIES
+= orc
31 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX
),y
)
32 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-asfdemux
34 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-asfdemux
37 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC
),y
)
38 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-dvdlpcmdec
40 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-dvdlpcmdec
43 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB
),y
)
44 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-dvdsub
46 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-dvdsub
49 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGL1_PLUGIN_XINGMUX
),y
)
50 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-xingmux
52 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-xingmux
55 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA
),y
)
56 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-realmedia
58 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-realmedia
61 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD
),y
)
62 # configure does not use pkg-config to detect libdvdread
63 ifeq ($(BR2_PACKAGE_LIBDVDCSS
)$(BR2_STATIC_LIBS
),yy
)
64 GST1_PLUGINS_UGLY_CONF_ENV
+= LIBS
="-ldvdcss"
66 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-dvdread
67 GST1_PLUGINS_UGLY_DEPENDENCIES
+= libdvdread
68 GST1_PLUGINS_UGLY_HAS_GPL_LICENSE
= y
70 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-dvdread
73 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_LAME
),y
)
74 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-lame
75 GST1_PLUGINS_UGLY_DEPENDENCIES
+= lame
77 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-lame
80 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD
),y
)
81 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-mad
82 GST1_PLUGINS_UGLY_DEPENDENCIES
+= libid3tag libmad
83 GST1_PLUGINS_UGLY_HAS_GPL_LICENSE
= y
85 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-mad
88 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPG123
),y
)
89 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-mpg123
90 GST1_PLUGINS_UGLY_DEPENDENCIES
+= mpg123
92 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-mpg123
95 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC
),y
)
96 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-mpeg2dec
97 GST1_PLUGINS_UGLY_DEPENDENCIES
+= libmpeg2
98 GST1_PLUGINS_UGLY_HAS_GPL_LICENSE
= y
100 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-mpeg2dec
103 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264
),y
)
104 GST1_PLUGINS_UGLY_CONF_OPTS
+= --enable-x264
105 GST1_PLUGINS_UGLY_DEPENDENCIES
+= x264
106 GST1_PLUGINS_UGLY_HAS_GPL_LICENSE
= y
108 GST1_PLUGINS_UGLY_CONF_OPTS
+= --disable-x264
111 # Add GPL license if GPL plugins enabled.
112 ifeq ($(GST1_PLUGINS_UGLY_HAS_GPL_LICENSE
),y
)
113 GST1_PLUGINS_UGLY_LICENSE
+= GPLv2
116 # Use the following command to extract license info for plugins.
117 # # find . -name 'plugin-*.xml' | xargs grep license
119 $(eval
$(autotools-package
))