mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-02 05:33:57 -09:00
Since 1.7.5: - imlib2-config is dropped. pkgconfig is used since. - release tarballs are delivered in .xz instead of .bz2 Changelog: https://git.enlightenment.org/old/legacy-imlib2/src/tag/v1.12.5/ChangeLog Signed-off-by: Pierre-Yves Kerbrat <pkerbrat@free.fr> [Julien: reorder hashes] Signed-off-by: Julien Olivain <ju.o@free.fr>
61 lines
1.5 KiB
Makefile
61 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# imlib2
|
|
#
|
|
################################################################################
|
|
|
|
IMLIB2_VERSION = 1.12.5
|
|
IMLIB2_SOURCE = imlib2-$(IMLIB2_VERSION).tar.xz
|
|
IMLIB2_SITE = http://downloads.sourceforge.net/project/enlightenment/imlib2-src/$(IMLIB2_VERSION)
|
|
IMLIB2_LICENSE = Imlib2
|
|
IMLIB2_LICENSE_FILES = COPYING COPYING-PLAIN
|
|
IMLIB2_CPE_ID_VENDOR = enlightenment
|
|
|
|
IMLIB2_INSTALL_STAGING = YES
|
|
IMLIB2_DEPENDENCIES = host-pkgconf freetype
|
|
IMLIB2_CONF_OPTS = --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config
|
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_X),y)
|
|
IMLIB2_CONF_OPTS += --with-x
|
|
IMLIB2_DEPENDENCIES += xlib_libX11 xlib_libXext
|
|
else
|
|
IMLIB2_CONF_OPTS += --without-x
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_JPEG),y)
|
|
IMLIB2_CONF_OPTS += --with-jpeg
|
|
IMLIB2_DEPENDENCIES += jpeg
|
|
else
|
|
IMLIB2_CONF_OPTS += --without-jpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_PNG),y)
|
|
IMLIB2_CONF_OPTS += --with-png
|
|
IMLIB2_DEPENDENCIES += libpng
|
|
else
|
|
IMLIB2_CONF_OPTS += --without-png
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_GIF),y)
|
|
IMLIB2_CONF_OPTS += --with-gif
|
|
IMLIB2_DEPENDENCIES += giflib
|
|
else
|
|
IMLIB2_CONF_OPTS += --without-gif
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_TIFF),y)
|
|
IMLIB2_CONF_OPTS += --with-tiff
|
|
IMLIB2_DEPENDENCIES += tiff
|
|
else
|
|
IMLIB2_CONF_OPTS += --without-tiff
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_ID3),y)
|
|
IMLIB2_CONF_OPTS += --with-id3
|
|
IMLIB2_DEPENDENCIES += libid3tag
|
|
else
|
|
IMLIB2_CONF_OPTS += --without-id3
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|