1 ################################################################################
5 ################################################################################
7 CHOCOLATE_DOOM_VERSION
= 2.3.0
8 CHOCOLATE_DOOM_SITE
= http
://www.chocolate-doom.org
/downloads
/$(CHOCOLATE_DOOM_VERSION
)
9 CHOCOLATE_DOOM_LICENSE
= GPLv2
+
10 CHOCOLATE_DOOM_LICENSE_FILES
= COPYING
11 CHOCOLATE_DOOM_DEPENDENCIES
= host-pkgconf sdl sdl_mixer sdl_net
13 # We're patching configure.ac, so we need to autoreconf
14 CHOCOLATE_DOOM_AUTORECONF
= YES
16 # Avoid installing desktop entries, icons, etc.
17 CHOCOLATE_DOOM_INSTALL_TARGET_OPTS
= DESTDIR
=$(TARGET_DIR
) install-exec
19 CHOCOLATE_DOOM_CONF_OPTS
= \
21 --with-sdl-prefix
=$(STAGING_DIR
)/usr \
22 --with-sdl-exec-prefix
=$(STAGING_DIR
)/usr
24 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
25 CHOCOLATE_DOOM_DEPENDENCIES
+= libpng
26 CHOCOLATE_DOOM_CONF_OPTS
+= --with-libpng
28 CHOCOLATE_DOOM_CONF_OPTS
+= --without-libpng
31 ifeq ($(BR2_PACKAGE_LIBSAMPLERATE
),y
)
32 CHOCOLATE_DOOM_DEPENDENCIES
+= libsamplerate
33 CHOCOLATE_DOOM_CONF_OPTS
+= --with-libsamplerate
35 CHOCOLATE_DOOM_CONF_OPTS
+= --without-libsamplerate
38 $(eval
$(autotools-package
))