diff options
Diffstat (limited to 'libre/kdebase-runtime')
-rw-r--r-- | libre/kdebase-runtime/PKGBUILD | 70 | ||||
-rw-r--r-- | libre/kdebase-runtime/duckduckgo_html.desktop | 113 | ||||
-rw-r--r-- | libre/kdebase-runtime/duckduckgo_lite.desktop | 113 | ||||
-rw-r--r-- | libre/kdebase-runtime/kdebase-runtime.install | 13 |
4 files changed, 309 insertions, 0 deletions
diff --git a/libre/kdebase-runtime/PKGBUILD b/libre/kdebase-runtime/PKGBUILD new file mode 100644 index 000000000..6782dc11f --- /dev/null +++ b/libre/kdebase-runtime/PKGBUILD @@ -0,0 +1,70 @@ +# $Id: PKGBUILD 217060 2014-07-18 11:26:24Z svenstaro $ +# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org> +# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=kdebase-runtime +pkgver=4.14.0 +pkgrel=1.parabola1 +pkgdesc="Plugins and applications necessary for the running of KDE applications, without non-privacy search providers" +arch=('i686' 'x86_64' 'mips64el') +url='https://projects.kde.org/projects/kde/kde-runtime' +license=('GPL' 'LGPL') +replaces=("${pkgname}-libre") +conflicts=("${pkgname}-libre") +depends=("kdelibs>=${pkgver}" 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra' + 'oxygen-icons' 'xorg-xauth' 'libwebp') +makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen' + 'networkmanager' 'boost') +optdepends=('kdepimlibs: needed by DrKonqi to send crash reports to KDE.org' + 'gdb: needed by DrKonqi to generate backtrace' + 'htdig: to build the search index in the KHelpCenter' + 'rarian: needed by KHelpCenter') +install="${pkgname}.install" +source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz" + 'duckduckgo_html.desktop' + 'duckduckgo_lite.desktop') +sha1sums=('3847a9e6a66e4e724cff9230ff564c900243d4cd' + 'aa6f39f4b0ad3c110fd05cd6c41190afae9773dd' + 'ac3bac94a2c4b1444642524bc5fb539c4c5dcc5b') + +prepare() { + mkdir build +} + +build() { + cd "${srcdir}" + + # Removing non-privacy search providers + rm -v kde-runtime-${pkgver}/kurifilter-plugins/ikws/searchproviders/{7digital,acronym,amazon{,_mp3},amg,backports,baidu,bing,blip,cia,dbug,deb,duckduckgo{,_info,_shopping},facebook,ecosia,feedster,flickr,flickrcc,google,google_advanced,google_code,google_groups,google_images,google_lucky,google_maps,google_movie,google_news,imdb,jamendo,jeeves,magnatune,metacrawler,msdn,nl-telephone,nl-teletekst,python,rpmfind,tvtome,uspto,vimeo,voila,yahoo,yahoo_image,yahoo_local,yahoo_shopping,yahoo_video,youtube}.desktop + + # Adding DuckDuckGo HTML + cp -v duckduckgo_html.desktop "kde-runtime-${pkgver}/kurifilter-plugins/ikws/searchproviders" + + # Adding DuckDuckGo Lite + cp -v duckduckgo_lite.desktop "kde-runtime-${pkgver}/kurifilter-plugins/ikws/searchproviders" + + cd build + cmake ../kde-runtime-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_QNtrack=OFF \ + -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0 \ + -DWITH_NepomukCore=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + + rm "${pkgdir}"/usr/share/icons/hicolor/index.theme + + ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/" + + # FS#36668 + chown :nobody "${pkgdir}"/usr/lib/kde4/libexec/kdesud + chmod g+s "${pkgdir}"/usr/lib/kde4/libexec/kdesud +} diff --git a/libre/kdebase-runtime/duckduckgo_html.desktop b/libre/kdebase-runtime/duckduckgo_html.desktop new file mode 100644 index 000000000..ba6a602ad --- /dev/null +++ b/libre/kdebase-runtime/duckduckgo_html.desktop @@ -0,0 +1,113 @@ +[Desktop Entry] +Charset= +Hidden=false +Keys=duckduckgo,dd,dukgo +Name=Duck Duck Go HTML +Name[ar]=Duck Duck Go HTML +Name[ast]=Duck Duck Go HTML +Name[bg]=Duck Duck Go HTML +Name[bn]=Duck Duck Go HTML +Name[bs]=Dak dak go HTML +Name[ca]=Duck Duck Go HTML +Name[ca@valencia]=Duck Duck Go HTML +Name[cs]=Duck Duck Go HTML +Name[da]=Duck Duck Go HTML +Name[de]=Duck Duck Go HTML +Name[el]=Duck Duck Go HTML +Name[en_GB]=Duck Duck Go HTML +Name[eo]=Duck Duck Go HTML +Name[es]=Duck Duck Go HTML +Name[et]=Duck Duck Go HTML +Name[eu]=Duck Duck Go HTML +Name[fa]=Duck Duck Go HTML +Name[fi]=Duck Duck Go HTML +Name[fr]=Duck Duck Go HTML +Name[ga]=Duck Duck Go HTML +Name[gl]=Duck Duck Go HTML +Name[gu]=Duck Duck Go HTML +Name[he]=Duck Duck Go HTML +Name[hi]=Duck Duck Go HTML +Name[hr]=Duck Duck Go HTML +Name[hu]=Duck Duck Go HTML +Name[ia]=Duck Duck Go HTML +Name[id]=Duck Duck Go HTML +Name[is]=Duck Duck Go HTML +Name[it]=Duck Duck Go HTML +Name[ja]=Duck Duck Go HTML +Name[kk]=Duck Duck Go HTML +Name[km]=Duck Duck Go HTML +Name[kn]=Duck Duck Go HTML +Name[ko]=Duck Duck Go HTML +Name[lt]=Duck Duck Go HTML +Name[lv]=Duck Duck Go HTML +Name[ml]=Duck Duck Go HTML +Name[nb]=Duck Duck Go HTML +Name[nds]=Duck Duck Go HTML +Name[nl]=Duck Duck Go HTML +Name[nn]=Duck Duck Go HTML +Name[pa]=Duck Duck Go HTML +Name[pl]=Duck Duck Go HTML +Name[pt]=Duck Duck Go HTML +Name[pt_BR]=Duck Duck Go HTML +Name[ro]=Duck Duck Go HTML +Name[ru]=Поиск Duck Duck Go HTML +Name[si]=Duck Duck Go HTML +Name[sk]=Duck Duck Go HTML +Name[sl]=Duck Duck Go HTML +Name[sr]=Duck Duck Go HTML +Name[sr@ijekavian]=Duck Duck Go HTML +Name[sr@ijekavianlatin]=Duck Duck Go HTML +Name[sr@latin]=Duck Duck Go HTML +Name[sv]=Duck Duck Go HTML +Name[tg]=Duck Duck Go HTML +Name[th]=Duck Duck Go HTML +Name[tr]=Duck Duck Go HTML +Name[ug]=Duck Duck Go HTML +Name[uk]=Duck Duck Go HTML +Name[vi]=Duck Duck Go HTML +Name[wa]=Duck Duck Go HTML +Name[x-test]=xxDuck Duck Go HTMLxx +Name[zh_CN]=Duck Duck Go HTML +Name[zh_TW]=Duck Duck Go HTML +Query=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[bg]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[bn]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[ca]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[cs]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[da]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[de]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[el]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[eo]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[es]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[et]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[fi]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[fr]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[gl]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[hi]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[hu]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[ia]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[it]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[kk]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[km]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[nb]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[nl]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[pa]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[pl]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[pt]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[pt_BR]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[ro]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[ru]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[sl]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[sr]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[sr@ijekavian]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[sr@ijekavianlatin]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[sr@latin]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[sv]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[tr]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[uk]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[wa]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[x-test]=xxhttp://duckduckgo.com/html/?q=\\{@}&t=KDExx +Query[zh_CN]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +Query[zh_TW]=http://duckduckgo.com/html/?q=\\{@}&t=KDE +ServiceTypes=SearchProvider +Type=Service diff --git a/libre/kdebase-runtime/duckduckgo_lite.desktop b/libre/kdebase-runtime/duckduckgo_lite.desktop new file mode 100644 index 000000000..0da670dbe --- /dev/null +++ b/libre/kdebase-runtime/duckduckgo_lite.desktop @@ -0,0 +1,113 @@ +[Desktop Entry] +Charset= +Hidden=false +Keys=duckduckgolite,ddlite,dukgolite +Name=Duck Duck Go Lite +Name[ar]=Duck Duck Go Lite +Name[ast]=Duck Duck Go Lite +Name[bg]=Duck Duck Go Lite +Name[bn]=Duck Duck Go Lite +Name[bs]=Dak dak go Lite +Name[ca]=Duck Duck Go Lite +Name[ca@valencia]=Duck Duck Go Lite +Name[cs]=Duck Duck Go Lite +Name[da]=Duck Duck Go Lite +Name[de]=Duck Duck Go Lite +Name[el]=Duck Duck Go Lite +Name[en_GB]=Duck Duck Go Lite +Name[eo]=Duck Duck Go Lite +Name[es]=Duck Duck Go Lite +Name[et]=Duck Duck Go Lite +Name[eu]=Duck Duck Go Lite +Name[fa]=Duck Duck Go Lite +Name[fi]=Duck Duck Go Lite +Name[fr]=Duck Duck Go Lite +Name[ga]=Duck Duck Go Lite +Name[gl]=Duck Duck Go Lite +Name[gu]=Duck Duck Go Lite +Name[he]=Duck Duck Go Lite +Name[hi]=Duck Duck Go Lite +Name[hr]=Duck Duck Go Lite +Name[hu]=Duck Duck Go Lite +Name[ia]=Duck Duck Go Lite +Name[id]=Duck Duck Go Lite +Name[is]=Duck Duck Go Lite +Name[it]=Duck Duck Go Lite +Name[ja]=Duck Duck Go Lite +Name[kk]=Duck Duck Go Lite +Name[km]=Duck Duck Go Lite +Name[kn]=Duck Duck Go Lite +Name[ko]=Duck Duck Go Lite +Name[lt]=Duck Duck Go Lite +Name[lv]=Duck Duck Go Lite +Name[ml]=Duck Duck Go Lite +Name[nb]=Duck Duck Go Lite +Name[nds]=Duck Duck Go Lite +Name[nl]=Duck Duck Go Lite +Name[nn]=Duck Duck Go Lite +Name[pa]=Duck Duck Go Lite +Name[pl]=Duck Duck Go Lite +Name[pt]=Duck Duck Go Lite +Name[pt_BR]=Duck Duck Go Lite +Name[ro]=Duck Duck Go Lite +Name[ru]=Поиск Duck Duck Go Lite +Name[si]=Duck Duck Go Lite +Name[sk]=Duck Duck Go Lite +Name[sl]=Duck Duck Go Lite +Name[sr]=Duck Duck Go Lite +Name[sr@ijekavian]=Duck Duck Go Lite +Name[sr@ijekavianlatin]=Duck Duck Go Lite +Name[sr@latin]=Duck Duck Go Lite +Name[sv]=Duck Duck Go Lite +Name[tg]=Duck Duck Go Lite +Name[th]=Duck Duck Go Lite +Name[tr]=Duck Duck Go Lite +Name[ug]=Duck Duck Go Lite +Name[uk]=Duck Duck Go Lite +Name[vi]=Duck Duck Go Lite +Name[wa]=Duck Duck Go Lite +Name[x-test]=xxDuck Duck Go Litexx +Name[zh_CN]=Duck Duck Go Lite +Name[zh_TW]=Duck Duck Go Lite +Query=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[bg]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[bn]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[ca]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[cs]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[da]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[de]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[el]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[eo]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[es]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[et]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[fi]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[fr]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[gl]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[hi]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[hu]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[ia]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[it]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[kk]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[km]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[nb]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[nl]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[pa]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[pl]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[pt]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[pt_BR]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[ro]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[ru]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[sl]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[sr]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[sr@ijekavian]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[sr@ijekavianlatin]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[sr@latin]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[sv]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[tr]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[uk]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[wa]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[x-test]=xxhttp://duckduckgo.com/lite/?q=\\{@}&t=KDExx +Query[zh_CN]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +Query[zh_TW]=http://duckduckgo.com/lite/?q=\\{@}&t=KDE +ServiceTypes=SearchProvider +Type=Service diff --git a/libre/kdebase-runtime/kdebase-runtime.install b/libre/kdebase-runtime/kdebase-runtime.install new file mode 100644 index 000000000..c77e68041 --- /dev/null +++ b/libre/kdebase-runtime/kdebase-runtime.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |