diff --git a/packages/net-misc/remmina/files/fix-share-paths.patch b/packages/net-misc/remmina/files/fix-share-paths.patch new file mode 100644 index 0000000..2a8c2f3 --- /dev/null +++ b/packages/net-misc/remmina/files/fix-share-paths.patch @@ -0,0 +1,30 @@ +Upstream: no +Reason: respect Exherbo paths + +diff --git a/data/desktop/CMakeLists.txt b/data/desktop/CMakeLists.txt +index bc7986cf..aa306bf8 100644 +--- a/data/desktop/CMakeLists.txt ++++ b/data/desktop/CMakeLists.txt +@@ -144,19 +144,19 @@ install( + # Kiosk Session Files + install( + FILES remmina-gnome-xsession.desktop +- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/xsessions ++ DESTINATION ${REMMINA_DATADIR}/xsessions + RENAME remmina-gnome.desktop + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ + ) + install( + FILES remmina-gnome.desktop +- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications ++ DESTINATION ${REMMINA_DATADIR}/applications + RENAME remmina-gnome.desktop + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ + ) + install( + FILES remmina-gnome.session +- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/gnome-session/sessions ++ DESTINATION ${REMMINA_DATADIR}/gnome-session/sessions + RENAME remmina-gnome.session + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ + ) diff --git a/packages/net-misc/remmina/remmina-1.3.6.exheres-0 b/packages/net-misc/remmina/remmina-1.4.3.exheres-0 similarity index 100% rename from packages/net-misc/remmina/remmina-1.3.6.exheres-0 rename to packages/net-misc/remmina/remmina-1.4.3.exheres-0 diff --git a/packages/net-misc/remmina/remmina.exlib b/packages/net-misc/remmina/remmina.exlib index 6c833a9..6265498 100644 --- a/packages/net-misc/remmina/remmina.exlib +++ b/packages/net-misc/remmina/remmina.exlib @@ -13,6 +13,7 @@ HOMEPAGE+=" http://remmina.org/" LICENCES="GPL-2" MYOPTIONS=" + cups ssh ( providers: libressl openssl ) [[ number-selected = exactly-one ]] " @@ -27,14 +28,18 @@ DEPENDENCIES=" dev-libs/glib:2[>=2.30] dev-libs/libgcrypt dev-libs/libsecret:1 + dev-libs/libsodium gnome-desktop/libsoup:2.4 net-libs/libvncserver - net-remote/FreeRDP + net-remote/FreeRDP[>=2.0.0] x11-libs/cairo x11-libs/gdk-pixbuf:2.0 x11-libs/gtk+:3 x11-libs/libX11 x11-libs/libxkbfile + cups? ( + net-print/cups + ) ssh? ( net-libs/libssh dev-libs/vte:2.91 @@ -45,6 +50,10 @@ DEPENDENCIES=" BUGS_TO="hasufell@posteo.de" +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}/fix-share-paths.patch" +) + CMAKE_SRC_CONFIGURE_PARAMS=( # on -DWITH_FREERDP=ON @@ -62,6 +71,7 @@ CMAKE_SRC_CONFIGURE_PARAMS=( ) CMAKE_SRC_CONFIGURE_OPTION_WITHS=( + "cups CUPS" "ssh LIBSSH" "ssh VTE" )