summaryrefslogtreecommitdiff
path: root/packages/imlib2
diff options
context:
space:
mode:
Diffstat (limited to 'packages/imlib2')
-rw-r--r--packages/imlib2/imlib2-1.2.0/binconfig.patch0
-rw-r--r--packages/imlib2/imlib2-1.2.0/x.patch0
-rw-r--r--packages/imlib2/imlib2_1.2.0.bb29
3 files changed, 15 insertions, 14 deletions
diff --git a/packages/imlib2/imlib2-1.2.0/binconfig.patch b/packages/imlib2/imlib2-1.2.0/binconfig.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/imlib2/imlib2-1.2.0/binconfig.patch
diff --git a/packages/imlib2/imlib2-1.2.0/x.patch b/packages/imlib2/imlib2-1.2.0/x.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/imlib2/imlib2-1.2.0/x.patch
diff --git a/packages/imlib2/imlib2_1.2.0.bb b/packages/imlib2/imlib2_1.2.0.bb
index e4b82ba619..eaa7477a19 100644
--- a/packages/imlib2/imlib2_1.2.0.bb
+++ b/packages/imlib2/imlib2_1.2.0.bb
@@ -5,30 +5,31 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
LICENSE = BSD
SECTION = "e/libs"
PRIORITY = "optional"
-DEPENDS = "freetype libpng jpeg"
-PR = "2"
+DEPENDS = "freetype libpng jpeg x11 xext"
+PR = "r4"
do_prepsources () {
- make clean distclean || true
+ make clean distclean || true
}
addtask prepsources after do_fetch before do_unpack
-SRC_URI = "${SOURCEFORGE_MIRROR}/enlightenment/imlib2-1.2.0.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/enlightenment/imlib2-1.2.0.tar.gz \
+ file://binconfig.patch;patch=1 \
+ file://x.patch;patch=1"
inherit autotools pkgconfig binconfig
-export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config"
-export EET_CONFIG = "${STAGING_BINDIR}/eet-config"
-
EXTRA_OECONF = "--disable-mmx \
- --disable-x11"
+ --with-x \
+ --x-includes=${STAGING_INCDIR} \
+ --x-libraries=${STAGING_LIBDIR}"
do_stage () {
- oe_libinstall -C src/lib libImlib2 ${STAGING_LIBDIR}/
- install -m 0644 ${S}/src/lib/Imlib2.h ${STAGING_INCDIR}/
+ oe_libinstall -C src/lib libImlib2 ${STAGING_LIBDIR}/
+ install -m 0644 ${S}/src/lib/Imlib2.h ${STAGING_INCDIR}/
}
-FILES_${PN} = "${libdir}/libImlib2*.so*"
-FILES_${PN} = "${libdir}/imlib2"
-FILES_${PN}-dev += "${bindir} ${libdir}/pkgconfig"
-
+PACKAGES += "${PN}-bin"
+FILES_${PN} = "${libdir}/lib*.so.* ${libdir}/imlib2"
+FILES_${PN}-dev += "${bindir}/imlib2-config"
+FILES_${PN}-bin = "${bindir}"