giflib: don't link against libx11, don't depend on libsm

libsm wasn't used unless libx11 was built before giflib. Therefore
drop the dependency on libsm and disable x11 unconditionally like
Debian does.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Andreas Oberritter 2012-03-01 12:20:39 +00:00 committed by Koen Kooi
parent 9179b36a84
commit f45774e2b0

View File

@ -2,13 +2,13 @@ DESCRIPTION = "shared library for GIF images"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a"
PR = "r2"
PR = "r3"
SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.bz2"
inherit autotools
DEPENDS = "libsm"
EXTRA_OECONF = "--disable-x11"
PACKAGES += "${PN}-utils"
FILES_${PN} = "${libdir}/libgif.so.*"