package/fltk: bump to 1.3.3
authorRomain Naour <romain.naour@openwide.fr>
Sat, 21 Feb 2015 14:56:15 +0000 (15:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 21 Feb 2015 14:58:39 +0000 (15:58 +0100)
In this release two dependencies on xlib_libXcursor
and xlib_libXfixes have been added.

See http://www.fltk.org/articles.php?L1392

Also add hash file

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/fltk/fltk.hash [new file with mode: 0644]
package/fltk/fltk.mk

diff --git a/package/fltk/fltk.hash b/package/fltk/fltk.hash
new file mode 100644 (file)
index 0000000..7b9b67d
--- /dev/null
@@ -0,0 +1,4 @@
+# From http://www.fltk.org/software.php?VERSION=1.3.3
+md5    9ccdb0d19dc104b87179bd9fd10822e3        fltk-1.3.3-source.tar.gz
+# Locally generated
+sha256 f8398d98d7221d40e77bc7b19e761adaf2f1ef8bb0c30eceb7beb4f2273d0d97        fltk-1.3.3-source.tar.gz
index 44e0f97fad4dd48b83d021e0485d3b6d2ccf3196..a629b39d3226464e5d077f890a5da22424d3f025 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FLTK_VERSION = 1.3.2
+FLTK_VERSION = 1.3.3
 FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.gz
 FLTK_SITE = http://fltk.org/pub/fltk/$(FLTK_VERSION)
 FLTK_INSTALL_STAGING = YES
@@ -20,6 +20,20 @@ FLTK_CONF_OPTS += --enable-cairo
 FLTK_DEPENDENCIES += cairo
 endif
 
+ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
+FLTK_DEPENDENCIES += xlib_libXcursor
+FLTK_CONF_OPTS += --enable-xcursor
+else
+FLTK_CONF_OPTS += --disable-xcursor
+endif
+
+ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
+FLTK_DEPENDENCIES += xlib_libXfixes
+FLTK_CONF_OPTS += --enable-xfixes
+else
+FLTK_CONF_OPTS += --disable-xfixes
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
 FLTK_CONF_ENV += ac_cv_path_FTCONFIG=$(STAGING_DIR)/usr/bin/freetype-config
 FLTK_DEPENDENCIES += xlib_libXft