![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# chocolate-doom
|
|
#
|
|
################################################################################
|
|
|
|
CHOCOLATE_DOOM_VERSION = 2.3.0
|
|
CHOCOLATE_DOOM_SITE = http://www.chocolate-doom.org/downloads/$(CHOCOLATE_DOOM_VERSION)
|
|
CHOCOLATE_DOOM_LICENSE = GPL-2.0+
|
|
CHOCOLATE_DOOM_LICENSE_FILES = COPYING
|
|
CHOCOLATE_DOOM_DEPENDENCIES = host-pkgconf sdl sdl_mixer sdl_net
|
|
|
|
# We're patching configure.ac, so we need to autoreconf
|
|
CHOCOLATE_DOOM_AUTORECONF = YES
|
|
|
|
# Avoid installing desktop entries, icons, etc.
|
|
CHOCOLATE_DOOM_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec
|
|
|
|
CHOCOLATE_DOOM_CONF_OPTS = \
|
|
--disable-sdltest \
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
CHOCOLATE_DOOM_DEPENDENCIES += libpng
|
|
CHOCOLATE_DOOM_CONF_OPTS += --with-libpng
|
|
else
|
|
CHOCOLATE_DOOM_CONF_OPTS += --without-libpng
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
|
|
CHOCOLATE_DOOM_DEPENDENCIES += libsamplerate
|
|
CHOCOLATE_DOOM_CONF_OPTS += --with-libsamplerate
|
|
else
|
|
CHOCOLATE_DOOM_CONF_OPTS += --without-libsamplerate
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|