[Buildroot] [PATCH 1/5] ffmpeg: define license

Peter Korsgaard jacmet at uclibc.org
Wed Feb 6 22:13:23 UTC 2013


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

 Arnout> On 06/02/13 17:24, Luca Ceresoli wrote:
 >> How about making it more "automagic", such as:
 >> 
 >> ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
 >> FFMPEG_LICENSE = LGPLv2.1+, GPLv2+, libjpeg license
 >> FFMPEG_LICENSE_FILES = LICENSE COPYING.LGPLv2.1 COPYING.GPLv2
 >> else
 >> FFMPEG_LICENSE = LGPLv2.1+, libjpeg license
 >> FFMPEG_LICENSE_FILES = LICENSE COPYING.LGPLv2.1
 >> endif

 Arnout>  Sounds good to me!

Or even better:

FFMPEG_LICENSE = LGPLv2.1+, libjpeg license
FFMPEG_LICENSE_FILES = LICENSE COPYING.LGPLv2.1

ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
FFMPEG_LICENSE += GPLv2+
FFMPEG_LICENSE += COPYING.GPLv2
endif

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list