# $Id: kdenetwork4-4.4.2-r1.smage2 5178 2010-04-05 20:47:37Z niro $ PNAME="kdenetwork4" PVER="4.5.1" PBUILD="r1" PCATEGORIE="kde-base" STATE="unstable" # todo: libktorrend, kwebkitpart, mediastreamer # # kget deps: # torrent support needs qca & gmp # # kopete plugins with deps # latex: latex as runtime depend # statistics: sqlite-3 # webpresence: libxml2, libxslt # # kopete protocols with deps # gadu: openssl, libgadu # groupwise: qca-2 # irc: NO DEPS, probably will fail so inform user about it # jabber: libidn, qca-2 # jingle: speex, ortp # meanwhile: meanwhile # msn: libmsn == this is wlm plugin, we disable msn one # telepathy: net-libs/decibel # webcam support: libv4l # # disabled kopete protocols # telepathy: decibel # irc: NO DEPS # # krdc deps # krdc: jpeg, libvncserver, rdesktop # # krfb deps: # krfb: libvncserver, openslp, libXdamage # SDEPEND=">= x11-proto/scrnsaverproto-1 >= sys-apps/sed-4 == kde-base/kdebase4-${PVER} == kde-base/kdepimlibs4-${PVER} >= kde-base/qimageblitz-0.0.6 >= app-crypt/qca-2 >= app-crypt/qca-ossl-2 >= dev-db/sqlite-3.7 >= dev-libs/gmp-5.0 >= dev-libs/libpcre-8.10 >= dev-libs/libxml2-2.7 >= dev-libs/libxslt-1.1.26 >= dev-libs/openssl-1.0.0 >= dev-libs/soprano-2.5 >= dev-libs/shared-desktop-ontologies-0.5 >= media-libs/alsa-lib-1.0.23 >= media-libs/libjpeg-8 >= media-libs/libv4l-0.6.1 >= media-libs/speex-1.2_rc1 >= net-dialup/ppp-2.4.5 >= net-dns/libidn-1.19 >= net-dns/avahi-qt4-0.6.27 >= net-misc/rdesktop-1.6 >= net-libs/libgadu-1.9 >= net-libs/libmsn-4.1 >= net-libs/libotr-3.2.0 >= net-libs/libvncserver-0.9.7 >= net-libs/meanwhile-1.0.2 >= net-libs/openslp-1.2 >= net-libs/ortp-0.16.3 >= x11-libs/libXdamage-1 >= x11-libs/libXScrnSaver-1" SPLIT_PACKAGES="${PNAME}-filesharing ${PNAME}-kdnssd ${PNAME}-kget ${PNAME}-kopete ${PNAME}-kppp ${PNAME}-krdc ${PNAME}-krfb" sminclude kde4-split UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'" split_info_kdenetwork4-filesharing() { DESCRIPTION="KDE4 network file sharing." DEPEND="== kde-base/kdelibs4-${PVER}" } split_info_kdenetwork4-kdnssd() { DESCRIPTION="Zeroconf DNS-SD services." DEPEND="== kde-base/kdelibs4-${PVER} >= net-dns/avahi-qt4-0.6.27" } split_info_kdenetwork4-kget() { DESCRIPTION="An advanced download manager for KDE4." DEPEND="== kde-base/kdelibs4-${PVER} == kde-base/kdebase4-workspace-${PVER} >= app-crypt/qca-2 >= dev-db/sqlite-3.7 >= dev-libs/gmp-5 >= dev-libs/libpcre-8.10" } split_info_kdenetwork4-kopete() { DESCRIPTION="Instant Messaging client for KDE4." DEPEND="== kde-base/kdelibs4-${PVER} == kde-base/kdepimlibs4-${PVER} >= kde-base/qimageblitz-0.0.6 >= app-crypt/qca-2 >= app-crypt/qca-ossl-2 >= dev-db/sqlite-3.7 >= dev-libs/libpcre-8.10 >= dev-libs/libxml2-2.7 >= dev-libs/libxslt-1.1.26 >= dev-libs/openssl-1.0.0 >= media-libs/alsa-lib-1.0.23 >= media-libs/libjpeg-8 >= media-libs/libv4l-0.6.1 >= media-libs/speex-1.2_rc1 >= net-dns/libidn-1.19 >= net-libs/libgadu-1.9 >= net-libs/libmsn-4.1 >= net-libs/libotr-3.2.0 >= net-libs/meanwhile-1.0.2 >= net-libs/ortp-0.16.3 >= x11-libs/libXScrnSaver-1" } split_info_kdenetwork4-kppp() { DESCRIPTION="KDE4 dialer and front end for pppd." DEPEND="== kde-base/kdelibs4-${PVER} >= net-dialup/ppp-2.4.5" } split_info_kdenetwork4-krdc() { DESCRIPTION="KDE4 client for Desktop Sharing." DEPEND="== kde-base/kdelibs4-${PVER} >= media-libs/libjpeg-8 >= net-dns/avahi-qt4-0.6.27 >= net-libs/libvncserver-0.9.7 >= net-misc/rdesktop-1.6" } split_info_kdenetwork4-krfb() { DESCRIPTION="KDE4 Desktop Sharing server via VNC." DEPEND="== kde-base/kdelibs4-${PVER} >= media-libs/libjpeg-8 >= net-dns/avahi-qt4-0.6.27 >= net-libs/libvncserver-0.9.7 >= net-libs/openslp-1.2 >= x11-libs/libXdamage-1" } src_compile() { cd ${SRCDIR} local configure_common local configure_libs local configure_features # common opts configure_common="$(cmake_build kppp) \ $(cmake_enable EMBEDDED_TORRENT_SUPPORT) \ $(cmake_with plasma) \ $(cmake_with Nepomuk) \ $(cmake_with Soprano)" # libs progs configure_libs="$(cmake_with Avahi) \ $(cmake_with DNSSD) \ $(cmake_with GMP) \ $(cmake_with IDN) \ $(cmake_with JPEG) \ $(cmake_with Libgadu) \ $(cmake_with LibMeanwhile) \ $(cmake_with LibOTR) \ $(cmake_with Libmsn) \ $(cmake_with LibXml2) \ $(cmake_with LibXslt) \ $(cmake_with LibV4L2) \ $(cmake_with LibVNCServer) \ $(cmake_with OpenSSL) \ $(cmake_with QCA2) \ $(cmake_with Sqlite) \ $(cmake_with SLP) \ $(cmake_without Xmms)" # protocol and other features configure_features="$(cmake_with addbookmarks) \ $(cmake_with alias) \ $(cmake_with autoreplace) \ $(cmake_with bonjour) \ $(cmake_with contactnotes) \ $(cmake_with gadu) \ $(cmake_with groupwise) \ $(cmake_with highlight) \ $(cmake_with history) \ $(cmake_with jabber) \ $(cmake_with latex) \ $(cmake_with meanwhile) \ $(cmake_with nowlistening) \ $(cmake_with oscar) \ $(cmake_with otr) \ $(cmake_with privacy) \ $(cmake_with pipes) \ $(cmake_with qq) \ $(cmake_with sms) \ $(cmake_with statistics) \ $(cmake_with testbed) \ $(cmake_with texteffect) \ $(cmake_with translator) \ $(cmake_with urlpicpreview) \ $(cmake_with webpresence) \ $(cmake_with winpopup) \ $(cmake_with wlm) \ $(cmake_with yahoo) \ $(cmake_without irc) \ $(cmake_without msn) \ $(cmake_without telepathy)" kde4_configure ${configure_common} ${configure_libs} ${configure_features} || die mmake || die }