Cleanup libgtk2, and prepare for 2.15
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 18 Jan 2009 10:57:23 +0000 (10:57 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 18 Jan 2009 10:57:23 +0000 (10:57 -0000)
package/libgtk2/libgtk2.mk

index a06da31b3a32477cfce780c3b608fd7efadfe68c..9fafe241cca4f249ad06bea6672712891d153c70 100644 (file)
@@ -3,9 +3,13 @@
 # libgtk2.0
 #
 #############################################################
-LIBGTK2_VERSION = 2.12.12
+#LIBGTK2_VERSION = 2.15.0
+LIBGTK2_VERSION_MAJOR:=2.12
+LIBGTK2_VERSION_MINOR:=12
+LIBGTK2_VERSION = $(LIBGTK2_VERSION_MAJOR).$(LIBGTK2_VERSION_MINOR)
+
 LIBGTK2_SOURCE = gtk+-$(LIBGTK2_VERSION).tar.bz2
-LIBGTK2_SITE = ftp://ftp.gtk.org/pub/gtk/2.12
+LIBGTK2_SITE = ftp://ftp.gtk.org/pub/gtk/$(LIBGTK2_VERSION_MAJOR)
 LIBGTK2_AUTORECONF = NO
 LIBGTK2_INSTALL_STAGING = YES
 LIBGTK2_INSTALL_TARGET = YES
@@ -96,6 +100,10 @@ else
        LIBGTK2_CONF_OPT += --without-x
 endif
 
+# Buildroot does not support JPEG2000 library
+ifeq ($(LIBGTK2_VERSION_MAJOR),2.15)
+LIBGTK2_CONF_OPT += --without-libjasper
+endif
 
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 LIBGTK2_DEPENDENCIES += libpng