diff options
Diffstat (limited to 'meta-oe/recipes-graphics')
6 files changed, 24 insertions, 24 deletions
diff --git a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb index 8a4c083a4..8d3da69aa 100644 --- a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb +++ b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb | |||
@@ -31,25 +31,25 @@ do_compile() { | |||
31 | 31 | ||
32 | # Be sure to respect preferences (force to "no") | 32 | # Be sure to respect preferences (force to "no") |
33 | # Also avoid issues when ${BUILD_ARCH} == ${HOST_ARCH} | 33 | # Also avoid issues when ${BUILD_ARCH} == ${HOST_ARCH} |
34 | if [ -z "${@base_contains('PACKAGECONFIG', 'curl', 'curl', '', d)}" ]; then | 34 | if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'curl', 'curl', '', d)}" ]; then |
35 | sed -i -e '/^HAVE_LIBCURL/s/:=.*$/:= no/' ${S}/GNUmakefile | 35 | sed -i -e '/^HAVE_LIBCURL/s/:=.*$/:= no/' ${S}/GNUmakefile |
36 | fi | 36 | fi |
37 | if [ -z "${@base_contains('PACKAGECONFIG', 'gif', 'gif', '', d)}" ]; then | 37 | if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'gif', 'gif', '', d)}" ]; then |
38 | sed -i -e '/^HAVE_LIBGIF/s/:=.*$/:= no/' ${S}/GNUmakefile | 38 | sed -i -e '/^HAVE_LIBGIF/s/:=.*$/:= no/' ${S}/GNUmakefile |
39 | fi | 39 | fi |
40 | if [ -z "${@base_contains('PACKAGECONFIG', 'png', 'png', '', d)}" ]; then | 40 | if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'png', 'png', '', d)}" ]; then |
41 | sed -i -e '/^HAVE_LIBPNG/s/:=.*$/:= no/' ${S}/GNUmakefile | 41 | sed -i -e '/^HAVE_LIBPNG/s/:=.*$/:= no/' ${S}/GNUmakefile |
42 | fi | 42 | fi |
43 | if [ -z "${@base_contains('PACKAGECONFIG', 'tiff', 'tiff', '', d)}" ]; then | 43 | if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'tiff', 'tiff', '', d)}" ]; then |
44 | sed -i -e '/^HAVE_LIBTIFF/s/:=.*$/:= no/' ${S}/GNUmakefile | 44 | sed -i -e '/^HAVE_LIBTIFF/s/:=.*$/:= no/' ${S}/GNUmakefile |
45 | fi | 45 | fi |
46 | if [ -z "${@base_contains('PACKAGECONFIG', 'motif', 'motif', '', d)}" ]; then | 46 | if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'motif', 'motif', '', d)}" ]; then |
47 | sed -i -e '/^HAVE_MOTIF/s/:=.*$/:= no/' ${S}/GNUmakefile | 47 | sed -i -e '/^HAVE_MOTIF/s/:=.*$/:= no/' ${S}/GNUmakefile |
48 | fi | 48 | fi |
49 | if [ -z "${@base_contains('PACKAGECONFIG', 'webp', 'webp', '', d)}" ]; then | 49 | if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'webp', 'webp', '', d)}" ]; then |
50 | sed -i -e '/^HAVE_LIBWEBP/s/:=.*$/:= no/' ${S}/GNUmakefile | 50 | sed -i -e '/^HAVE_LIBWEBP/s/:=.*$/:= no/' ${S}/GNUmakefile |
51 | fi | 51 | fi |
52 | if [ -z "${@base_contains('PACKAGECONFIG', 'lirc', 'lirc', '', d)}" ]; then | 52 | if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'lirc', 'lirc', '', d)}" ]; then |
53 | sed -i -e '/^HAVE_LIBLIRC/s/:=.*$/:= no/' ${S}/GNUmakefile | 53 | sed -i -e '/^HAVE_LIBLIRC/s/:=.*$/:= no/' ${S}/GNUmakefile |
54 | fi | 54 | fi |
55 | 55 | ||
diff --git a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb index a64791179..29ed4d994 100644 --- a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb +++ b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "GPLv3" | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
6 | 6 | ||
7 | DEPENDS = "babl gdk-pixbuf-native libart-lgpl gtk+ jpeg libpng libexif tiff lcms gegl poppler jasper bzip2 libgudev" | 7 | DEPENDS = "babl gdk-pixbuf-native libart-lgpl gtk+ jpeg libpng libexif tiff lcms gegl poppler jasper bzip2 libgudev" |
8 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)}" | 8 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)}" |
9 | 9 | ||
10 | inherit gnome gtk-doc | 10 | inherit gnome gtk-doc |
11 | 11 | ||
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 227709251..407129dde 100644 --- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb +++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | |||
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
5 | SRC_URI = " \ | 5 | SRC_URI = " \ |
6 | ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ | 6 | ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ |
7 | file://lxdm.conf \ | 7 | file://lxdm.conf \ |
8 | ${@base_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)} \ |
9 | ${@base_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)} \ |
10 | file://0002-let-autotools-create-lxdm.conf.patch \ | 10 | file://0002-let-autotools-create-lxdm.conf.patch \ |
11 | " | 11 | " |
12 | SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0" | 12 | SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0" |
@@ -15,10 +15,10 @@ SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93 | |||
15 | PE = "1" | 15 | 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 += "${@base_contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" | 18 | DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" |
19 | 19 | ||
20 | # combine oe-core way with angstrom DISTRO_TYPE | 20 | # combine oe-core way with angstrom DISTRO_TYPE |
21 | DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" | 21 | DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" |
22 | 22 | ||
23 | inherit autotools pkgconfig gettext systemd distro_features_check | 23 | inherit autotools pkgconfig gettext systemd distro_features_check |
24 | # depends on virtual/libx11 | 24 | # depends on virtual/libx11 |
@@ -27,8 +27,8 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
27 | CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr " | 27 | CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr " |
28 | 28 | ||
29 | EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x -with-xconn=xcb \ | 29 | EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x -with-xconn=xcb \ |
30 | ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)} \ | 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)} \ |
31 | ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ | 31 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ |
32 | " | 32 | " |
33 | 33 | ||
34 | do_configure_prepend() { | 34 | do_configure_prepend() { |
@@ -48,11 +48,11 @@ do_compile_append() { | |||
48 | do_install_append() { | 48 | do_install_append() { |
49 | install -d ${D}${localstatedir}/lib/lxdm | 49 | install -d ${D}${localstatedir}/lib/lxdm |
50 | install -m 644 ${WORKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm | 50 | install -m 644 ${WORKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm |
51 | if ${@base_contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then | 51 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then |
52 | # ArchLinux version of pam config has the following advantages: | 52 | # ArchLinux version of pam config has the following advantages: |
53 | # * simple setup of passwordless login | 53 | # * simple setup of passwordless login |
54 | # * in XFCE powerdown/restart enabled in logoff dialog | 54 | # * in XFCE powerdown/restart enabled in logoff dialog |
55 | install -m 644 ${WORKDIR}/${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm | 55 | install -m 644 ${WORKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm |
56 | fi | 56 | fi |
57 | } | 57 | } |
58 | 58 | ||
@@ -70,7 +70,7 @@ done | |||
70 | sed -i "s:last_langs=.*$:last_langs=$langs:g" $D${localstatedir}/lib/lxdm/lxdm.conf | 70 | sed -i "s:last_langs=.*$:last_langs=$langs:g" $D${localstatedir}/lib/lxdm/lxdm.conf |
71 | } | 71 | } |
72 | 72 | ||
73 | RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam-plugin-loginuid', '', d)} setxkbmap bash librsvg-gtk" | 73 | RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-loginuid', '', d)} setxkbmap bash librsvg-gtk" |
74 | 74 | ||
75 | RPROVIDES_${PN} += "${PN}-systemd" | 75 | RPROVIDES_${PN} += "${PN}-systemd" |
76 | RREPLACES_${PN} += "${PN}-systemd" | 76 | RREPLACES_${PN} += "${PN}-systemd" |
diff --git a/meta-oe/recipes-graphics/slim/slim_1.3.2.bb b/meta-oe/recipes-graphics/slim/slim_1.3.2.bb index 1ae8dbbc6..71359e012 100644 --- a/meta-oe/recipes-graphics/slim/slim_1.3.2.bb +++ b/meta-oe/recipes-graphics/slim/slim_1.3.2.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | |||
5 | 5 | ||
6 | PR = "r1" | 6 | PR = "r1" |
7 | 7 | ||
8 | DEPENDS = "virtual/libx11 libxmu libpng jpeg freetype sessreg ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 8 | DEPENDS = "virtual/libx11 libxmu libpng jpeg freetype sessreg ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
9 | 9 | ||
10 | SRC_URI = " \ | 10 | SRC_URI = " \ |
11 | http://download.berlios.de/${BPN}/${BP}.tar.gz \ | 11 | http://download.berlios.de/${BPN}/${BP}.tar.gz \ |
@@ -28,7 +28,7 @@ SRC_URI[sha256sum] = "f1560125005f253b9b88220598fed7a9575ef405716862c6ca3fcc72db | |||
28 | 28 | ||
29 | 29 | ||
30 | EXTRA_OEMAKE += " \ | 30 | EXTRA_OEMAKE += " \ |
31 | USE_PAM=${@base_contains('DISTRO_FEATURES', 'pam', '1', '0', d)} \ | 31 | USE_PAM=${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)} \ |
32 | PREFIX=${prefix} \ | 32 | PREFIX=${prefix} \ |
33 | CFGDIR=${sysconfdir} \ | 33 | CFGDIR=${sysconfdir} \ |
34 | MANDIR=${mandir} \ | 34 | MANDIR=${mandir} \ |
diff --git a/meta-oe/recipes-graphics/terminus-font/terminus-font_4.38.bb b/meta-oe/recipes-graphics/terminus-font/terminus-font_4.38.bb index 337cde426..e5bea97d9 100644 --- a/meta-oe/recipes-graphics/terminus-font/terminus-font_4.38.bb +++ b/meta-oe/recipes-graphics/terminus-font/terminus-font_4.38.bb | |||
@@ -16,11 +16,11 @@ SRC_URI[sha256sum] = "f6f4876a4dabe6a37c270c20bb9e141e38fb50e0bba200e1b9d0470e5e | |||
16 | 16 | ||
17 | inherit allarch fontcache | 17 | inherit allarch fontcache |
18 | 18 | ||
19 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 19 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
20 | PACKAGECONFIG[x11] = "" | 20 | PACKAGECONFIG[x11] = "" |
21 | 21 | ||
22 | # Don't use font cache mecanism for console packages | 22 | # Don't use font cache mecanism for console packages |
23 | FONT_PACKAGES = "${@base_contains('PACKAGECONFIG', 'x11', '${PN}-pcf', '', d)}" | 23 | FONT_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '${PN}-pcf', '', d)}" |
24 | 24 | ||
25 | # Hand made configure script. Don't need oe_runconf | 25 | # Hand made configure script. Don't need oe_runconf |
26 | do_configure() { | 26 | do_configure() { |
@@ -32,11 +32,11 @@ do_configure() { | |||
32 | } | 32 | } |
33 | 33 | ||
34 | do_compile() { | 34 | do_compile() { |
35 | oe_runmake DESTDIR=${D} psf txt ${@base_contains('PACKAGECONFIG', 'x11', 'pcf', '', d)} | 35 | oe_runmake DESTDIR=${D} psf txt ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'pcf', '', d)} |
36 | } | 36 | } |
37 | 37 | ||
38 | do_install() { | 38 | do_install() { |
39 | oe_runmake DESTDIR=${D} install-psf install-acm ${@base_contains('PACKAGECONFIG', 'x11', 'install-pcf', '', d)} | 39 | oe_runmake DESTDIR=${D} install-psf install-acm ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'install-pcf', '', d)} |
40 | } | 40 | } |
41 | 41 | ||
42 | PACKAGES += "${PN}-consolefonts ${PN}-consoletrans ${PN}-pcf" | 42 | PACKAGES += "${PN}-consolefonts ${PN}-consoletrans ${PN}-pcf" |
diff --git a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb index b29d0759a..95a07d16c 100644 --- a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb +++ b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb | |||
@@ -24,7 +24,7 @@ do_install() { | |||
24 | 24 | ||
25 | install -d ${D}${sysconfdir}/default | 25 | install -d ${D}${sysconfdir}/default |
26 | 26 | ||
27 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 27 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
28 | install -d ${D}${systemd_unitdir}/system | 28 | install -d ${D}${systemd_unitdir}/system |
29 | install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm | 29 | install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm |
30 | install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system | 30 | install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system |