blob: 14fbc94b21c875db07247e45b65b7236631ef359 [file] [log] [blame]
Brad Bishopc1d34332019-09-09 14:56:00 -04001DESCRIPTION = "A feature rich Remote Desktop Application written in GTK+"
2HOMEPAGE = "https://remmina.org"
3SECTION = "Support"
4LICENSE = "GPLv2 & openssl"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769"
Brad Bishop5f78ea12019-09-10 07:20:03 -04006DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver libsecret"
Brad Bishopc1d34332019-09-09 14:56:00 -04007
Brad Bishop5f78ea12019-09-10 07:20:03 -04008DEPENDS_append_x86 = " spice spice-protocol"
9DEPENDS_append_x86-64 = " spice spice-protocol"
10
11DEPENDS_append_libc-musl = " libexecinfo"
Brad Bishopc1d34332019-09-09 14:56:00 -040012LDFLAGS_append_libc-musl = " -lexecinfo"
13
14SRC_URI = "https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/Remmina-v${PV}.tar.bz2 \
15"
16SRC_URI[md5sum] = "6da599c3a5cab2df37a70f8fba2f5438"
17SRC_URI[sha256sum] = "fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea556af1a"
18
19S = "${WORKDIR}/Remmina-v${PV}"
20
Brad Bishop8410d612019-11-25 09:40:59 -050021inherit cmake features_check
Brad Bishopa891d152019-09-13 06:17:45 -040022
23# depends on avahi-ui with this restriction
24ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Brad Bishopc1d34332019-09-09 14:56:00 -040025
Brad Bishop5f78ea12019-09-10 07:20:03 -040026EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF -DWITH_TRANSLATIONS=OFF -DWITH_SPICE=OFF"
27
28EXTRA_OECMAKE_append_x86 = " -DWITH_SPICE=ON"
29EXTRA_OECMAKE_append_x86-64 = " -DWITH_SPICE=ON"
30
Brad Bishopc1d34332019-09-09 14:56:00 -040031
32do_install_append(){
33 # We dont need the extra stuff form other desktop environments
34 rm -rf ${D}/${datadir}/xsessions
35 rm -rf ${D}/${datadir}/metainfo
36 rm -rf ${D}/${datadir}/gnome-session
37}
38
39RDEPENDS_${PN} = "bash"
40
41FILES_${PN}_append = " ${datadir}/icons/hicolor/*"