018843ce1b
When libexif was compiled before, libfm will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libfm.so.4.0.3 | grep NEEDED | sort 0x0000000000000001 (NEEDED) Shared library: [libc.so.1] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.1] 0x0000000000000001 (NEEDED) Shared library: [libexif.so.12] [...] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
643 B
Makefile
23 lines
643 B
Makefile
################################################################################
|
|
#
|
|
# libfm
|
|
#
|
|
################################################################################
|
|
|
|
LIBFM_VERSION = 1.2.3
|
|
LIBFM_SOURCE = libfm-$(LIBFM_VERSION).tar.xz
|
|
LIBFM_SITE = http://sourceforge.net/projects/pcmanfm/files
|
|
LIBFM_DEPENDENCIES = menu-cache libgtk2 libglib2 cairo
|
|
LIBFM_LICENSE = GPLv2+, LGPLv2.1+
|
|
LIBFM_LICENSE_FILES = COPYING src/extra/fm-xml-file.c
|
|
LIBFM_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBEXIF),y)
|
|
LIBFM_CONF_OPTS += --enable-exif
|
|
LIBFM_DEPENDENCIES += libexif
|
|
else
|
|
LIBFM_CONF_OPTS += --disable-exif
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|