gst-plugins-ugle: add option for mpeg2dec support
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 6 Oct 2010 09:48:58 +0000 (11:48 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 6 Oct 2010 09:48:58 +0000 (11:48 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/multimedia/gst-plugins-ugly/Config.in
package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk

diff --git a/CHANGES b/CHANGES
index a8bd69939d17f2de1c06b111f510563722d9c0fc..1f80097a3e52ef7d77b59834502d6fff455e72ec 100644 (file)
--- a/CHANGES
+++ b/CHANGES
        bootutils, bridge-utils, bsdiff, busybox, cvs, dbus, dmraid,
        docker, dosfstools, dropbear, e2fsprogs, expat, ezxml, fbset,
        fconfig, ffmpeg, freetype, gadgetfs-test, gamin, gawk, gperf,
-       gtk2-themes, gtkperf, gvfs, haserl, hdparm, hostapd, hwdata,
-       ifplugd, imagemagick, iperf, ipsec-tools, iproute2, iptables,
-       iw, jpeg, kexec, kismet, less, libcgi, libcurl, libdaemon,
-       libdnet, liberation, libevent, libeXosip2, libglade, libgtk2,
-       libiconv, libidn, libintl, libmms, libnl, liboil, libosip2,
-       libpcap, libpng, libtool, libungif, libxml2, libxslt,
-       lighttpd, lite, lm-sensors, lockfile-progs, logrotate, m4,
-       mdadm, mesa3d, metacity, mtd-utils, mysql_client, nano, nbd,
-       ncftp, neon, netperf, netsnmp, ng-spice-rework, ntfsprogs,
-       ntp, openntpd, openssh, openvpn, oprofile, pango, patch, pcre,
-       php, pkg-config, prboom, radvd, rdesktop, ruby, qt, quagga,
-       samba, sawman, sdl_mixer, sdl_sound, setserial,
-       shared-mime-info, speex, sqlite, squashfs, strace, sylpheed,
-       taglib, tcpdump, thttpd, tiff, tn5250, udev, udpcast,
-       usbmount, usbutils, vsftpd, vtun, which, wpa_supplicant,
-       xapp_twm, xapp_xbacklight,
+       gst-plugins-ugly, gtk2-themes, gtkperf, gvfs, haserl, hdparm,
+       hostapd, hwdata, ifplugd, imagemagick, iperf, ipsec-tools,
+       iproute2, iptables, iw, jpeg, kexec, kismet, less, libcgi,
+       libcurl, libdaemon, libdnet, liberation, libevent, libeXosip2,
+       libglade, libgtk2, libiconv, libidn, libintl, libmms, libnl,
+       liboil, libosip2, libpcap, libpng, libtool, libungif, libxml2,
+       libxslt, lighttpd, lite, lm-sensors, lockfile-progs,
+       logrotate, m4, mdadm, mesa3d, metacity, mtd-utils,
+       mysql_client, nano, nbd, ncftp, neon, netperf, netsnmp,
+       ng-spice-rework, ntfsprogs, ntp, openntpd, openssh, openvpn,
+       oprofile, pango, patch, pcre, php, pkg-config, prboom, radvd,
+       rdesktop, ruby, qt, quagga, samba, sawman, sdl_mixer,
+       sdl_sound, setserial, shared-mime-info, speex, sqlite,
+       squashfs, strace, sylpheed, taglib, tcpdump, thttpd, tiff,
+       tn5250, udev, udpcast, usbmount, usbutils, vsftpd, vtun,
+       which, wpa_supplicant, xapp_twm, xapp_xbacklight,
        xdriver_xf86-input-{acecad,aiptek,evdev,joystick,keyboard},
        xdriver-xf86-input-{mouse,synaptics,vmmouse,void},
        xdriver-xf86-video-{apm,ark,ast,ati,chips,cirrus,dummy,fbdev},
index 190c4d882715a3f11a6fd7401a518f79330e1462..9f738cf175bf88d0b0fbcc793fa8349b2b6d4f57 100644 (file)
@@ -47,4 +47,8 @@ config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD
        select BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_ID3TAG
        select BR2_PACKAGE_LIBMAD
 
+config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC
+       bool "mpeg2dec"
+       select BR2_PACKAGE_LIBMPEG2
+
 endif
index c87451fdf7e9a9bc1dcb365a7e51abcb9cfc9fe1..fc2fcffe73f82f137b3c0b885660e7cc43d4d968 100644 (file)
@@ -75,4 +75,11 @@ else
 GST_PLUGINS_UGLY_CONF_OPT += --disable-mad
 endif
 
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
+GST_PLUGINS_UGLY_CONF_OPT += --enable-mpeg2dec
+GST_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
+else
+GST_PLUGINS_UGLY_CONF_OPT += --disable-mpeg2dec
+endif
+
 $(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-ugly))