From 644110a847c5911c2eb04eb53c93031740561efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 28 Nov 2019 02:34:44 +0100 Subject: Initial import of an ebuilds tree from Fat-Zer's (Alexander Golubev) repository. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ....1-702c180-added-openslp-support-to-cmake.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch (limited to 'trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch') 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} + ) -- cgit v1.2.1