1 ################################################################################
5 ################################################################################
7 GST_PLUGINS_UGLY_VERSION
= 0.10.19
8 GST_PLUGINS_UGLY_SOURCE
= gst-plugins-ugly-
$(GST_PLUGINS_UGLY_VERSION
).
tar.xz
9 GST_PLUGINS_UGLY_SITE
= http
://gstreamer.freedesktop.org
/src
/gst-plugins-ugly
10 GST_PLUGINS_UGLY_PATCH
= http
://git.alpinelinux.org
/cgit
/aports
/plain
/main
/gst-plugins-ugly0.10
/cdio-cd-text-api.patch
11 # COPYING is in fact LGPLv2.1, but all of the code is v2+
12 # (except for one test, xingmux)
13 GST_PLUGINS_UGLY_LICENSE
= LGPLv2
+, GPLv2
+ (synaesthesia
)
14 GST_PLUGINS_UGLY_LICENSE_FILES
= COPYING
16 GST_PLUGINS_UGLY_CONF_OPTS
= \
19 GST_PLUGINS_UGLY_DEPENDENCIES
= gstreamer gst-plugins-base
21 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_ASFDEMUX
),y
)
22 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-asfdemux
24 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-asfdemux
27 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC
),y
)
28 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-dvdlpcmdec
30 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-dvdlpcmdec
33 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDSUB
),y
)
34 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-dvdsub
36 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-dvdsub
39 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_IEC958
),y
)
40 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-iec958
42 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-iec958
45 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGAUDIOPARSE
),y
)
46 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-mpegaudioparse
48 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-mpegaudioparse
51 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGSTREAM
),y
)
52 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-mpegstream
54 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-mpegstream
57 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_REALMEDIA
),y
)
58 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-realmedia
60 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-realmedia
63 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_SYNAESTHESIA
),y
)
64 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-synaesthesia
66 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-synaesthesia
69 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_LAME
),y
)
70 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-lame
71 GST_PLUGINS_UGLY_DEPENDENCIES
+= lame
73 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-lame
76 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD
),y
)
77 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-mad
78 GST_PLUGINS_UGLY_DEPENDENCIES
+= libid3tag libmad
80 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-mad
83 ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC
),y
)
84 GST_PLUGINS_UGLY_CONF_OPTS
+= --enable-mpeg2dec
85 GST_PLUGINS_UGLY_DEPENDENCIES
+= libmpeg2
87 GST_PLUGINS_UGLY_CONF_OPTS
+= --disable-mpeg2dec
90 $(eval
$(autotools-package
))