libsm wasn't used unless libx11 was built before giflib. Therefore
drop the dependency on libsm and disable x11 unconditionally like
Debian does.
(From meta-openembedded rev:
f45774e2b07523cf45d1bb8b720f8757359bb47e)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
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.*"