2014-11-21 16:33:09 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libfm
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-04-29 21:09:03 +02:00
|
|
|
LIBFM_VERSION = 1.3.0.2
|
2014-11-21 16:33:09 +01:00
|
|
|
LIBFM_SOURCE = libfm-$(LIBFM_VERSION).tar.xz
|
|
|
|
LIBFM_SITE = http://sourceforge.net/projects/pcmanfm/files
|
2016-07-23 15:31:24 +02:00
|
|
|
LIBFM_DEPENDENCIES = menu-cache libglib2 cairo
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBFM_LICENSE = GPL-2.0+, LGPL-2.1+
|
2014-11-21 16:33:09 +01:00
|
|
|
LIBFM_LICENSE_FILES = COPYING src/extra/fm-xml-file.c
|
|
|
|
LIBFM_INSTALL_STAGING = YES
|
2018-04-29 21:09:03 +02:00
|
|
|
# We're patching src/modules/Makefile.am
|
|
|
|
LIBFM_AUTORECONF = YES
|
2014-11-21 16:33:09 +01:00
|
|
|
|
2016-02-21 11:51:25 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBEXIF),y)
|
|
|
|
LIBFM_CONF_OPTS += --enable-exif
|
|
|
|
LIBFM_DEPENDENCIES += libexif
|
|
|
|
else
|
|
|
|
LIBFM_CONF_OPTS += --disable-exif
|
|
|
|
endif
|
|
|
|
|
2016-07-23 15:31:24 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
|
|
|
LIBFM_CONF_OPTS += --with-gtk=3
|
|
|
|
LIBFM_DEPENDENCIES += libgtk3
|
|
|
|
else
|
|
|
|
LIBFM_CONF_OPTS += --with-gtk=2
|
|
|
|
LIBFM_DEPENDENCIES += libgtk2
|
|
|
|
endif
|
|
|
|
|
2014-11-21 16:33:09 +01:00
|
|
|
$(eval $(autotools-package))
|