Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 1 | DESCRIPTION = "A feature rich Remote Desktop Application written in GTK+" |
| 2 | HOMEPAGE = "https://remmina.org" |
| 3 | SECTION = "Support" |
| 4 | LICENSE = "GPLv2 & openssl" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769" |
Brad Bishop | 5f78ea1 | 2019-09-10 07:20:03 -0400 | [diff] [blame] | 6 | DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver libsecret" |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 7 | |
Brad Bishop | 5f78ea1 | 2019-09-10 07:20:03 -0400 | [diff] [blame] | 8 | DEPENDS_append_x86 = " spice spice-protocol" |
| 9 | DEPENDS_append_x86-64 = " spice spice-protocol" |
| 10 | |
| 11 | DEPENDS_append_libc-musl = " libexecinfo" |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 12 | LDFLAGS_append_libc-musl = " -lexecinfo" |
| 13 | |
| 14 | SRC_URI = "https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/Remmina-v${PV}.tar.bz2 \ |
| 15 | " |
| 16 | SRC_URI[md5sum] = "6da599c3a5cab2df37a70f8fba2f5438" |
| 17 | SRC_URI[sha256sum] = "fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea556af1a" |
| 18 | |
| 19 | S = "${WORKDIR}/Remmina-v${PV}" |
| 20 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame^] | 21 | inherit cmake features_check |
Brad Bishop | a891d15 | 2019-09-13 06:17:45 -0400 | [diff] [blame] | 22 | |
| 23 | # depends on avahi-ui with this restriction |
| 24 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 25 | |
Brad Bishop | 5f78ea1 | 2019-09-10 07:20:03 -0400 | [diff] [blame] | 26 | EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF -DWITH_TRANSLATIONS=OFF -DWITH_SPICE=OFF" |
| 27 | |
| 28 | EXTRA_OECMAKE_append_x86 = " -DWITH_SPICE=ON" |
| 29 | EXTRA_OECMAKE_append_x86-64 = " -DWITH_SPICE=ON" |
| 30 | |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 31 | |
| 32 | do_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 | |
| 39 | RDEPENDS_${PN} = "bash" |
| 40 | |
| 41 | FILES_${PN}_append = " ${datadir}/icons/hicolor/*" |