Browse Source

gtk+: enhanced to be able to build without jasper (jpeg200)

karasz/new-early
Alejandro Mery 16 years ago committed by Alejandro Mery
parent
commit
623fb6b024
  1. 7
      gtk+/gtk+/gtk+.conf

7
gtk+/gtk+/gtk+.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gtk+/gtk+.conf
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2008 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -18,9 +18,10 @@
# --enable-fbmanager enable framebuffer manager support (GtkFB)
var_append confopt ' ' '--with-xinput=yes'
for x in libtiff libjpeg; do
for x in libtiff libjpeg jasper:libjasper; do
y="${x#*:}" x="${x%:*}"
if ! pkginstalled $x; then
var_append extraconfopt ' ' "--without-$x"
var_append extraconfopt ' ' "--without-$y"
fi
done

Loading…
Cancel
Save