From: Alejandro Hernandez <aehs29@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] remmina: Fix spice protocol dependency and configuration
Date: Sun, 8 Sep 2019 00:13:28 -0700 [thread overview]
Message-ID: <1567926808-15086-1-git-send-email-aehs29@gmail.com> (raw)
Spice is only compatible with x86 architectures, its dependency triggers
a build error on other archs since the build system isnt able to find a
provider for it.
Fix dependencies to only include spice when an x86 architecture is being
built, and configure the package accordingly.
Signed-off-by: Alejandro Hernandez <aehs29@gmail.com>
---
meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
index b95c400..cd6bc14 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
@@ -3,7 +3,10 @@ HOMEPAGE = "https://remmina.org"
SECTION = "Support"
LICENSE = "GPLv2 & openssl"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769"
-DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver spice spice-protocol libsecret"
+DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver libsecret"
+
+DEPENDS_append_x86 = " spice spice-protocol"
+DEPENDS_append_x86-64 = " spice spice-protocol"
DEPENDS_append_libc-musl = "libexecinfo"
LDFLAGS_append_libc-musl = " -lexecinfo"
@@ -17,7 +20,11 @@ S = "${WORKDIR}/Remmina-v${PV}"
inherit cmake
-EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF -DWITH_TRANSLATIONS=OFF"
+EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF -DWITH_TRANSLATIONS=OFF -DWITH_SPICE=OFF"
+
+EXTRA_OECMAKE_append_x86 = " -DWITH_SPICE=ON"
+EXTRA_OECMAKE_append_x86-64 = " -DWITH_SPICE=ON"
+
do_install_append(){
# We dont need the extra stuff form other desktop environments
@@ -29,5 +36,3 @@ do_install_append(){
RDEPENDS_${PN} = "bash"
FILES_${PN}_append = " ${datadir}/icons/hicolor/*"
-
-COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
--
2.7.4
reply other threads:[~2019-09-08 7:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1567926808-15086-1-git-send-email-aehs29@gmail.com \
--to=aehs29@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox