summaryrefslogtreecommitdiffstats
path: root/trinity-base/krdc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
commit644110a847c5911c2eb04eb53c93031740561efc (patch)
tree9658dde1cc70b52b233957b7852f87d997e98156 /trinity-base/krdc
downloadtde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.tar.gz
tde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.zip
Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'trinity-base/krdc')
-rw-r--r--trinity-base/krdc/Manifest1
-rw-r--r--trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch41
-rw-r--r--trinity-base/krdc/krdc-3.5.13.1.ebuild28
-rw-r--r--trinity-base/krdc/krdc-9999.ebuild26
-rw-r--r--trinity-base/krdc/metadata.xml8
5 files changed, 104 insertions, 0 deletions
diff --git a/trinity-base/krdc/Manifest b/trinity-base/krdc/Manifest
new file mode 100644
index 00000000..1d49700d
--- /dev/null
+++ b/trinity-base/krdc/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch b/trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch
new file mode 100644
index 00000000..4a767d51
--- /dev/null
+++ b/trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch
@@ -0,0 +1,41 @@
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 896491f..fc04621 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -16,3 +16,12 @@ endif( )
+ # required stuff
+ find_package( TQt )
+ find_package( TDE )
++
++if( WITH_SLP )
++ check_library_exists( slp "SLPOpen" "" HAVE_SLP )
++ if( HAVE_SLP )
++ set(LIB_SLP slp )
++ else( )
++ tde_message_fatal( "openslp is required, but was not found on your system" )
++ endif( )
++endif( )
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d712390..2601743 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -49,6 +49,7 @@ option( WITH_SPEEX "Enable speex support (for jingle)" OFF )
+ option( WITH_WEBCAM "Enable webcam support (kopete/msn)" OFF )
+ option( WITH_GSM "Enable GSM SMS support (kopete/sms)" OFF )
+ option( WITH_ARTS "Enable aRts support" OFF )
++option( WITH_SLP "Enable OpenSLP support (krdc, krfb)" OFF )
+
+
+ ##### kopete protocols ##########################
+diff --git a/krdc/CMakeLists.txt b/krdc/CMakeLists.txt
+index 5451be7..47b3056 100644
+--- a/krdc/CMakeLists.txt
++++ b/krdc/CMakeLists.txt
+@@ -60,6 +60,6 @@ tde_add_executable( krdc AUTOMOC
+ maindialogbase.ui keycapturewidget.ui kservicelocator.cpp
+ keycapturedialog.cpp kremoteview.cpp smartptr.cpp hostpreferences.cpp
+ preferencesdialog.cpp maindialogwidget.cpp maindialog.cpp
+- LINK vnc-static rdp-static kdeui-shared kdnssd-shared kwalletclient-shared jpeg Xext
++ LINK vnc-static rdp-static kdeui-shared kdnssd-shared kwalletclient-shared jpeg Xext ${LIB_SLP}
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
diff --git a/trinity-base/krdc/krdc-3.5.13.1.ebuild b/trinity-base/krdc/krdc-3.5.13.1.ebuild
new file mode 100644
index 00000000..7fc8211b
--- /dev/null
+++ b/trinity-base/krdc/krdc-3.5.13.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity remote desktop connection (RDP and VNC) client"
+KEYWORDS="amd64 x86"
+IUSE="rdp slp"
+
+DEPEND="
+ dev-libs/openssl:=
+ slp? ( net-libs/openslp )
+ x11-libs/libXext"
+RDEPEND="${DEPEND}
+ rdp? ( >=net-misc/rdesktop-1.4.1 )"
+
+PATCHES=( "${FILESDIR}/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with slp SLP)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/trinity-base/krdc/krdc-9999.ebuild b/trinity-base/krdc/krdc-9999.ebuild
new file mode 100644
index 00000000..9e01fa81
--- /dev/null
+++ b/trinity-base/krdc/krdc-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity remote desktop connection (RDP and VNC) client"
+KEYWORDS=
+IUSE="rdp slp"
+
+DEPEND="
+ dev-libs/openssl:=
+ slp? ( net-libs/openslp )
+ x11-libs/libXext"
+RDEPEND="${DEPEND}
+ rdp? ( >=net-misc/rdesktop-1.4.1 )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with slp SLP)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/trinity-base/krdc/metadata.xml b/trinity-base/krdc/metadata.xml
new file mode 100644
index 00000000..6e9f5e4a
--- /dev/null
+++ b/trinity-base/krdc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>