git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1254683 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
4cad91311b
commit
fa8a6a4aa1
@ -0,0 +1,53 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
add_subdirectory( kcmwifi )
|
||||
add_subdirectory( kwireless )
|
||||
add_subdirectory( pixmaps )
|
||||
add_subdirectory( locations )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${ARTS_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
if( WITH_ARTS )
|
||||
set( ARTS_LIBRARIES artsflow;mcop )
|
||||
endif( )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_install_icons( )
|
||||
install( FILES kwifimanagerui.rc DESTINATION ${DATA_INSTALL_DIR}/kwifimanager )
|
||||
install( FILES kwifimanager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kwifimanager (executable) #################
|
||||
|
||||
tde_add_executable( kwifimanager AUTOMOC
|
||||
SOURCES
|
||||
interface_wireless.cpp interface_wireless_wirelessextensions.cpp
|
||||
interface_dcop.skel networkscanning.cpp kwifimanager.cpp locator.cpp
|
||||
main.cpp picture.cpp speed.cpp statistics.cpp status.cpp strength.cpp
|
||||
asusled.cpp
|
||||
LINK kdeui-shared ${ARTS_LIBRARIES} ${IW_LIBRARY}
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
# check for aRts
|
||||
if( WITH_ARTS )
|
||||
pkg_search_module( ARTS arts )
|
||||
if( NOT ARTS_FOUND )
|
||||
tde_message_fatal( "aRts is requested, but was not found on your system" )
|
||||
endif( )
|
||||
else( )
|
||||
set( WITHOUT_ARTS 1 CACHE INTERNAL "" FORCE )
|
||||
endif( )
|
||||
|
||||
|
||||
# check for wireless tools
|
||||
check_library_exists( iw iw_get_stats "" HAVE_IW )
|
||||
if( HAVE_IW )
|
||||
check_include_file( iwlib.h HAVE_IWLIB_H )
|
||||
# we need at least wireless tools >= 27
|
||||
add_definitions( -DHAVE_IW_27 -DHAVE_IW_27pre19 )
|
||||
endif( )
|
||||
if( HAVE_IW AND HAVE_IWLIB_H )
|
||||
set( IW_LIBRARY iw )
|
||||
else( )
|
||||
tde_message_fatal( "wifi support needs wireless tools >= 27, but was not found on your system" )
|
||||
endif( )
|
@ -0,0 +1,38 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kcmwifi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kcm_wifi (module) #########################
|
||||
|
||||
tde_add_kpart( kcm_wifi AUTOMOC
|
||||
SOURCES
|
||||
wificonfig.cpp kcmwifi.cpp configcrypto.ui ifconfigpagebase.ui
|
||||
configpower.ui mainconfigbase.ui mainconfig.cpp ifconfigpage.cpp
|
||||
vendorconfig.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,37 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kwireless.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
|
||||
|
||||
|
||||
##### libkwireless (module) #####################
|
||||
|
||||
tde_add_kpart( libkwireless AUTOMOC
|
||||
SOURCES
|
||||
kwireless.cpp kwirelesswidget.cpp linuxwirelesswidget.cpp
|
||||
propertytablebase.ui propertytable.cpp
|
||||
LINK kdeui-shared ${IW_LIBRARY}
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES
|
||||
DE_BW_Karlsruhe_University.loc NOWHERE.loc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kwifimanager/locations )
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES
|
||||
ad_hoc.png all_alone.png ap_connect.png excellent.png good.png
|
||||
marginal.png no_card.png offline.png oor_down.png oor_minimum.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kwifimanager/pics )
|
Loading…
Reference in new issue