diff options
| author | Khem Raj <raj.khem@gmail.com> | 2017-03-30 13:14:40 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-05 19:28:29 +0200 |
| commit | b17f499131ea75b1a5396314dc66acaa234460b3 (patch) | |
| tree | 13699d11c84d0ba617c545de1fc4b2a19c5108dc /meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | |
| parent | 386f2eaddad00a6e76e38ebb2c9d824c9540b7e4 (diff) | |
| download | meta-openembedded-b17f499131ea75b1a5396314dc66acaa234460b3.tar.gz | |
lxdm: Find libexecinfo if its on platform
fixes build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb')
| -rw-r--r-- | meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb index 407129dde0..c98c3a1320 100644 --- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb +++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | |||
| @@ -2,13 +2,13 @@ SUMMARY = "LXDM is the lightweight display manager" | |||
| 2 | HOMEPAGE = "http://blog.lxde.org/?p=531" | 2 | HOMEPAGE = "http://blog.lxde.org/?p=531" |
| 3 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 5 | SRC_URI = " \ | 5 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ |
| 6 | ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ | 6 | file://lxdm.conf \ |
| 7 | file://lxdm.conf \ | 7 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ |
| 8 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ | 8 | ${@bb.utils.contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ |
| 9 | ${@bb.utils.contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ | 9 | file://0002-let-autotools-create-lxdm.conf.patch \ |
| 10 | file://0002-let-autotools-create-lxdm.conf.patch \ | 10 | file://0001-check-for-libexecinfo-providing-backtrace-APIs.patch \ |
| 11 | " | 11 | " |
| 12 | SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0" | 12 | SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0" |
| 13 | SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f" | 13 | SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f" |
| 14 | 14 | ||
| @@ -16,6 +16,7 @@ PE = "1" | |||
| 16 | 16 | ||
| 17 | DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango iso-codes" | 17 | DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango iso-codes" |
| 18 | DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" | 18 | DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" |
| 19 | DEPENDS_append_libc-musl = " libexecinfo" | ||
| 19 | 20 | ||
| 20 | # combine oe-core way with angstrom DISTRO_TYPE | 21 | # combine oe-core way with angstrom DISTRO_TYPE |
| 21 | DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" | 22 | DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" |
| @@ -25,6 +26,7 @@ inherit autotools pkgconfig gettext systemd distro_features_check | |||
| 25 | REQUIRED_DISTRO_FEATURES = "x11" | 26 | REQUIRED_DISTRO_FEATURES = "x11" |
| 26 | 27 | ||
| 27 | CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr " | 28 | CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr " |
| 29 | LDFLAGS_append_libc-musl = " -lexecinfo" | ||
| 28 | 30 | ||
| 29 | EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x -with-xconn=xcb \ | 31 | EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x -with-xconn=xcb \ |
| 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)} \ | 32 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)} \ |
