300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
533 B
Makefile
19 lines
533 B
Makefile
#############################################################
|
|
#
|
|
# gst-ffmpeg
|
|
#
|
|
#############################################################
|
|
|
|
GST_FFMPEG_VERSION = 0.10.11
|
|
GST_FFMPEG_SOURCE = gst-ffmpeg-$(GST_FFMPEG_VERSION).tar.bz2
|
|
GST_FFMPEG_SITE = http://gstreamer.freedesktop.org/src/gst-ffmpeg
|
|
GST_FFMPEG_INSTALL_STAGING = YES
|
|
GST_FFMPEG_DEPENDENCIES = gstreamer gst-plugins-base ffmpeg
|
|
GST_FFMPEG_CONF_OPT = --with-system-ffmpeg
|
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
GST_FFMPEG_DEPENDENCIES += bzip2
|
|
endif
|
|
|
|
$(eval $(call AUTOTARGETS))
|