public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: kde-apps/konq-plugins/, kde-apps/kquitapp/, kde-apps/libkeduvocdocument/, ...
@ 2016-01-12 22:25 Manuel Rüger
  0 siblings, 0 replies; only message in thread
From: Manuel Rüger @ 2016-01-12 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     886f8c4512c8a262928a6cd02bbeae6a636e9cba
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Tue Jan 12 21:32:50 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 22:25:03 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=886f8c45

kde-apps: Applications 15.12.1 version bump

Package-Manager: portage-2.2.26

 .../akonadi-calendar-15.12.1.ebuild                |  45 +++++
 .../akonadi-contact/akonadi-contact-15.12.1.ebuild |  64 ++++++
 kde-apps/akonadi-mime/akonadi-mime-15.12.1.ebuild  |  54 +++++
 .../akonadi-notes/akonadi-notes-15.12.1.ebuild     |  44 +++++
 .../akonadi-search/akonadi-search-15.12.1.ebuild   |  35 ++++
 .../akonadi-socialutils-15.12.1.ebuild             |  46 +++++
 kde-apps/akonadi/akonadi-15.12.1.ebuild            |  98 +++++++++
 kde-apps/analitza/analitza-15.12.1.ebuild          |  51 +++++
 kde-apps/ark/ark-15.12.1.ebuild                    |  61 ++++++
 kde-apps/artikulate/artikulate-15.12.1.ebuild      |  33 ++++
 kde-apps/attica/attica-15.12.1.ebuild              |  17 ++
 kde-apps/audiocd-kio/audiocd-kio-15.12.1.ebuild    |  33 ++++
 .../baloo-widgets/baloo-widgets-15.12.1.ebuild     |  27 +++
 kde-apps/blinken/blinken-15.12.1.ebuild            |  34 ++++
 kde-apps/bomber/bomber-15.12.1.ebuild              |  29 +++
 kde-apps/bovo/bovo-15.12.1.ebuild                  |  31 +++
 .../calendarsupport/calendarsupport-15.12.1.ebuild |  59 ++++++
 kde-apps/cantor/cantor-15.12.1.ebuild              |  92 +++++++++
 kde-apps/cervisia/cervisia-15.12.1.ebuild          |  17 ++
 .../composereditor/composereditor-15.12.1.ebuild   |  50 +++++
 .../dolphin-plugins/dolphin-plugins-15.12.1.ebuild |  75 +++++++
 kde-apps/dolphin/dolphin-15.12.1.ebuild            |  87 ++++++++
 kde-apps/dragon/dragon-15.12.1.ebuild              |  38 ++++
 kde-apps/drkonqi/drkonqi-15.12.1.ebuild            |  25 +++
 kde-apps/eventviews/eventviews-15.12.1.ebuild      |  56 ++++++
 kde-apps/ffmpegthumbs/ffmpegthumbs-15.12.1.ebuild  |  20 ++
 kde-apps/filelight/filelight-15.12.1.ebuild        |  30 +++
 kde-apps/gpgmepp/gpgmepp-15.12.1.ebuild            |  20 ++
 kde-apps/granatier/granatier-15.12.1.ebuild        |  31 +++
 .../grantleetheme/grantleetheme-15.12.1.ebuild     |  40 ++++
 kde-apps/gwenview/gwenview-15.12.1.ebuild          |  89 +++++++++
 .../incidenceeditor/incidenceeditor-15.12.1.ebuild |  67 +++++++
 kde-apps/jovie/jovie-15.12.1.ebuild                |  18 ++
 kde-apps/juk/juk-15.12.1.ebuild                    |  27 +++
 kde-apps/kaccessible/kaccessible-15.12.1.ebuild    |  21 ++
 .../kaccounts-integration-15.12.1.ebuild           |  38 ++++
 .../kaccounts-providers-15.12.1.ebuild             |  34 ++++
 .../kaddressbookgrantlee-15.12.1.ebuild            |  55 ++++++
 kde-apps/kajongg/kajongg-15.12.1.ebuild            |  37 ++++
 kde-apps/kalarmcal/kalarmcal-15.12.1.ebuild        |  24 +++
 kde-apps/kalgebra/kalgebra-15.12.1.ebuild          |  47 +++++
 kde-apps/kalzium/kalzium-15.12.1.ebuild            |  48 +++++
 kde-apps/kamera/kamera-15.12.1.ebuild              |  29 +++
 kde-apps/kanagram/kanagram-15.12.1.ebuild          |  37 ++++
 kde-apps/kapman/kapman-15.12.1.ebuild              |  29 +++
 kde-apps/kapptemplate/kapptemplate-15.12.1.ebuild  |  35 ++++
 kde-apps/kate/kate-15.12.1.ebuild                  |  64 ++++++
 kde-apps/katomic/katomic-15.12.1.ebuild            |  31 +++
 kde-apps/kblackbox/kblackbox-15.12.1.ebuild        |  31 +++
 kde-apps/kblocks/kblocks-15.12.1.ebuild            |  30 +++
 kde-apps/kblog/kblog-15.12.1.ebuild                |  26 +++
 kde-apps/kbounce/kbounce-15.12.1.ebuild            |  34 ++++
 kde-apps/kbreakout/kbreakout-15.12.1.ebuild        |  32 +++
 kde-apps/kbruch/kbruch-15.12.1.ebuild              |  25 +++
 kde-apps/kcachegrind/kcachegrind-15.12.1.ebuild    |  18 ++
 kde-apps/kcalc/kcalc-15.12.1.ebuild                |  37 ++++
 kde-apps/kcalcore/kcalcore-15.12.1.ebuild          |  28 +++
 kde-apps/kcalutils/kcalutils-15.12.1.ebuild        |  34 ++++
 kde-apps/kcharselect/kcharselect-15.12.1.ebuild    |  27 +++
 kde-apps/kcmshell/kcmshell-15.12.1.ebuild          |  12 ++
 .../kcolorchooser/kcolorchooser-15.12.1.ebuild     |  12 ++
 kde-apps/kcontacts/kcontacts-15.12.1.ebuild        |  34 ++++
 kde-apps/kcontrol/kcontrol-15.12.1.ebuild          |  26 +++
 kde-apps/kcron/kcron-15.12.1.ebuild                |  27 +++
 .../kde-apps-meta/kde-apps-meta-15.12.1.ebuild     |  36 ++++
 .../kde-dev-scripts/kde-dev-scripts-15.12.1.ebuild |  26 +++
 .../kde-dev-utils/kde-dev-utils-15.12.1.ebuild     |  11 ++
 kde-apps/kde-l10n/kde-l10n-15.12.1.ebuild          | 119 +++++++++++
 kde-apps/kde4-l10n/kde4-l10n-15.12.1.ebuild        | 157 +++++++++++++++
 .../kdeaccessibility-meta-15.12.1.ebuild           |  19 ++
 .../kdeadmin-meta/kdeadmin-meta-15.12.1.ebuild     |  18 ++
 kde-apps/kdebase-data/kdebase-data-15.12.1.ebuild  |  38 ++++
 .../kdebase-desktoptheme-15.12.1.ebuild            |  13 ++
 .../kdebase-kioslaves-15.12.1.ebuild               |  51 +++++
 .../kdebase-menu-icons-15.12.1.ebuild              |  13 ++
 kde-apps/kdebase-menu/kdebase-menu-15.12.1.ebuild  |  13 ++
 kde-apps/kdebase-meta/kdebase-meta-15.12.1.ebuild  |  28 +++
 .../kdebase-runtime-meta-15.12.1.ebuild            |  56 ++++++
 kde-apps/kdebugdialog/kdebugdialog-15.12.1.ebuild  |  13 ++
 kde-apps/kdeedu-data/kdeedu-data-15.12.1.ebuild    |  15 ++
 kde-apps/kdeedu-meta/kdeedu-meta-15.12.1.ebuild    |  41 ++++
 .../kdegames-meta/kdegames-meta-15.12.1.ebuild     |  58 ++++++
 .../kdegraphics-meta-15.12.1.ebuild                |  32 +++
 .../kdegraphics-mobipocket-15.12.1.ebuild          |  11 ++
 .../kdemultimedia-meta-15.12.1.ebuild              |  28 +++
 .../kdenetwork-filesharing-15.12.1.ebuild          |  30 +++
 .../kdenetwork-meta/kdenetwork-meta-15.12.1.ebuild |  23 +++
 kde-apps/kdenlive/kdenlive-15.12.1.ebuild          |  67 +++++++
 kde-apps/kdepasswd/kdepasswd-15.12.1.ebuild        |  21 ++
 .../kdepim-kioslaves-15.12.1.ebuild                |  49 +++++
 kde-apps/kdepim-l10n/kdepim-l10n-15.12.1.ebuild    | 139 +++++++++++++
 kde-apps/kdepim-meta/kdepim-meta-15.12.1.ebuild    |  71 +++++++
 .../kdepim-runtime/kdepim-runtime-15.12.1.ebuild   |  80 ++++++++
 kde-apps/kdepim/kdepim-15.12.1.ebuild              | 218 +++++++++++++++++++++
 .../kdesdk-kioslaves-15.12.1.ebuild                |  31 +++
 kde-apps/kdesdk-meta/kdesdk-meta-15.12.1.ebuild    |  29 +++
 .../kdesdk-strigi-analyzer-15.12.1.ebuild          |  21 ++
 .../kdesdk-thumbnailers-15.12.1.ebuild             |  22 +++
 kde-apps/kdesu/kdesu-15.12.1.ebuild                |  26 +++
 .../kdeutils-meta/kdeutils-meta-15.12.1.ebuild     |  29 +++
 .../kdewebdev-meta/kdewebdev-meta-15.12.1.ebuild   |  19 ++
 kde-apps/kdf/kdf-15.12.1.ebuild                    |  13 ++
 kde-apps/kdgantt2/kdgantt2-15.12.1.ebuild          |  34 ++++
 kde-apps/kdialog/kdialog-15.12.1.ebuild            |  12 ++
 kde-apps/kdiamond/kdiamond-15.12.1.ebuild          |  33 ++++
 .../kdontchangethehostname-15.12.1.ebuild          |  16 ++
 .../keditbookmarks/keditbookmarks-15.12.1.ebuild   |  22 +++
 .../keditfiletype/keditfiletype-15.12.1.ebuild     |  15 ++
 kde-apps/kfile/kfile-15.12.1.ebuild                |  12 ++
 kde-apps/kfilereplace/kfilereplace-15.12.1.ebuild  |  14 ++
 kde-apps/kfind/kfind-15.12.1.ebuild                |  19 ++
 kde-apps/kfloppy/kfloppy-15.12.1.ebuild            |  16 ++
 kde-apps/kfmclient/kfmclient-15.12.1.ebuild        |  34 ++++
 kde-apps/kfourinline/kfourinline-15.12.1.ebuild    |  34 ++++
 kde-apps/kgeography/kgeography-15.12.1.ebuild      |  35 ++++
 kde-apps/kget/kget-15.12.1.ebuild                  |  40 ++++
 kde-apps/kglobalaccel/kglobalaccel-15.12.1.ebuild  |  21 ++
 kde-apps/kgoldrunner/kgoldrunner-15.12.1.ebuild    |  24 +++
 kde-apps/kgpg/kgpg-15.12.1.ebuild                  |  30 +++
 kde-apps/khangman/khangman-15.12.1.ebuild          |  36 ++++
 kde-apps/kholidays/kholidays-15.12.1.ebuild        |  17 ++
 kde-apps/kiconfinder/kiconfinder-15.12.1.ebuild    |  12 ++
 .../kidentitymanagement-15.12.1.ebuild             |  32 +++
 kde-apps/kig/kig-15.12.1.ebuild                    |  59 ++++++
 kde-apps/kigo/kigo-15.12.1.ebuild                  |  19 ++
 kde-apps/killbots/killbots-15.12.1.ebuild          |  30 +++
 .../kimagemapeditor/kimagemapeditor-15.12.1.ebuild |  15 ++
 kde-apps/kimap/kimap-15.12.1.ebuild                |  25 +++
 kde-apps/kimgio/kimgio-15.12.1.ebuild              |  15 ++
 kde-apps/kio-extras/kio-extras-15.12.1.ebuild      |  83 ++++++++
 kde-apps/kioclient/kioclient-15.12.1.ebuild        |  12 ++
 kde-apps/kiriki/kiriki-15.12.1.ebuild              |  33 ++++
 kde-apps/kiten/kiten-15.12.1.ebuild                |  32 +++
 kde-apps/kjumpingcube/kjumpingcube-15.12.1.ebuild  |  33 ++++
 kde-apps/kldap/kldap-15.12.1.ebuild                |  25 +++
 kde-apps/klettres/klettres-15.12.1.ebuild          |  31 +++
 kde-apps/klickety/klickety-15.12.1.ebuild          |  33 ++++
 kde-apps/klines/klines-15.12.1.ebuild              |  34 ++++
 kde-apps/klinkstatus/klinkstatus-15.12.1.ebuild    |  37 ++++
 kde-apps/kmag/kmag-15.12.1.ebuild                  |  17 ++
 kde-apps/kmahjongg/kmahjongg-15.12.1.ebuild        |  23 +++
 .../kmailtransport/kmailtransport-15.12.1.ebuild   |  35 ++++
 kde-apps/kmbox/kmbox-15.12.1.ebuild                |  17 ++
 kde-apps/kmime/kmime-15.12.1.ebuild                |  25 +++
 .../kmimetypefinder/kmimetypefinder-15.12.1.ebuild |  12 ++
 kde-apps/kmines/kmines-15.12.1.ebuild              |  47 +++++
 kde-apps/kmix/kmix-15.12.1.ebuild                  |  54 +++++
 kde-apps/kmousetool/kmousetool-15.12.1.ebuild      |  17 ++
 kde-apps/kmouth/kmouth-15.12.1.ebuild              |  14 ++
 kde-apps/kmplot/kmplot-15.12.1.ebuild              |  35 ++++
 kde-apps/knavalbattle/knavalbattle-15.12.1.ebuild  |  38 ++++
 kde-apps/knetattach/knetattach-15.12.1.ebuild      |  13 ++
 kde-apps/knetwalk/knetwalk-15.12.1.ebuild          |  40 ++++
 kde-apps/knewstuff/knewstuff-15.12.1.ebuild        |  12 ++
 kde-apps/knotify/knotify-15.12.1.ebuild            |  12 ++
 kde-apps/kolf/kolf-15.12.1.ebuild                  |  20 ++
 kde-apps/kollision/kollision-15.12.1.ebuild        |  29 +++
 kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild    |  25 +++
 kde-apps/kommander/kommander-15.12.1.ebuild        |  15 ++
 kde-apps/kompare/kompare-15.12.1.ebuild            |  37 ++++
 kde-apps/konq-plugins/konq-plugins-15.12.1.ebuild  |  32 +++
 kde-apps/konqueror/konqueror-15.12.1.ebuild        |  61 ++++++
 kde-apps/konquest/konquest-15.12.1.ebuild          |  20 ++
 kde-apps/konsole/konsole-15.12.1.ebuild            |  57 ++++++
 .../kontactinterface-15.12.1.ebuild                |  27 +++
 kde-apps/kopete/kopete-15.12.1.ebuild              | 167 ++++++++++++++++
 .../kpasswdserver/kpasswdserver-15.12.1.ebuild     |  15 ++
 kde-apps/kpat/kpat-15.12.1.ebuild                  |  46 +++++
 kde-apps/kpimtextedit/kpimtextedit-15.12.1.ebuild  |  35 ++++
 kde-apps/kppp/kppp-15.12.1.ebuild                  |  17 ++
 .../kqtquickcharts/kqtquickcharts-15.12.1.ebuild   |  14 ++
 kde-apps/kquitapp/kquitapp-15.12.1.ebuild          |  12 ++
 kde-apps/krdc/krdc-15.12.1.ebuild                  |  36 ++++
 kde-apps/kreadconfig/kreadconfig-15.12.1.ebuild    |  12 ++
 .../kremotecontrol/kremotecontrol-15.12.1.ebuild   |  18 ++
 kde-apps/kreversi/kreversi-15.12.1.ebuild          |  20 ++
 kde-apps/krfb/krfb-15.12.1.ebuild                  |  42 ++++
 .../kross-interpreters-15.12.1.ebuild              |  26 +++
 kde-apps/kruler/kruler-15.12.1.ebuild              |  39 ++++
 kde-apps/ksaneplugin/ksaneplugin-15.12.1.ebuild    |  16 ++
 kde-apps/kscd/kscd-15.12.1.ebuild                  |  19 ++
 kde-apps/kshisen/kshisen-15.12.1.ebuild            |  32 +++
 kde-apps/ksirk/ksirk-15.12.1.ebuild                |  23 +++
 kde-apps/ksnakeduel/ksnakeduel-15.12.1.ebuild      |  16 ++
 kde-apps/kspaceduel/kspaceduel-15.12.1.ebuild      |  20 ++
 kde-apps/ksquares/ksquares-15.12.1.ebuild          |  32 +++
 kde-apps/kstars/kstars-15.12.1.ebuild              |  67 +++++++
 kde-apps/kstart/kstart-15.12.1.ebuild              |  12 ++
 kde-apps/ksudoku/ksudoku-15.12.1.ebuild            |  30 +++
 kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild      |  63 ++++++
 kde-apps/kteatime/kteatime-15.12.1.ebuild          |  31 +++
 kde-apps/ktimer/ktimer-15.12.1.ebuild              |  29 +++
 kde-apps/ktimezoned/ktimezoned-15.12.1.ebuild      |  12 ++
 kde-apps/ktnef/ktnef-15.12.1.ebuild                |  23 +++
 kde-apps/ktouch/ktouch-15.12.1.ebuild              |  19 ++
 .../ktp-accounts-kcm-15.12.1.ebuild                |  61 ++++++
 kde-apps/ktp-approver/ktp-approver-15.12.1.ebuild  |  31 +++
 .../ktp-auth-handler-15.12.1.ebuild                |  41 ++++
 .../ktp-common-internals-15.12.1.ebuild            |  82 ++++++++
 .../ktp-contact-list-15.12.1.ebuild                |  46 +++++
 .../ktp-contact-runner-15.12.1.ebuild              |  32 +++
 .../ktp-desktop-applets-15.12.1.ebuild             |  26 +++
 .../ktp-filetransfer-handler-15.12.1.ebuild        |  29 +++
 .../ktp-kded-module/ktp-kded-module-15.12.1.ebuild |  43 ++++
 kde-apps/ktp-l10n/ktp-l10n-15.12.1.ebuild          | 135 +++++++++++++
 .../ktp-send-file/ktp-send-file-15.12.1.ebuild     |  37 ++++
 kde-apps/ktp-text-ui/ktp-text-ui-15.12.1.ebuild    |  48 +++++
 .../ktraderclient/ktraderclient-15.12.1.ebuild     |  12 ++
 kde-apps/ktuberling/ktuberling-15.12.1.ebuild      |  39 ++++
 kde-apps/kturtle/kturtle-15.12.1.ebuild            |  32 +++
 kde-apps/kubrick/kubrick-15.12.1.ebuild            |  21 ++
 kde-apps/kuiserver/kuiserver-15.12.1.ebuild        |  12 ++
 .../kurifilter-plugins-15.12.1.ebuild              |  15 ++
 kde-apps/kuser/kuser-15.12.1.ebuild                |  21 ++
 kde-apps/kwalletd/kwalletd-15.12.1.ebuild          |  33 ++++
 .../kwalletmanager/kwalletmanager-15.12.1.ebuild   |  42 ++++
 kde-apps/kwordquiz/kwordquiz-15.12.1.ebuild        |  36 ++++
 kde-apps/kwrite/kwrite-15.12.1.ebuild              |  43 ++++
 kde-apps/libakonadi/libakonadi-15.12.1.ebuild      |  80 ++++++++
 .../libfollowupreminder-15.12.1.ebuild             |  37 ++++
 kde-apps/libgravatar/libgravatar-15.12.1.ebuild    |  39 ++++
 kde-apps/libkcddb/libkcddb-15.12.1.ebuild          |  41 ++++
 .../libkcompactdisc/libkcompactdisc-15.12.1.ebuild |  18 ++
 kde-apps/libkdcraw/libkdcraw-15.12.1.ebuild        |  18 ++
 kde-apps/libkdeedu/libkdeedu-15.12.1.ebuild        |  15 ++
 kde-apps/libkdegames/libkdegames-15.12.1.ebuild    |  51 +++++
 kde-apps/libkdepim/libkdepim-15.12.1.ebuild        |  57 ++++++
 .../libkdepimdbusinterfaces-15.12.1.ebuild         |  39 ++++
 .../libkeduvocdocument-15.12.1.ebuild              |  21 ++
 kde-apps/libkexiv2/libkexiv2-15.12.1.ebuild        |  18 ++
 kde-apps/libkface/libkface-15.12.1.ebuild          |  32 +++
 kde-apps/libkgeomap/libkgeomap-15.12.1.ebuild      |  35 ++++
 kde-apps/libkipi/libkipi-15.12.1.ebuild            |  27 +++
 kde-apps/libkleo/libkleo-15.12.1.ebuild            |  45 +++++
 kde-apps/libkmahjongg/libkmahjongg-15.12.1.ebuild  |  27 +++
 .../libkomparediff2/libkomparediff2-15.12.1.ebuild |  25 +++
 kde-apps/libkonq/libkonq-15.12.1.ebuild            |  19 ++
 kde-apps/libksane/libksane-15.12.1.ebuild          |  27 +++
 kde-apps/libksieve/libksieve-15.12.1.ebuild        |  46 +++++
 kde-apps/libsendlater/libsendlater-15.12.1.ebuild  |  38 ++++
 kde-apps/lokalize/lokalize-15.12.1.ebuild          |  65 ++++++
 kde-apps/lskat/lskat-15.12.1.ebuild                |  20 ++
 kde-apps/mailcommon/mailcommon-15.12.1.ebuild      |  66 +++++++
 kde-apps/mailimporter/mailimporter-15.12.1.ebuild  |  43 ++++
 kde-apps/marble/marble-15.12.1.ebuild              |  75 +++++++
 .../messagecomposer/messagecomposer-15.12.1.ebuild |  52 +++++
 kde-apps/messagecore/messagecore-15.12.1.ebuild    |  45 +++++
 kde-apps/messagelist/messagelist-15.12.1.ebuild    |  50 +++++
 .../messageviewer/messageviewer-15.12.1.ebuild     |  74 +++++++
 .../mplayerthumbs/mplayerthumbs-15.12.1.ebuild     |  23 +++
 kde-apps/noteshared/noteshared-15.12.1.ebuild      |  53 +++++
 kde-apps/nsplugins/nsplugins-15.12.1.ebuild        |  30 +++
 kde-apps/okteta/okteta-15.12.1.ebuild              |  51 +++++
 kde-apps/okular/okular-15.12.1.ebuild              |  59 ++++++
 kde-apps/palapeli/palapeli-15.12.1.ebuild          |  16 ++
 kde-apps/parley/parley-15.12.1.ebuild              |  47 +++++
 kde-apps/phonon-kde/phonon-kde-15.12.1.ebuild      |  36 ++++
 kde-apps/picmi/picmi-15.12.1.ebuild                |  34 ++++
 kde-apps/pimcommon/pimcommon-15.12.1.ebuild        |  77 ++++++++
 kde-apps/plasma-apps/plasma-apps-15.12.1.ebuild    |  18 ++
 .../plasma-runtime/plasma-runtime-15.12.1.ebuild   |  22 +++
 .../plasma-telepathy-meta-15.12.1.ebuild           |  42 ++++
 kde-apps/poxml/poxml-15.12.1.ebuild                |  18 ++
 .../print-manager/print-manager-15.12.1.ebuild     |  54 +++++
 .../renamedlg-plugins-15.12.1.ebuild               |  13 ++
 kde-apps/rocs/rocs-15.12.1.ebuild                  |  53 +++++
 .../signon-kwallet-extension-15.12.1.ebuild        |  18 ++
 .../solid-runtime/solid-runtime-15.12.1.ebuild     |  30 +++
 kde-apps/spectacle/spectacle-15.12.1.ebuild        |  44 +++++
 kde-apps/step/step-15.12.1.ebuild                  |  66 +++++++
 kde-apps/svgpart/svgpart-15.12.1.ebuild            |  11 ++
 kde-apps/sweeper/sweeper-15.12.1.ebuild            |  14 ++
 kde-apps/syndication/syndication-15.12.1.ebuild    |  22 +++
 .../templateparser/templateparser-15.12.1.ebuild   |  53 +++++
 kde-apps/thumbnailers/thumbnailers-15.12.1.ebuild  |  25 +++
 kde-apps/umbrello/umbrello-15.12.1.ebuild          |  51 +++++
 .../zeroconf-ioslave-15.12.1.ebuild                |  11 ++
 277 files changed, 10043 insertions(+)

diff --git a/kde-apps/akonadi-calendar/akonadi-calendar-15.12.1.ebuild b/kde-apps/akonadi-calendar/akonadi-calendar-15.12.1.ebuild
new file mode 100644
index 0000000..ad4562f
--- /dev/null
+++ b/kde-apps/akonadi-calendar/akonadi-calendar-15.12.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library for akonadi calendar integration"
+LICENSE="GPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcalutils)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"

diff --git a/kde-apps/akonadi-contact/akonadi-contact-15.12.1.ebuild b/kde-apps/akonadi-contact/akonadi-contact-15.12.1.ebuild
new file mode 100644
index 0000000..e07e9e4
--- /dev/null
+++ b/kde-apps/akonadi-contact/akonadi-contact-15.12.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST=true
+KMNAME=kdepimlibs
+inherit kde5
+
+DESCRIPTION="Library for akonadi contact integration"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE="prison"
+
+# some akonadi tests time out, that probably needs more work as it's ~700 tests
+RESTRICT="test"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kmime)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+	prison? ( media-libs/prison:5 )
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!kde-apps/kdepimlibs
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package prison KF5Prison)
+		$(cmake-utils_use_build test TESTING)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/akonadi-mime/akonadi-mime-15.12.1.ebuild b/kde-apps/akonadi-mime/akonadi-mime-15.12.1.ebuild
new file mode 100644
index 0000000..6f7d076
--- /dev/null
+++ b/kde-apps/akonadi-mime/akonadi-mime-15.12.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST=true
+KMNAME=kdepimlibs
+inherit kde5
+
+DESCRIPTION="Library for akonadi mime types"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+# some akonadi tests time out, that probably needs more work as it's ~700 tests
+RESTRICT="test"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep kmime)
+	dev-libs/libxslt
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	x11-misc/shared-mime-info
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!kde-apps/kdepimlibs
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_build test TESTING)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/akonadi-notes/akonadi-notes-15.12.1.ebuild b/kde-apps/akonadi-notes/akonadi-notes-15.12.1.ebuild
new file mode 100644
index 0000000..57a6122
--- /dev/null
+++ b/kde-apps/akonadi-notes/akonadi-notes-15.12.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST=true
+KMNAME=kdepimlibs
+inherit kde5
+
+DESCRIPTION="Library for akonadi notes integration"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+# some akonadi tests time out, that probably needs more work as it's ~700 tests
+RESTRICT="test"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep ki18n)
+	$(add_kdeapps_dep kmime)
+	dev-qt/qtgui:5
+	dev-qt/qtxml:5
+"
+DEPEND="${COMMON_DEPEND}
+	$(add_kdeapps_dep libakonadi)
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!kde-apps/kdepimlibs
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_build test TESTING)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/akonadi-search/akonadi-search-15.12.1.ebuild b/kde-apps/akonadi-search/akonadi-search-15.12.1.ebuild
new file mode 100644
index 0000000..d61be74
--- /dev/null
+++ b/kde-apps/akonadi-search/akonadi-search-15.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="Libraries and daemons to implement searching in Akonadi"
+HOMEPAGE="https://projects.kde.org/projects/playground/pim/akonadi-search"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep krunner)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	>=dev-libs/xapian-1.3:=[chert]
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}
+	dev-libs/boost
+"

diff --git a/kde-apps/akonadi-socialutils/akonadi-socialutils-15.12.1.ebuild b/kde-apps/akonadi-socialutils/akonadi-socialutils-15.12.1.ebuild
new file mode 100644
index 0000000..bff99a4
--- /dev/null
+++ b/kde-apps/akonadi-socialutils/akonadi-socialutils-15.12.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST=true
+KMNAME=kdepimlibs
+inherit kde5
+
+DESCRIPTION="Library for social utils integration"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+# some akonadi tests time out, that probably needs more work as it's ~700 tests
+RESTRICT="test"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/qtgui:5
+	x11-misc/shared-mime-info
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!kde-apps/kdepimlibs
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_build test TESTING)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/akonadi/akonadi-15.12.1.ebuild b/kde-apps/akonadi/akonadi-15.12.1.ebuild
new file mode 100644
index 0000000..f7157a2
--- /dev/null
+++ b/kde-apps/akonadi/akonadi-15.12.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TESTS=true
+VIRTUALDBUS_TEST=true
+inherit kde5
+
+DESCRIPTION="Storage service for PIM data"
+HOMEPAGE="https://pim.kde.org/akonadi"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE="+mysql postgres sqlite test"
+
+REQUIRED_USE="|| ( sqlite mysql postgres )"
+
+CDEPEND="
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsql:5[mysql?,postgres?]
+	dev-qt/qttest:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	x11-misc/shared-mime-info
+	sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="${CDEPEND}
+	dev-libs/libxslt
+	test? ( sys-apps/dbus )
+"
+RDEPEND="${CDEPEND}
+	mysql? ( virtual/mysql )
+	postgres? ( dev-db/postgresql )
+	!app-office/akonadi-server
+"
+
+PATCHES=( "${FILESDIR}/${PN}-15.12-mysql56-crash.patch" )
+
+pkg_setup() {
+	# Set default storage backend in order: MySQL, SQLite PostgreSQL
+	# reverse driver check to keep the order
+	if use postgres; then
+		DRIVER="QPSQL"
+		AVAILABLE+=" ${DRIVER}"
+	fi
+
+	if use sqlite; then
+		DRIVER="QSQLITE3"
+		AVAILABLE+=" ${DRIVER}"
+	fi
+
+	if use mysql; then
+		DRIVER="QMYSQL"
+		AVAILABLE+=" ${DRIVER}"
+	fi
+
+	# Notify about MySQL is recommend by upstream
+	if use sqlite || has_version "<${CATEGORY}/${P}[sqlite]"; then
+		ewarn
+		ewarn "We strongly recommend you change your Akonadi database backend to MySQL in your"
+		ewarn "user configuration. This is the backend recommended by KDE upstream."
+		ewarn "In particular, kde-apps/kmail-4.10 does not work properly with the sqlite"
+		ewarn "backend anymore."
+		ewarn "You can select the backend in your ~/.config/akonadi/akonadiserverrc."
+		ewarn "Available drivers are:${AVAILABLE}"
+		ewarn
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+		-DAKONADI_BUILD_QSQLITE=$(usex sqlite)
+	)
+
+	kde5_src_configure
+}
+
+src_install() {
+	# Who knows, maybe it accidentally fixes our permission issues
+	cat <<-EOF > "${T}"/akonadiserverrc
+[%General]
+Driver=${DRIVER}
+EOF
+	insinto /usr/share/config/akonadi
+	doins "${T}"/akonadiserverrc
+
+	kde5_src_install
+}
+
+pkg_postinst() {
+	elog "${DRIVER} has been set as your default akonadi storage backend."
+	elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
+	elog "Available drivers are: ${AVAILABLE}"
+}

diff --git a/kde-apps/analitza/analitza-15.12.1.ebuild b/kde-apps/analitza/analitza-15.12.1.ebuild
new file mode 100644
index 0000000..d54bffe
--- /dev/null
+++ b/kde-apps/analitza/analitza-15.12.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE library for mathematical features"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="eigen opengl"
+
+DEPEND="
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	eigen? ( dev-cpp/eigen:3 )
+	opengl? (
+		dev-qt/qtopengl:5
+		virtual/opengl
+	)
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	# Nothing is installed
+	sed -i \
+		-e "/add_subdirectory(examples)/ s/^/#DONT/" \
+		analitzaplot/CMakeLists.txt || die
+
+	if ! use test ; then
+		sed -i \
+			-e "/add_subdirectory(tests)/ s/^/#DONT/" \
+			analitza{,gui,plot}/CMakeLists.txt || die
+	fi
+
+	kde5_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package eigen Eigen3)
+		$(cmake-utils_use_find_package opengl OpenGL)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/ark/ark-15.12.1.ebuild b/kde-apps/ark/ark-15.12.1.ebuild
new file mode 100644
index 0000000..f9d195b
--- /dev/null
+++ b/kde-apps/ark/ark-15.12.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE Archiving tool"
+HOMEPAGE="https://www.kde.org/applications/utilities/ark
+https://utils.kde.org/projects/ark"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="bzip2 lzma zlib"
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep khtml)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kpty)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	>=app-arch/libarchive-3.0.0[bzip2?,lzma?,zlib?]
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package bzip2 BZip2)
+		$(cmake-utils_use_find_package lzma LibLZMA)
+		$(cmake-utils_use_find_package test Qt5Test)
+		$(cmake-utils_use_find_package zlib ZLIB)
+	)
+
+	kde5_src_configure
+}
+
+pkg_postinst() {
+	kde5_pkg_postinst
+
+	if ! has_version app-arch/rar ; then
+		elog "For creating rar archives, install app-arch/rar"
+	fi
+}

diff --git a/kde-apps/artikulate/artikulate-15.12.1.ebuild b/kde-apps/artikulate/artikulate-15.12.1.ebuild
new file mode 100644
index 0000000..ebf30fb
--- /dev/null
+++ b/kde-apps/artikulate/artikulate-15.12.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+QT_MINIMAL="5.5.0"
+inherit kde5
+
+DESCRIPTION="Language learning application that helps improving pronunciation skills"
+HOMEPAGE="https://edu.kde.org/applications/language/artikulate"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtsql:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	dev-qt/qtxmlpatterns:5
+	>=media-libs/qt-gstreamer-1.2.0[qt5]
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/attica/attica-15.12.1.ebuild b/kde-apps/attica/attica-15.12.1.ebuild
new file mode 100644
index 0000000..5064b39
--- /dev/null
+++ b/kde-apps/attica/attica-15.12.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="Open Collaboration Services provider management"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	dev-libs/libattica
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/audiocd-kio/audiocd-kio-15.12.1.ebuild b/kde-apps/audiocd-kio/audiocd-kio-15.12.1.ebuild
new file mode 100644
index 0000000..219f9f5
--- /dev/null
+++ b/kde-apps/audiocd-kio/audiocd-kio-15.12.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE kioslaves from the kdemultimedia package"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug flac vorbis"
+
+DEPEND="
+	$(add_kdeapps_dep libkcddb)
+	$(add_kdeapps_dep libkcompactdisc)
+	media-sound/cdparanoia
+	flac? ( >=media-libs/flac-1.1.2 )
+	vorbis? (
+		media-libs/libogg
+		media-libs/libvorbis
+	)
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with flac)
+		$(cmake-utils_use_with vorbis OggVorbis)
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/baloo-widgets/baloo-widgets-15.12.1.ebuild b/kde-apps/baloo-widgets/baloo-widgets-15.12.1.ebuild
new file mode 100644
index 0000000..71d4be6
--- /dev/null
+++ b/kde-apps/baloo-widgets/baloo-widgets-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="Widget library for baloo"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep baloo)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kfilemetadata)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+	!kde-base/baloo-widgets
+"

diff --git a/kde-apps/blinken/blinken-15.12.1.ebuild b/kde-apps/blinken/blinken-15.12.1.ebuild
new file mode 100644
index 0000000..d914a16
--- /dev/null
+++ b/kde-apps/blinken/blinken-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE version of the Simon Says game"
+HOMEPAGE="https://www.kde.org/applications/education/blinken
+https://edu.kde.org/blinken"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+	kde5_src_install
+
+	rm "${D}"/usr/share/${PN}/README.packagers
+}

diff --git a/kde-apps/bomber/bomber-15.12.1.ebuild b/kde-apps/bomber/bomber-15.12.1.ebuild
new file mode 100644
index 0000000..14f1262
--- /dev/null
+++ b/kde-apps/bomber/bomber-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE arcade bombing game"
+HOMEPAGE="https://www.kde.org/applications/games/bomber/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/bovo/bovo-15.12.1.ebuild b/kde-apps/bovo/bovo-15.12.1.ebuild
new file mode 100644
index 0000000..4578c78
--- /dev/null
+++ b/kde-apps/bovo/bovo-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Five-in-a-row Board Game"
+HOMEPAGE="https://www.kde.org/applications/games/bovo/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtconcurrent:5
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS HISTORY TODO )

diff --git a/kde-apps/calendarsupport/calendarsupport-15.12.1.ebuild b/kde-apps/calendarsupport/calendarsupport-15.12.1.ebuild
new file mode 100644
index 0000000..bd532fb
--- /dev/null
+++ b/kde-apps/calendarsupport/calendarsupport-15.12.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Calendar support library"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep akonadi)
+	$(add_kdeapps_dep akonadi-calendar)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcalutils)
+	$(add_kdeapps_dep kholidays)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep libkdepimdbusinterfaces)
+	$(add_kdeapps_dep pimcommon)
+	dev-libs/libical
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/cantor/cantor-15.12.1.ebuild b/kde-apps/cantor/cantor-15.12.1.ebuild
new file mode 100644
index 0000000..88eaab6
--- /dev/null
+++ b/kde-apps/cantor/cantor-15.12.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+PYTHON_COMPAT=( python2_7 )
+# FIXME: PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+inherit kde5 python-r1
+
+DESCRIPTION="Interface for doing mathematics and scientific computing"
+HOMEPAGE="https://www.kde.org/applications/education/cantor https://edu.kde.org/cantor"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="analitza lua postscript python qalculate +R"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
+# FIXME: $(python_gen_cond_dep 'dev-qt/qtdbus:5' 'python3*')
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kpty)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	dev-qt/qtxmlpatterns:5
+	analitza? ( $(add_kdeapps_dep analitza) )
+	lua? ( dev-lang/luajit:2 )
+	qalculate? (
+		sci-libs/cln
+		sci-libs/libqalculate
+	)
+	postscript? ( app-text/libspectre )
+	python? ( ${PYTHON_DEPS} )
+	R? ( dev-lang/R )
+"
+DEPEND="${RDEPEND}
+	>=dev-cpp/eigen-2.0.3:2
+"
+
+RESTRICT="test"
+
+pkg_setup() {
+	use python && python_setup
+	kde5_pkg_setup
+}
+
+src_prepare() {
+	# FIXME: shipped FindPythonLibs3.cmake does not work for Gentoo
+	sed -e '/^find_package(PythonLibs3)/ s/^/#/' \
+		-i src/backends/CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package analitza Analitza5)
+		$(cmake-utils_use_find_package lua LuaJIT)
+		$(cmake-utils_use_find_package postscript LibSpectre)
+		$(cmake-utils_use_find_package python PythonLibs)
+		$(cmake-utils_use_find_package qalculate)
+		$(cmake-utils_use_find_package R)
+	)
+	kde5_src_configure
+}
+
+pkg_postinst() {
+	kde5_pkg_postinst
+
+	if ! use analitza && ! use lua && ! use python && ! use qalculate && ! use R; then
+		echo
+		ewarn "You have decided to build ${PN} with no backend."
+		ewarn "To have this application functional, please do one of below:"
+		ewarn "    # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'lua', 'python', 'qalculate' or 'R' USE flag enabled"
+		ewarn "    # emerge -vaDu sci-mathematics/maxima"
+		echo
+	fi
+}

diff --git a/kde-apps/cervisia/cervisia-15.12.1.ebuild b/kde-apps/cervisia/cervisia-15.12.1.ebuild
new file mode 100644
index 0000000..2b2f282
--- /dev/null
+++ b/kde-apps/cervisia/cervisia-15.12.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="A KDE CVS frontend"
+HOMEPAGE="https://www.kde.org/applications/development/cervisia"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	dev-vcs/cvs
+"

diff --git a/kde-apps/composereditor/composereditor-15.12.1.ebuild b/kde-apps/composereditor/composereditor-15.12.1.ebuild
new file mode 100644
index 0000000..3a9b028
--- /dev/null
+++ b/kde-apps/composereditor/composereditor-15.12.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="${PN}-ng"
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Composer editor for KDE PIM"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kdewebkit)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep pimcommon)
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${MY_PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${MY_PN}"
+fi

diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-15.12.1.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-15.12.1.ebuild
new file mode 100644
index 0000000..46dccee
--- /dev/null
+++ b/kde-apps/dolphin-plugins/dolphin-plugins-15.12.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="false"
+inherit kde5
+
+DESCRIPTION="Extra Dolphin plugins"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="bazaar dropbox git mercurial subversion"
+
+# FIXME: required in root CMakeLists.txt, but:
+# kdelibs4support only required by git?
+# kxmlgui, qtnetwork only required by dropbox?
+COMMON_DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep dolphin)
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	git? (
+		$(add_frameworks_dep kcompletion)
+		$(add_frameworks_dep kconfig)
+		$(add_frameworks_dep ktextwidgets)
+	)
+	mercurial? (
+		$(add_frameworks_dep kcompletion)
+		$(add_frameworks_dep kconfig)
+		$(add_frameworks_dep kservice)
+		$(add_frameworks_dep ktexteditor)
+		$(add_frameworks_dep ktextwidgets)
+		$(add_frameworks_dep kwidgetsaddons)
+	)
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	$(add_kdeapps_dep kompare)
+	bazaar? ( dev-vcs/bzr )
+	dropbox? ( net-misc/dropbox-cli )
+	git? ( dev-vcs/git )
+	subversion? ( dev-vcs/subversion )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_build bazaar)
+		$(cmake-utils_use_build dropbox)
+		$(cmake-utils_use_build git)
+		$(cmake-utils_use_build mercurial hg)
+		$(cmake-utils_use_build subversion svn)
+	)
+
+	kde5_src_configure
+}
+
+src_install() {
+	{ use bazaar || use dropbox || use git || use subversion || use mercurial; } && kde5_src_install
+}
+
+pkg_postinst() {
+	if ! use bazaar && ! use dropbox && ! use git && ! use subversion && ! use mercurial; then
+		einfo
+		einfo "You have disabled all plugin use flags. If you want to have vcs"
+		einfo "integration in dolphin, enable those of your needs."
+		einfo
+	fi
+}

diff --git a/kde-apps/dolphin/dolphin-15.12.1.ebuild b/kde-apps/dolphin/dolphin-15.12.1.ebuild
new file mode 100644
index 0000000..dcfdb79
--- /dev/null
+++ b/kde-apps/dolphin/dolphin-15.12.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FRAMEWORKS_MINIMAL="5.16.0"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Plasma filemanager focusing on usability"
+HOMEPAGE="https://dolphin.kde.org https://www.kde.org/applications/system/dolphin"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="semantic-desktop thumbnail"
+
+DEPEND="
+	$(add_frameworks_dep kbookmarks)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kinit)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep solid)
+	dev-qt/qtconcurrent:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	media-libs/phonon[qt5]
+	semantic-desktop? (
+		$(add_frameworks_dep baloo)
+		$(add_frameworks_dep kfilemetadata)
+		$(add_kdeapps_dep baloo-widgets)
+	)
+	!semantic-desktop? (
+		$(add_frameworks_dep kdelibs4support)
+	)
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep kio-extras)
+	thumbnail? (
+		|| ( $(add_kdeapps_dep ffmpegthumbs) media-video/ffmpegthumbnailer )
+		$(add_kdeapps_dep thumbnailers)
+	)
+"
+
+RESTRICT="test"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with semantic-desktop KF5Baloo)
+		$(cmake-utils_use_with semantic-desktop KF5BalooWidgets)
+		$(cmake-utils_use_with semantic-desktop KF5FileMetaData)
+	)
+
+	kde5_src_configure
+}
+
+pkg_postinst() {
+	kde5_pkg_postinst
+
+	if ( ! has_version "kde-apps/ark:${SLOT}" || has_version "<kde-frameworks/kio-5.17.0" ); then
+		echo
+		elog "For compress/extract and other actions, please install"
+		elog "kde-apps/ark:${SLOT} and >=kde-frameworks/kio-5.17.0"
+		echo
+	fi
+}

diff --git a/kde-apps/dragon/dragon-15.12.1.ebuild b/kde-apps/dragon/dragon-15.12.1.ebuild
new file mode 100644
index 0000000..3181e87
--- /dev/null
+++ b/kde-apps/dragon/dragon-15.12.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="A simple video player"
+HOMEPAGE="https://www.kde.org/applications/multimedia/dragonplayer"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep solid)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+"

diff --git a/kde-apps/drkonqi/drkonqi-15.12.1.ebuild b/kde-apps/drkonqi/drkonqi-15.12.1.ebuild
new file mode 100644
index 0000000..9351113
--- /dev/null
+++ b/kde-apps/drkonqi/drkonqi-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE crash handler, gives the user feedback if a program crashed"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep kdepimlibs)
+"
+RDEPEND="${DEPEND}"
+
+pkg_postinst() {
+	kde4-meta_pkg_postinst
+	if ! has_version "sys-devel/gdb"; then
+		elog "For more usability consider installing following packages:"
+		elog "    sys-devel/gdb - Easier debugging support"
+	fi
+}

diff --git a/kde-apps/eventviews/eventviews-15.12.1.ebuild b/kde-apps/eventviews/eventviews-15.12.1.ebuild
new file mode 100644
index 0000000..ceeb0bd
--- /dev/null
+++ b/kde-apps/eventviews/eventviews-15.12.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Calendar viewer for KDE PIM"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep akonadi-calendar)
+	$(add_kdeapps_dep calendarsupport)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcalutils)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kdgantt2)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkdepim)
+	dev-libs/libical
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/ffmpegthumbs/ffmpegthumbs-15.12.1.ebuild b/kde-apps/ffmpegthumbs/ffmpegthumbs-15.12.1.ebuild
new file mode 100644
index 0000000..d9c92da
--- /dev/null
+++ b/kde-apps/ffmpegthumbs/ffmpegthumbs-15.12.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="FFmpeg based thumbnail generator for video files"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kio)
+	dev-qt/qtgui:5
+	virtual/ffmpeg
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+"

diff --git a/kde-apps/filelight/filelight-15.12.1.ebuild b/kde-apps/filelight/filelight-15.12.1.ebuild
new file mode 100644
index 0000000..d250021
--- /dev/null
+++ b/kde-apps/filelight/filelight-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Visualise disk usage with interactive map of concentric, segmented rings"
+HOMEPAGE="https://utils.kde.org/projects/filelight"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep solid)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/gpgmepp/gpgmepp-15.12.1.ebuild b/kde-apps/gpgmepp/gpgmepp-15.12.1.ebuild
new file mode 100644
index 0000000..38af4fa
--- /dev/null
+++ b/kde-apps/gpgmepp/gpgmepp-15.12.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+inherit kde5
+
+DESCRIPTION="C++ bindings for gpgme"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	app-crypt/gpgme:=
+"
+DEPEND="${RDEPEND}
+	dev-libs/boost
+"

diff --git a/kde-apps/granatier/granatier-15.12.1.ebuild b/kde-apps/granatier/granatier-15.12.1.ebuild
new file mode 100644
index 0000000..0d3cd48
--- /dev/null
+++ b/kde-apps/granatier/granatier-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE Bomberman game"
+HOMEPAGE="https://www.kde.org/applications/games/granatier/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/grantleetheme/grantleetheme-15.12.1.ebuild b/kde-apps/grantleetheme/grantleetheme-15.12.1.ebuild
new file mode 100644
index 0000000..a20105e
--- /dev/null
+++ b/kde-apps/grantleetheme/grantleetheme-15.12.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Library for Grantlee plugins"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-libs/grantlee:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	dev-qt/qtnetwork:5
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/gwenview/gwenview-15.12.1.ebuild b/kde-apps/gwenview/gwenview-15.12.1.ebuild
new file mode 100644
index 0000000..3e9b61e
--- /dev/null
+++ b/kde-apps/gwenview/gwenview-15.12.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="KDE image viewer"
+HOMEPAGE="
+	https://www.kde.org/applications/graphics/gwenview/
+	https://userbase.kde.org/Gwenview
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="kipi raw semantic-desktop X"
+
+# requires running environment
+RESTRICT="test"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kactivities)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtopengl:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	media-gfx/exiv2:=
+	media-libs/lcms:2
+	media-libs/libpng:0=
+	media-libs/phonon[qt5]
+	virtual/jpeg:0
+	kipi? ( $(add_kdeapps_dep libkipi) )
+	raw? ( $(add_kdeapps_dep libkdcraw) )
+	semantic-desktop? (
+		$(add_frameworks_dep baloo)
+		$(add_frameworks_dep kfilemetadata)
+	)
+	X? (
+		dev-qt/qtx11extras:5
+		x11-libs/libX11
+	)
+"
+DEPEND="${COMMON_DEPEND}
+	dev-qt/qtconcurrent:5
+"
+RDEPEND="${COMMON_DEPEND}
+	$(add_frameworks_dep kimageformats)
+	dev-qt/qtimageformats:5
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package kipi KF5Kipi)
+		$(cmake-utils_use_find_package raw KF5KDcraw)
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	# Workaround for bug #479510
+	if [[ -e ${EPREFIX}/usr/include/${CHOST}/jconfig.h ]]; then
+		mycmakeargs+=( -DJCONFIG_H="${EPREFIX}/usr/include/${CHOST}/jconfig.h" )
+	fi
+
+	if use semantic-desktop; then
+		mycmakeargs+=(-DGWENVIEW_SEMANTICINFO_BACKEND=Baloo)
+	else
+		mycmakeargs+=(-DGWENVIEW_SEMANTICINFO_BACKEND=None)
+	fi
+
+	kde5_src_configure
+}

diff --git a/kde-apps/incidenceeditor/incidenceeditor-15.12.1.ebuild b/kde-apps/incidenceeditor/incidenceeditor-15.12.1.ebuild
new file mode 100644
index 0000000..d52dd51
--- /dev/null
+++ b/kde-apps/incidenceeditor/incidenceeditor-15.12.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="${PN}-ng"
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Incidence editor for korganizer"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep akonadi-calendar)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep calendarsupport)
+	$(add_kdeapps_dep eventviews)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcalutils)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kdgantt2)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kldap)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep libkdepimdbusinterfaces)
+	dev-qt/designer:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${MY_PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${MY_PN}"
+fi

diff --git a/kde-apps/jovie/jovie-15.12.1.ebuild b/kde-apps/jovie/jovie-15.12.1.ebuild
new file mode 100644
index 0000000..553ed70
--- /dev/null
+++ b/kde-apps/jovie/jovie-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="Jovie is a text to speech application"
+HOMEPAGE="https://www.kde.org/applications/utilities/jovie/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	app-accessibility/speech-dispatcher
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/juk/juk-15.12.1.ebuild b/kde-apps/juk/juk-15.12.1.ebuild
new file mode 100644
index 0000000..3f5d700
--- /dev/null
+++ b/kde-apps/juk/juk-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="Jukebox and music manager for KDE"
+HOMEPAGE="https://www.kde.org/applications/multimedia/juk/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	>=media-libs/taglib-1.6
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	# https://bugs.gentoo.org/410551 for disabling deprecated TunePimp support
+	local mycmakeargs=(
+		-DWITH_TunePimp=OFF
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/kaccessible/kaccessible-15.12.1.ebuild b/kde-apps/kaccessible/kaccessible-15.12.1.ebuild
new file mode 100644
index 0000000..2ebbd02
--- /dev/null
+++ b/kde-apps/kaccessible/kaccessible-15.12.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="Provides accessibility services like focus tracking"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug +speechd"
+
+DEPEND="speechd? ( app-accessibility/speech-dispatcher )"
+RDEPEND=${DEPEND}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with speechd)
+	)
+	kde4-base_src_configure
+}

diff --git a/kde-apps/kaccounts-integration/kaccounts-integration-15.12.1.ebuild b/kde-apps/kaccounts-integration/kaccounts-integration-15.12.1.ebuild
new file mode 100644
index 0000000..95fb009
--- /dev/null
+++ b/kde-apps/kaccounts-integration/kaccounts-integration-15.12.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="forceoptional"
+VIRTUALDBUS_TEST="true"
+inherit kde5
+
+DESCRIPTION="Administer web accounts for the sites and services across the Plasma desktop"
+HOMEPAGE="https://community.kde.org/KTp"
+LICENSE="LGPL-2.1"
+
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep ki18n)
+	dev-qt/qtdbus:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	net-libs/accounts-qt
+	net-libs/signond
+"
+DEPEND="${COMMON_DEPEND}
+	$(add_frameworks_dep kcmutils)
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}"
+
+# bug #549444
+RESTRICT="test"

diff --git a/kde-apps/kaccounts-providers/kaccounts-providers-15.12.1.ebuild b/kde-apps/kaccounts-providers/kaccounts-providers-15.12.1.ebuild
new file mode 100644
index 0000000..5f8c2a2
--- /dev/null
+++ b/kde-apps/kaccounts-providers/kaccounts-providers-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE accounts providers"
+HOMEPAGE="https://community.kde.org/KTp"
+LICENSE="LGPL-2.1"
+
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kpackage)
+	$(add_kdeapps_dep kaccounts-integration)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtxml:5
+"
+DEPEND="${COMMON_DEPEND}
+	dev-util/intltool
+"
+RDEPEND="${COMMON_DEPEND}
+	net-im/telepathy-connection-managers[xmpp]
+	net-libs/signon-ui
+	net-libs/signon-oauth2
+"

diff --git a/kde-apps/kaddressbookgrantlee/kaddressbookgrantlee-15.12.1.ebuild b/kde-apps/kaddressbookgrantlee/kaddressbookgrantlee-15.12.1.ebuild
new file mode 100644
index 0000000..0ff9806
--- /dev/null
+++ b/kde-apps/kaddressbookgrantlee/kaddressbookgrantlee-15.12.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Grantlee templating for kaddressbook"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="prison"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep grantleetheme)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkleo)
+	dev-libs/grantlee:5
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	prison? ( media-libs/prison:5 )
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package prison KF5Prison)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kajongg/kajongg-15.12.1.ebuild b/kde-apps/kajongg/kajongg-15.12.1.ebuild
new file mode 100644
index 0000000..8a7cda7
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-15.12.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1 kde4-base
+
+DESCRIPTION="The classical Mah Jongg for four players"
+HOMEPAGE="https://www.kde.org/applications/games/kajongg/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+	${PYTHON_DEPS}
+	dev-db/sqlite:3
+	$(add_kdeapps_dep libkdegames)
+	$(add_kdebase_dep pykde4 "${PYTHON_USEDEP}")
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep libkmahjongg)
+	>=dev-python/twisted-core-8.2.0
+"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	kde4-base_pkg_setup
+}
+
+src_prepare() {
+	python_fix_shebang src
+	kde4-base_src_prepare
+}

diff --git a/kde-apps/kalarmcal/kalarmcal-15.12.1.ebuild b/kde-apps/kalarmcal/kalarmcal-15.12.1.ebuild
new file mode 100644
index 0000000..b7136ca
--- /dev/null
+++ b/kde-apps/kalarmcal/kalarmcal-15.12.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="Client library to access and handling of KAlarm calendar data"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kholidays)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/qtgui:5
+"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+"

diff --git a/kde-apps/kalgebra/kalgebra-15.12.1.ebuild b/kde-apps/kalgebra/kalgebra-15.12.1.ebuild
new file mode 100644
index 0000000..4ca7c70
--- /dev/null
+++ b/kde-apps/kalgebra/kalgebra-15.12.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="MathML-based graph calculator for KDE"
+HOMEPAGE="https://www.kde.org/applications/education/kalgebra
+https://edu.kde.org/kalgebra"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="opengl readline"
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep analitza opengl?)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	opengl? (
+		dev-qt/qtopengl:5
+		dev-qt/qtprintsupport:5
+		virtual/glu
+	)
+	readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}
+	!kde-apps/analitza:4
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package opengl OpenGL)
+		$(cmake-utils_use_find_package readline Readline)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kalzium/kalzium-15.12.1.ebuild b/kde-apps/kalzium/kalzium-15.12.1.ebuild
new file mode 100644
index 0000000..9e5d23f
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-15.12.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+CPPUNIT_REQUIRED="optional"
+OPENGL_REQUIRED="always"
+inherit kde4-base flag-o-matic
+
+DESCRIPTION="KDE: periodic table of the elements"
+HOMEPAGE="https://www.kde.org/applications/education/kalzium
+https://edu.kde.org/kalzium"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="editor debug solver"
+
+DEPEND="
+	$(add_kdeapps_dep libkdeedu)
+	editor? (
+		>=dev-cpp/eigen-2.0.3:2
+		sci-chemistry/avogadro
+		>=sci-chemistry/openbabel-2.2
+	)
+	solver? ( dev-ml/facile[ocamlopt] )
+"
+RDEPEND=${DEPEND}
+
+KMEXTRACTONLY="
+	libkdeedu/kdeeduui/
+	libkdeedu/libscience/
+"
+
+src_configure(){
+	# Fix missing finite()
+	[[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
+
+	local mycmakeargs=(
+		$(cmake-utils_use_with editor Eigen2)
+		$(cmake-utils_use_with editor Avogadro)
+		$(cmake-utils_use_with editor OpenBabel2)
+		$(cmake-utils_use_with editor OpenGL)
+		$(cmake-utils_use_with solver OCaml)
+		$(cmake-utils_use_with solver Libfacile)
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/kamera/kamera-15.12.1.ebuild b/kde-apps/kamera/kamera-15.12.1.ebuild
new file mode 100644
index 0000000..0f7304e
--- /dev/null
+++ b/kde-apps/kamera/kamera-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Plasma integration for gphoto2 cameras"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	media-libs/libgphoto2:=
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}"

diff --git a/kde-apps/kanagram/kanagram-15.12.1.ebuild b/kde-apps/kanagram/kanagram-15.12.1.ebuild
new file mode 100644
index 0000000..93e0003
--- /dev/null
+++ b/kde-apps/kanagram/kanagram-15.12.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="Game based on anagrams of works"
+HOMEPAGE="https://www.kde.org/applications/education/kanagram
+https://edu.kde.org/kanagram"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	$(add_kdeapps_dep libkeduvocdocument)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep kdeedu-data)
+	dev-qt/qtquickcontrols:5
+	dev-qt/qtwebkit:5[qml]
+"

diff --git a/kde-apps/kapman/kapman-15.12.1.ebuild b/kde-apps/kapman/kapman-15.12.1.ebuild
new file mode 100644
index 0000000..dd343af
--- /dev/null
+++ b/kde-apps/kapman/kapman-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Pac-Man clone for KDE"
+HOMEPAGE="https://www.kde.org/applications/games/kapman/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kapptemplate/kapptemplate-15.12.1.ebuild b/kde-apps/kapptemplate/kapptemplate-15.12.1.ebuild
new file mode 100644
index 0000000..2430840
--- /dev/null
+++ b/kde-apps/kapptemplate/kapptemplate-15.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FRAMEWORKS_MINIMAL="5.17.0"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="A shell script to create the necessary framework to develop KDE applications"
+HOMEPAGE="https://www.kde.org/applications/development/kapptemplate"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+	kde5_src_install
+	rm "${ED}"usr/share/kdevappwizard/templates/qml-plasmoid.tar.bz2 || die
+}

diff --git a/kde-apps/kate/kate-15.12.1.ebuild b/kde-apps/kate/kate-15.12.1.ebuild
new file mode 100644
index 0000000..98c9237
--- /dev/null
+++ b/kde-apps/kate/kate-15.12.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Kate is an advanced text editor"
+HOMEPAGE="https://www.kde.org/applications/utilities/kate http://kate-editor.org"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+addons"
+
+DEPEND="
+	$(add_frameworks_dep kactivities)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtscript:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	addons? (
+		$(add_frameworks_dep kbookmarks)
+		$(add_frameworks_dep knewstuff)
+		$(add_frameworks_dep kwallet)
+		$(add_frameworks_dep plasma)
+		$(add_frameworks_dep threadweaver)
+		dev-qt/qtsql:5
+		>=dev-libs/libgit2-0.22.0:=
+	)
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_ADDONS=$(usex addons)
+		-DBUILD_kwrite=FALSE
+		$(cmake-utils_use_find_package handbook DocTools)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/katomic/katomic-15.12.1.ebuild b/kde-apps/katomic/katomic-15.12.1.ebuild
new file mode 100644
index 0000000..1636915
--- /dev/null
+++ b/kde-apps/katomic/katomic-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="KDE Atomic Entertainment Game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/katomic/
+	https://games.kde.org/game.php?game=katomic
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kblackbox/kblackbox-15.12.1.ebuild b/kde-apps/kblackbox/kblackbox-15.12.1.ebuild
new file mode 100644
index 0000000..6c407e5
--- /dev/null
+++ b/kde-apps/kblackbox/kblackbox-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="KDE Blackbox Game"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kblocks/kblocks-15.12.1.ebuild b/kde-apps/kblocks/kblocks-15.12.1.ebuild
new file mode 100644
index 0000000..79e5d2d
--- /dev/null
+++ b/kde-apps/kblocks/kblocks-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="A single-player Tetris-like KDE game"
+HOMEPAGE="https://www.kde.org/applications/games/kblocks/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kblog/kblog-15.12.1.ebuild b/kde-apps/kblog/kblog-15.12.1.ebuild
new file mode 100644
index 0000000..87d7c25
--- /dev/null
+++ b/kde-apps/kblog/kblog-15.12.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library providing client-side support for web application remote blogging APIs"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep syndication)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kxmlrpcclient)
+	dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/kbounce/kbounce-15.12.1.ebuild b/kde-apps/kbounce/kbounce-15.12.1.ebuild
new file mode 100644
index 0000000..35f568e
--- /dev/null
+++ b/kde-apps/kbounce/kbounce-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="KDE Bounce Ball Game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kbounce/
+	https://games.kde.org/game.php?game=kbounce
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kbreakout/kbreakout-15.12.1.ebuild b/kde-apps/kbreakout/kbreakout-15.12.1.ebuild
new file mode 100644
index 0000000..01fd9a9
--- /dev/null
+++ b/kde-apps/kbreakout/kbreakout-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="A Breakout-like game for KDE"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kbreakout/
+	https://games.kde.org/game.php?game=kbreakout
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kbruch/kbruch-15.12.1.ebuild b/kde-apps/kbruch/kbruch-15.12.1.ebuild
new file mode 100644
index 0000000..e5cf1a8
--- /dev/null
+++ b/kde-apps/kbruch/kbruch-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK=true
+inherit kde5
+
+DESCRIPTION="Educational application to learn calculating with fractions"
+HOMEPAGE="https://www.kde.org/applications/education/kbruch https://edu.kde.org/kbruch"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kcachegrind/kcachegrind-15.12.1.ebuild b/kde-apps/kcachegrind/kcachegrind-15.12.1.ebuild
new file mode 100644
index 0000000..3a89cd2
--- /dev/null
+++ b/kde-apps/kcachegrind/kcachegrind-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE Frontend for Cachegrind"
+HOMEPAGE="https://www.kde.org/applications/development/kcachegrind
+http://kcachegrind.sourceforge.net"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	media-gfx/graphviz
+"

diff --git a/kde-apps/kcalc/kcalc-15.12.1.ebuild b/kde-apps/kcalc/kcalc-15.12.1.ebuild
new file mode 100644
index 0000000..bc2de33
--- /dev/null
+++ b/kde-apps/kcalc/kcalc-15.12.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="KDE calculator"
+HOMEPAGE="https://www.kde.org/applications/utilities/kcalc
+https://utils.kde.org/projects/kcalc"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-libs/gmp:0
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${COMMON_DEPEND}
+	$(add_frameworks_dep kinit)
+	dev-libs/mpfr:0
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}"

diff --git a/kde-apps/kcalcore/kcalcore-15.12.1.ebuild b/kde-apps/kcalcore/kcalcore-15.12.1.ebuild
new file mode 100644
index 0000000..0c254f5
--- /dev/null
+++ b/kde-apps/kcalcore/kcalcore-15.12.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Library for handling calendar data"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	dev-libs/libical:=
+	dev-qt/qtgui:5
+	sys-apps/util-linux
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="test" # multiple tests fail or hang indefinitely

diff --git a/kde-apps/kcalutils/kcalutils-15.12.1.ebuild b/kde-apps/kcalutils/kcalutils-15.12.1.ebuild
new file mode 100644
index 0000000..c8f986e
--- /dev/null
+++ b/kde-apps/kcalutils/kcalutils-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Library providing utility functions for the handling of calendar data"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kidentitymanagement)
+	dev-libs/grantlee:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}"

diff --git a/kde-apps/kcharselect/kcharselect-15.12.1.ebuild b/kde-apps/kcharselect/kcharselect-15.12.1.ebuild
new file mode 100644
index 0000000..50d7633
--- /dev/null
+++ b/kde-apps/kcharselect/kcharselect-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE character selection utility"
+HOMEPAGE="https://www.kde.org/applications/utilities/kcharselect
+https://utils.kde.org/projects/kcharselect"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kcmshell/kcmshell-15.12.1.ebuild b/kde-apps/kcmshell/kcmshell-15.12.1.ebuild
new file mode 100644
index 0000000..cde87e9
--- /dev/null
+++ b/kde-apps/kcmshell/kcmshell-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="Utility to host KDE control modules independently of SystemSettings"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kcolorchooser/kcolorchooser-15.12.1.ebuild b/kde-apps/kcolorchooser/kcolorchooser-15.12.1.ebuild
new file mode 100644
index 0000000..9b096ef
--- /dev/null
+++ b/kde-apps/kcolorchooser/kcolorchooser-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="KDE color selector/editor"
+HOMEPAGE="https://www.kde.org/applications/graphics/kcolorchooser/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kcontacts/kcontacts-15.12.1.ebuild b/kde-apps/kcontacts/kcontacts-15.12.1.ebuild
new file mode 100644
index 0000000..2fed17a
--- /dev/null
+++ b/kde-apps/kcontacts/kcontacts-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Address book API for KDE"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	kde5_src_prepare
+
+	# FIXME: Fails test because access to /dev/dri/card0 is denied
+	sed -i \
+		-e "/ecm_add_tests/ s/picturetest\.cpp //" \
+		autotests/CMakeLists.txt || die
+}

diff --git a/kde-apps/kcontrol/kcontrol-15.12.1.ebuild b/kde-apps/kcontrol/kcontrol-15.12.1.ebuild
new file mode 100644
index 0000000..89a4efd
--- /dev/null
+++ b/kde-apps/kcontrol/kcontrol-15.12.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="The KDE Control Center"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	$(add_kdeapps_dep zeroconf-ioslave)
+	|| ( $(add_kdebase_dep khotkeys '' 4.11) kde-plasma/khotkeys )
+"
+
+src_prepare() {
+	kde4-meta_src_prepare
+	if use handbook; then
+		sed -i -e "/add_subdirectory(kcm_ssl)/d" doc/kcontrol/CMakeLists.txt || die
+		sed -i -e "/add_subdirectory(trash)/d" doc/kcontrol/CMakeLists.txt || die
+	fi
+}

diff --git a/kde-apps/kcron/kcron-15.12.1.ebuild b/kde-apps/kcron/kcron-15.12.1.ebuild
new file mode 100644
index 0000000..43e2283
--- /dev/null
+++ b/kde-apps/kcron/kcron-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE Task Scheduler"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+	!prefix? ( virtual/cron )
+"

diff --git a/kde-apps/kde-apps-meta/kde-apps-meta-15.12.1.ebuild b/kde-apps/kde-apps-meta/kde-apps-meta-15.12.1.ebuild
new file mode 100644
index 0000000..ce4c425
--- /dev/null
+++ b/kde-apps/kde-apps-meta/kde-apps-meta-15.12.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="Meta package for the KDE Applications collection"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="accessibility nls pim sdk"
+
+[[ ${KDE_BUILD_TYPE} = live ]] && L10N_MINIMAL=${KDE_APPS_MINIMAL}
+
+RDEPEND="
+	$(add_kdeapps_dep kate)
+	$(add_kdeapps_dep kdeadmin-meta)
+	$(add_kdeapps_dep kdeartwork-meta '' 15.08.0)
+	$(add_kdeapps_dep kdebase-meta)
+	$(add_kdeapps_dep kdeedu-meta)
+	$(add_kdeapps_dep kdegames-meta)
+	$(add_kdeapps_dep kdegraphics-meta)
+	$(add_kdeapps_dep kdemultimedia-meta)
+	$(add_kdeapps_dep kdenetwork-meta)
+	$(add_kdeapps_dep kdeutils-meta)
+	accessibility? ( $(add_kdeapps_dep kdeaccessibility-meta) )
+	nls? (
+		$(add_kdeapps_dep kde-l10n '' ${L10N_MINIMAL})
+		$(add_kdeapps_dep kde4-l10n '' ${L10N_MINIMAL})
+	)
+	pim? ( $(add_kdeapps_dep kdepim-meta) )
+	sdk? (
+		$(add_kdeapps_dep kdesdk-meta)
+		$(add_kdeapps_dep kdewebdev-meta)
+	)
+"

diff --git a/kde-apps/kde-dev-scripts/kde-dev-scripts-15.12.1.ebuild b/kde-apps/kde-dev-scripts/kde-dev-scripts-15.12.1.ebuild
new file mode 100644
index 0000000..2aa45aa
--- /dev/null
+++ b/kde-apps/kde-dev-scripts/kde-dev-scripts-15.12.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE Development Scripts"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="$(add_frameworks_dep kdoctools)" # to use ECM instead of kdelibs4
+RDEPEND="
+	app-arch/advancecomp
+	media-gfx/optipng
+	dev-perl/XML-DOM
+"
+
+src_prepare() {
+	# bug 275069
+	sed -ie 's:colorsvn::' CMakeLists.txt || die
+
+	kde5_src_prepare
+}

diff --git a/kde-apps/kde-dev-utils/kde-dev-utils-15.12.1.ebuild b/kde-apps/kde-dev-utils/kde-dev-utils-15.12.1.ebuild
new file mode 100644
index 0000000..95b5379
--- /dev/null
+++ b/kde-apps/kde-dev-utils/kde-dev-utils-15.12.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="KDE Development Utilities"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kde-l10n/kde-l10n-15.12.1.ebuild b/kde-apps/kde-l10n/kde-l10n-15.12.1.ebuild
new file mode 100644
index 0000000..b46c391
--- /dev/null
+++ b/kde-apps/kde-l10n/kde-l10n-15.12.1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE internationalization package"
+HOMEPAGE="http://l10n.kde.org"
+
+DEPEND="
+	$(add_frameworks_dep ki18n)
+	dev-qt/linguist-tools:5
+	sys-devel/gettext
+"
+RDEPEND="
+	!<kde-apps/kde4-l10n-${PV}
+	!kde-apps/kde4-l10n[-minimal]
+	!<kde-apps/kdepim-l10n-${PV}
+	!<kde-apps/ktp-l10n-${PV}
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB eo es et eu fa fi fr ga gl
+he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru
+sk sl sr sv tr ug uk wa zh_CN zh_TW"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+SRC_URI=""
+
+for MY_LANG in ${MY_LANGS} ; do
+	IUSE="${IUSE} linguas_${MY_LANG}"
+	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.xz )"
+done
+
+S="${WORKDIR}"
+
+src_unpack() {
+	if [[ -z ${A} ]]; then
+		elog
+		elog "You either have the LINGUAS variable unset, or it only"
+		elog "contains languages not supported by ${P}."
+		elog "You won't have any additional language support."
+		elog
+		elog "${P} supports these language codes:"
+		elog "${MY_LANGS}"
+		elog
+	fi
+
+	[[ -n ${A} ]] && unpack ${A}
+}
+
+src_prepare() {
+	local LNG DIR
+	# add all linguas to cmake
+	if [[ -n ${A} ]]; then
+		for LNG in ${LINGUAS}; do
+			DIR="${PN}-${LNG}-${PV}"
+			if [[ -d "${DIR}" ]] ; then
+				echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+
+				# Drop KDE4-based part
+				sed -e '/add_subdirectory(4)/ s/^/#/'\
+					-i "${S}"/${DIR}/CMakeLists.txt || die
+
+				# Remove kdepim translations (part of kde-apps/kdepim-l10n)
+				for subdir in kdepim kdepimlibs kdepim-runtime pim; do
+					find "${S}/${DIR}" -name CMakeLists.txt -type f \
+						-exec sed -i -e "/add_subdirectory( *${subdir} *)/ s/^/#/" {} +
+				done
+
+				# Remove ktp translations (part of kde-apps/ktp-l10n)
+				# Drop that hack (and kde-apps/ktp-l10n) after ktp:4 removal
+				find "${S}"/${DIR}/5/${LNG}/messages/kdenetwork -type f \
+					\( -name kaccounts*po -o -name kcm_ktp*po -o -name kcmtelepathy*po \
+					-o -name kded_ktp*po -o -name ktp*po -o -name plasma*ktp*po \) \
+					-delete
+
+				# Handbook optional
+				sed -e '/KF5DocTools/ s/ REQUIRED//'\
+					-i "${S}"/${DIR}/5/${LNG}/CMakeLists.txt || die
+				if ! use handbook ; then
+					sed -e '/add_subdirectory(docs)/ s/^/#/'\
+						-i "${S}"/${DIR}/5/${LNG}/CMakeLists.txt || die
+				fi
+
+				# Fix broken LINGUAS=sr (KDE4 leftover)
+				if [[ ${LNG} = "sr" ]] ; then
+					sed -e '/add_subdirectory(lokalize)/ s/^/#/'\
+						-i "${S}"/${DIR}/5/${LNG}/data/kdesdk/CMakeLists.txt || die
+				fi
+			fi
+		done
+	fi
+}
+
+src_configure() {
+	mycmakeargs=(
+		$(cmake-utils_use_find_package handbook KF5DocTools)
+	)
+	[[ -n ${A} ]] && kde5_src_configure
+}
+
+src_compile() {
+	[[ -n ${A} ]] && kde5_src_compile
+}
+
+src_test() {
+	[[ -n ${A} ]] && kde5_src_test
+}
+
+src_install() {
+	[[ -n ${A} ]] && kde5_src_install
+}

diff --git a/kde-apps/kde4-l10n/kde4-l10n-15.12.1.ebuild b/kde-apps/kde4-l10n/kde4-l10n-15.12.1.ebuild
new file mode 100644
index 0000000..cefdf0a
--- /dev/null
+++ b/kde-apps/kde4-l10n/kde4-l10n-15.12.1.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-l10n"
+inherit kde4-base
+
+DESCRIPTION="KDE internationalization package"
+HOMEPAGE="http://l10n.kde.org"
+
+DEPEND="
+	sys-devel/gettext
+"
+RDEPEND="
+	!<kde-apps/kde-l10n-${PV}
+"
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="minimal"
+
+REMOVE_DIRS="${FILESDIR}/${PN}-15.11.90-remove-dirs"
+REMOVE_MSGS="${FILESDIR}/${PN}-15.08.3-remove-messages"
+
+LV="4.14.3"
+LEGACY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fa fi fr ga gl
+he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru
+sk sl sr sv tr ug uk wa zh_CN zh_TW"
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB eo es et eu fa fi fr ga gl
+he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru
+sk sl sr sv tr ug uk wa zh_CN zh_TW"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+LURI_BASE="mirror://kde/stable/${LV}/src/${KMNAME}"
+SRC_URI=""
+
+for MY_LANG in ${LEGACY_LANGS} ; do
+	IUSE="${IUSE} linguas_${MY_LANG}"
+	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${LURI_BASE}/${KMNAME}-${MY_LANG}-${LV}.tar.xz )"
+done
+
+for MY_LANG in ${MY_LANGS} ; do
+	IUSE="${IUSE} linguas_${MY_LANG}"
+	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${KMNAME}-${MY_LANG}-${PV}.tar.xz )"
+done
+
+S="${WORKDIR}"
+
+src_unpack() {
+	if [[ -z ${A} ]]; then
+		elog
+		elog "You either have the LINGUAS variable unset, or it only"
+		elog "contains languages not supported by ${P}."
+		elog "You won't have any additional language support."
+		elog
+		elog "${P} supports these language codes:"
+		elog "${MY_LANGS}"
+		elog
+	fi
+
+	[[ -n ${A} ]] && unpack ${A}
+}
+
+src_prepare() {
+	local LNG DIR LDIR SDIR
+	# add all linguas to cmake
+	if [[ -n ${A} ]]; then
+		for LNG in ${LINGUAS}; do
+			DIR="${KMNAME}-${LNG}-${PV}"
+			LDIR="${KMNAME}-${LNG}-${LV}"
+			SDIR="${S}/${DIR}/4/${LNG}"
+			if [[ -d "${DIR}" ]] ; then
+				echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+
+				# Drop KF5-based part
+				sed -e '/add_subdirectory(5)/ s/^/#/' -i "${S}"/${DIR}/CMakeLists.txt
+
+				# Drop translations installed with plasma 5 and kde-apps 5 packages
+				if use minimal; then
+					einfo "${LNG}: Removing file conflicts"
+					if [[ -d "${LDIR}" ]] ; then
+						rm -rf "${LDIR}"
+					fi
+
+					einfo "   directories..."
+					while read path; do
+						if [[ -n ${path} && -e "${SDIR}"/${path%\ *}/CMakeLists.txt ]] ; then
+							sed -e ":${path#*\ }: s:^:#:"\
+								-i "${SDIR}"/${path%\ *}/CMakeLists.txt
+						fi
+					done < <(grep -v "^#" "${REMOVE_DIRS}")
+
+					einfo "   messages..."
+					for path in $(grep -v "^#" "${REMOVE_MSGS}") ; do
+						rm -f "${SDIR}"/messages/${path}
+						# Quirk for LINGUAS=sr variants
+						if [[ ${LNG} = "sr" ]] ; then
+							rm -f "${SDIR}"/${LNG}\@*/messages/${path} || die
+						fi
+					done
+				else
+					if [[ -d "${LDIR}" ]] ; then
+						einfo "${LNG}: Adding legacy localisation"
+						local dest_path
+						# Step through directories alphabetically first
+						for path in $(ls -R "${LDIR}" | grep ":$" | sed -e 's/:$//') ; do
+							dest_path="${path/${LV}/${PV}/4/${LNG}}"
+							if [[ ! -d "${dest_path}" ]] ; then
+								einfo "   $(basename ${dest_path}) subdirectory"\
+									"added to $(basename $(dirname ${dest_path}))"
+								mkdir "${dest_path}" || die "Failed creating ${dest_path}"
+								echo "add_subdirectory($(basename ${dest_path}))" >> \
+									$(dirname "${dest_path}")/CMakeLists.txt
+							fi
+						done
+						einfo "   merging legacy localisation..."
+						for path in $(find "${LDIR}" -type f) ; do
+							dest_path="${path/${LV}/${PV}/4/${LNG}}"
+							cp -rn "${path}" "${dest_path}" || die "Failed copying ${path}"
+						done
+						# Disable kdepim
+						for path in kdepim kdepimlibs kdepim-runtime ; do
+							find "${SDIR}" -name CMakeLists.txt -type f -exec \
+								sed -i -e "s:^ *add_subdirectory( *${path} *):# no ${path}:g" {} +
+						done
+						rm -rf "${LDIR}"
+					fi
+				fi
+			fi
+		done
+	fi
+
+	kde4-base_src_prepare
+}
+
+src_configure() {
+	mycmakeargs=(
+		$(cmake-utils_use_build handbook docs)
+	)
+	[[ -n ${A} ]] && kde4-base_src_configure
+}
+
+src_compile() {
+	[[ -n ${A} ]] && kde4-base_src_compile
+}
+
+src_test() {
+	[[ -n ${A} ]] && kde4-base_src_test
+}
+
+src_install() {
+	[[ -n ${A} ]] && kde4-base_src_install
+}

diff --git a/kde-apps/kdeaccessibility-meta/kdeaccessibility-meta-15.12.1.ebuild b/kde-apps/kdeaccessibility-meta/kdeaccessibility-meta-15.12.1.ebuild
new file mode 100644
index 0000000..3ef60bb
--- /dev/null
+++ b/kde-apps/kdeaccessibility-meta/kdeaccessibility-meta-15.12.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="kdeaccessibility - merge this to pull in all kdeaccessiblity-derived packages"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_kdeapps_dep jovie)
+	$(add_kdeapps_dep kaccessible)
+	$(add_kdeapps_dep kmag)
+	$(add_kdeapps_dep kmousetool)
+	$(add_kdeapps_dep kmouth)
+"

diff --git a/kde-apps/kdeadmin-meta/kdeadmin-meta-15.12.1.ebuild b/kde-apps/kdeadmin-meta/kdeadmin-meta-15.12.1.ebuild
new file mode 100644
index 0000000..61529f7
--- /dev/null
+++ b/kde-apps/kdeadmin-meta/kdeadmin-meta-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="KDE administration tools - merge this to pull in all kdeadmin-derived packages"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+cron"
+
+# FIXME: Add back when ported
+# $(add_kdeapps_dep kuser)
+RDEPEND="
+	$(add_kdeapps_dep ksystemlog)
+	cron? ( $(add_kdeapps_dep kcron) )
+"

diff --git a/kde-apps/kdebase-data/kdebase-data-15.12.1.ebuild b/kde-apps/kdebase-data/kdebase-data-15.12.1.ebuild
new file mode 100644
index 0000000..ba12327
--- /dev/null
+++ b/kde-apps/kdebase-data/kdebase-data-15.12.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMNOMODULE="true"
+inherit kde4-meta
+
+DESCRIPTION="Icons, localization data and various .desktop files from kdebase"
+IUSE="+wallpapers"
+KEYWORDS=" ~amd64 ~x86"
+
+RDEPEND="
+	wallpapers? ( || ( $(add_kdeapps_dep kde-wallpapers) >=kde-apps/kde-wallpapers-15.08.0:5 ) )
+	x11-themes/hicolor-icon-theme
+"
+
+KMEXTRA="
+	l10n/
+	localization/
+	pics/
+"
+# Note that the eclass doesn't do this for us, because of KMNOMODULE="true".
+KMEXTRACTONLY="
+	config-runtime.h.cmake
+	kde4
+"
+
+src_configure() {
+	# Remove remnants of hicolor-icon-theme
+	sed -e "s:add_subdirectory[[:space:]]*([[:space:]]*hicolor[[:space:]]*):#donotwant:g" \
+		-i pics/CMakeLists.txt \
+		|| die "failed to remove remnants of hicolor-icon-theme"
+
+	kde4-meta_src_configure
+}

diff --git a/kde-apps/kdebase-desktoptheme/kdebase-desktoptheme-15.12.1.ebuild b/kde-apps/kdebase-desktoptheme/kdebase-desktoptheme-15.12.1.ebuild
new file mode 100644
index 0000000..a1016c9
--- /dev/null
+++ b/kde-apps/kdebase-desktoptheme/kdebase-desktoptheme-15.12.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMMODULE="desktoptheme"
+inherit kde4-meta
+
+DESCRIPTION="Oxygen KDE4 desktop theme"
+IUSE=""
+KEYWORDS=" ~amd64 ~x86"

diff --git a/kde-apps/kdebase-kioslaves/kdebase-kioslaves-15.12.1.ebuild b/kde-apps/kdebase-kioslaves/kdebase-kioslaves-15.12.1.ebuild
new file mode 100644
index 0000000..9de3765
--- /dev/null
+++ b/kde-apps/kdebase-kioslaves/kdebase-kioslaves-15.12.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-runtime"
+KMMODULE="kioslave"
+inherit kde4-meta
+
+KEYWORDS=" ~amd64 ~x86"
+DESCRIPTION="KDE VFS framework - kioslaves present a filesystem-like view of arbitrary data"
+IUSE="+bzip2 exif debug lzma openexr samba +sftp"
+
+# tests hang, last checked for 4.2.96
+RESTRICT="test"
+
+DEPEND="
+	virtual/jpeg:0
+	!aqua? ( x11-libs/libXcursor )
+	bzip2? ( app-arch/bzip2 )
+	exif? ( media-gfx/exiv2:= )
+	openexr? ( media-libs/openexr:= )
+	samba? ( || ( <net-fs/samba-4.0.0_alpha1[smbclient] >=net-fs/samba-4.0.0_alpha1[client] ) )
+	sftp? ( >=net-libs/libssh-0.4.0:=[sftp] )
+"
+RDEPEND="${DEPEND}
+	$(add_kdebase_dep kdelibs 'bzip2?,lzma?')
+	$(add_kdeapps_dep kdialog)
+	virtual/ssh
+	!aqua? ( !kernel_SunOS? ( virtual/eject ) )
+"
+
+KMEXTRA="
+	kioexec
+	kdeeject
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DWITH_SLP=OFF
+		$(cmake-utils_use_with bzip2 BZip2)
+		$(cmake-utils_use_with exif Exiv2)
+		$(cmake-utils_use_with lzma LibLZMA)
+		$(cmake-utils_use_with openexr OpenEXR)
+		$(cmake-utils_use_with samba)
+		$(cmake-utils_use_with sftp LibSSH)
+	)
+	kde4-meta_src_configure
+}

diff --git a/kde-apps/kdebase-menu-icons/kdebase-menu-icons-15.12.1.ebuild b/kde-apps/kdebase-menu-icons/kdebase-menu-icons-15.12.1.ebuild
new file mode 100644
index 0000000..5a99dde
--- /dev/null
+++ b/kde-apps/kdebase-menu-icons/kdebase-menu-icons-15.12.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMMODULE="menu"
+inherit kde4-meta
+
+DESCRIPTION="KDE menu icons"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""

diff --git a/kde-apps/kdebase-menu/kdebase-menu-15.12.1.ebuild b/kde-apps/kdebase-menu/kdebase-menu-15.12.1.ebuild
new file mode 100644
index 0000000..e37af9c
--- /dev/null
+++ b/kde-apps/kdebase-menu/kdebase-menu-15.12.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMMODULE="kde-menu"
+inherit kde4-meta
+
+DESCRIPTION="KDE Menu query tool"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kdebase-meta/kdebase-meta-15.12.1.ebuild b/kde-apps/kdebase-meta/kdebase-meta-15.12.1.ebuild
new file mode 100644
index 0000000..702655e
--- /dev/null
+++ b/kde-apps/kdebase-meta/kdebase-meta-15.12.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="Merge this to pull in all kdebase-derived packages"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+wallpapers"
+
+RDEPEND="
+	$(add_kdeapps_dep dolphin)
+	$(add_kdeapps_dep kdebase-runtime-meta)
+	$(add_kdeapps_dep kdialog)
+	$(add_kdeapps_dep keditbookmarks)
+	$(add_kdeapps_dep kfind)
+	$(add_kdeapps_dep kfmclient)
+	$(add_kdeapps_dep konq-plugins)
+	$(add_kdeapps_dep konqueror)
+	$(add_kdeapps_dep konsole)
+	$(add_kdeapps_dep kwrite)
+	$(add_kdeapps_dep libkonq)
+	$(add_kdeapps_dep nsplugins)
+	$(add_plasma_dep plasma-meta)
+	wallpapers? ( $(add_kdeapps_dep kde-wallpapers '' 15.08.0) )
+"

diff --git a/kde-apps/kdebase-runtime-meta/kdebase-runtime-meta-15.12.1.ebuild b/kde-apps/kdebase-runtime-meta/kdebase-runtime-meta-15.12.1.ebuild
new file mode 100644
index 0000000..a91049a
--- /dev/null
+++ b/kde-apps/kdebase-runtime-meta/kdebase-runtime-meta-15.12.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="Merge this to pull in all kdebase-runtime-derived packages"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="crash-reporter minimal +oldwallet"
+
+RDEPEND="
+	$(add_kdeapps_dep kcmshell)
+	$(add_kdeapps_dep kdebase-data)
+	$(add_kdeapps_dep kdebase-desktoptheme)
+	$(add_kdeapps_dep kdebase-menu)
+	$(add_kdeapps_dep kdebase-menu-icons)
+	$(add_kdeapps_dep kdebugdialog)
+	$(add_kdeapps_dep kdesu)
+	$(add_kdeapps_dep kdontchangethehostname)
+	$(add_kdeapps_dep keditfiletype)
+	$(add_kdeapps_dep kfile)
+	$(add_kdeapps_dep kiconfinder)
+	$(add_kdeapps_dep kimgio)
+	$(add_kdeapps_dep kioclient)
+	$(add_kdeapps_dep kmimetypefinder)
+	$(add_kdeapps_dep knewstuff)
+	$(add_kdeapps_dep knotify)
+	$(add_kdeapps_dep kpasswdserver)
+	$(add_kdeapps_dep kquitapp)
+	$(add_kdeapps_dep kreadconfig)
+	$(add_kdeapps_dep kstart)
+	$(add_kdeapps_dep ktimezoned)
+	$(add_kdeapps_dep ktraderclient)
+	$(add_kdeapps_dep kurifilter-plugins)
+	$(add_kdeapps_dep phonon-kde)
+	$(add_kdeapps_dep plasma-runtime)
+	$(add_kdeapps_dep renamedlg-plugins)
+	$(add_kdeapps_dep solid-runtime)
+	crash-reporter? ( $(add_kdeapps_dep drkonqi ) )
+	minimal? (
+		$(add_kdeapps_dep solid-runtime '-bluetooth')
+		oldwallet? ( $(add_kdeapps_dep kwalletd) )
+	)
+	!minimal? (
+		$(add_kdeapps_dep attica)
+		$(add_kdeapps_dep kcontrol)
+		$(add_kdeapps_dep kdebase-kioslaves)
+		$(add_kdeapps_dep kglobalaccel)
+		$(add_kdeapps_dep knetattach)
+		$(add_kdeapps_dep kuiserver)
+		$(add_kdeapps_dep kwalletd)
+	)
+"
+REQUIRED_USE="minimal? ( !crash-reporter )"

diff --git a/kde-apps/kdebugdialog/kdebugdialog-15.12.1.ebuild b/kde-apps/kdebugdialog/kdebugdialog-15.12.1.ebuild
new file mode 100644
index 0000000..f41c8f9
--- /dev/null
+++ b/kde-apps/kdebugdialog/kdebugdialog-15.12.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE: A dialog box for setting preferences for debug output"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kdeedu-data/kdeedu-data-15.12.1.ebuild b/kde-apps/kdeedu-data/kdeedu-data-15.12.1.ebuild
new file mode 100644
index 0000000..c582819
--- /dev/null
+++ b/kde-apps/kdeedu-data/kdeedu-data-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_AUTODEPS="false"
+inherit kde5
+
+DESCRIPTION="Shared icons, artwork and data files for educational applications"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="$(add_frameworks_dep extra-cmake-modules)"
+RDEPEND=""

diff --git a/kde-apps/kdeedu-meta/kdeedu-meta-15.12.1.ebuild b/kde-apps/kdeedu-meta/kdeedu-meta-15.12.1.ebuild
new file mode 100644
index 0000000..bcdad9e
--- /dev/null
+++ b/kde-apps/kdeedu-meta/kdeedu-meta-15.12.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="KDE educational apps - merge this to pull in all kdeedu-derived packages"
+HOMEPAGE="https://edu.kde.org"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_kdeapps_dep analitza)
+	$(add_kdeapps_dep artikulate)
+	$(add_kdeapps_dep blinken)
+	$(add_kdeapps_dep cantor)
+	$(add_kdeapps_dep kalgebra)
+	$(add_kdeapps_dep kalzium)
+	$(add_kdeapps_dep kanagram)
+	$(add_kdeapps_dep kbruch)
+	$(add_kdeapps_dep kdeedu-data)
+	$(add_kdeapps_dep kgeography)
+	$(add_kdeapps_dep khangman)
+	$(add_kdeapps_dep kig)
+	$(add_kdeapps_dep kiten)
+	$(add_kdeapps_dep klettres)
+	$(add_kdeapps_dep kmplot)
+	$(add_kdeapps_dep kqtquickcharts)
+	$(add_kdeapps_dep kstars)
+	$(add_kdeapps_dep ktouch)
+	$(add_kdeapps_dep kturtle)
+	$(add_kdeapps_dep kwordquiz)
+	$(add_kdeapps_dep libkdeedu)
+	$(add_kdeapps_dep libkeduvocdocument)
+	$(add_kdeapps_dep marble)
+	$(add_kdeapps_dep parley)
+	$(add_kdeapps_dep rocs)
+	$(add_kdeapps_dep step)
+"

diff --git a/kde-apps/kdegames-meta/kdegames-meta-15.12.1.ebuild b/kde-apps/kdegames-meta/kdegames-meta-15.12.1.ebuild
new file mode 100644
index 0000000..bc2ee0e
--- /dev/null
+++ b/kde-apps/kdegames-meta/kdegames-meta-15.12.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="kdegames - merge this to pull in all kdegames-derived packages"
+HOMEPAGE="https://games.kde.org/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="opengl python"
+
+RDEPEND="
+	$(add_kdeapps_dep bomber)
+	$(add_kdeapps_dep bovo)
+	$(add_kdeapps_dep granatier)
+	$(add_kdeapps_dep kapman)
+	$(add_kdeapps_dep katomic)
+	$(add_kdeapps_dep kblackbox)
+	$(add_kdeapps_dep kblocks)
+	$(add_kdeapps_dep kbounce)
+	$(add_kdeapps_dep kbreakout)
+	$(add_kdeapps_dep kdiamond)
+	$(add_kdeapps_dep kfourinline)
+	$(add_kdeapps_dep kgoldrunner)
+	$(add_kdeapps_dep kigo)
+	$(add_kdeapps_dep killbots)
+	$(add_kdeapps_dep kiriki)
+	$(add_kdeapps_dep kjumpingcube)
+	$(add_kdeapps_dep klickety)
+	$(add_kdeapps_dep klines)
+	$(add_kdeapps_dep kmahjongg)
+	$(add_kdeapps_dep kmines)
+	$(add_kdeapps_dep knavalbattle)
+	$(add_kdeapps_dep knetwalk)
+	$(add_kdeapps_dep kolf)
+	$(add_kdeapps_dep kollision)
+	$(add_kdeapps_dep konquest)
+	$(add_kdeapps_dep kpat)
+	$(add_kdeapps_dep kreversi)
+	$(add_kdeapps_dep kshisen)
+	$(add_kdeapps_dep ksirk)
+	$(add_kdeapps_dep ksnakeduel)
+	$(add_kdeapps_dep kspaceduel)
+	$(add_kdeapps_dep ksquares)
+	$(add_kdeapps_dep ktuberling)
+	$(add_kdeapps_dep libkdegames)
+	$(add_kdeapps_dep libkmahjongg)
+	$(add_kdeapps_dep lskat)
+	$(add_kdeapps_dep palapeli)
+	$(add_kdeapps_dep picmi)
+	opengl? (
+		$(add_kdeapps_dep ksudoku)
+		$(add_kdeapps_dep kubrick)
+	)
+	python? ( $(add_kdeapps_dep kajongg) )
+"

diff --git a/kde-apps/kdegraphics-meta/kdegraphics-meta-15.12.1.ebuild b/kde-apps/kdegraphics-meta/kdegraphics-meta-15.12.1.ebuild
new file mode 100644
index 0000000..39a86e9
--- /dev/null
+++ b/kde-apps/kdegraphics-meta/kdegraphics-meta-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="kdegraphics - merge this to pull in all kdegraphics-derived packages"
+HOMEPAGE="https://www.kde.org/applications/graphics/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="scanner"
+
+RDEPEND="
+	$(add_kdeapps_dep gwenview)
+	$(add_kdeapps_dep kamera)
+	$(add_kdeapps_dep kcolorchooser)
+	$(add_kdeapps_dep kdegraphics-mobipocket)
+	$(add_kdeapps_dep kolourpaint)
+	$(add_kdeapps_dep kruler)
+	$(add_kdeapps_dep libkdcraw)
+	$(add_kdeapps_dep libkexiv2)
+	$(add_kdeapps_dep libkipi)
+	$(add_kdeapps_dep okular)
+	$(add_kdeapps_dep spectacle)
+	$(add_kdeapps_dep svgpart)
+	$(add_kdeapps_dep thumbnailers)
+	scanner? (
+		$(add_kdeapps_dep ksaneplugin)
+		$(add_kdeapps_dep libksane)
+	)
+"

diff --git a/kde-apps/kdegraphics-mobipocket/kdegraphics-mobipocket-15.12.1.ebuild b/kde-apps/kdegraphics-mobipocket/kdegraphics-mobipocket-15.12.1.ebuild
new file mode 100644
index 0000000..e756dd4
--- /dev/null
+++ b/kde-apps/kdegraphics-mobipocket/kdegraphics-mobipocket-15.12.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="Library to support mobipocket ebooks"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kdemultimedia-meta/kdemultimedia-meta-15.12.1.ebuild b/kde-apps/kdemultimedia-meta/kdemultimedia-meta-15.12.1.ebuild
new file mode 100644
index 0000000..4316135
--- /dev/null
+++ b/kde-apps/kdemultimedia-meta/kdemultimedia-meta-15.12.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="kdemultimedia - merge this to pull in all kdemultimedia-derived packages"
+HOMEPAGE="
+	https://www.kde.org/applications/multimedia/
+	https://multimedia.kde.org/
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+ffmpeg mplayer"
+
+RDEPEND="
+	$(add_kdeapps_dep audiocd-kio)
+	$(add_kdeapps_dep dragon)
+	$(add_kdeapps_dep juk)
+	$(add_kdeapps_dep kdenlive)
+	$(add_kdeapps_dep kmix)
+	$(add_kdeapps_dep kscd)
+	$(add_kdeapps_dep libkcddb)
+	$(add_kdeapps_dep libkcompactdisc)
+	mplayer? ( $(add_kdeapps_dep mplayerthumbs) )
+	ffmpeg? ( $(add_kdeapps_dep ffmpegthumbs) )
+"

diff --git a/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-15.12.1.ebuild b/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-15.12.1.ebuild
new file mode 100644
index 0000000..4d36d7f
--- /dev/null
+++ b/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="kcontrol filesharing config module for SMB"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kdenetwork-meta/kdenetwork-meta-15.12.1.ebuild b/kde-apps/kdenetwork-meta/kdenetwork-meta-15.12.1.ebuild
new file mode 100644
index 0000000..b2ca042
--- /dev/null
+++ b/kde-apps/kdenetwork-meta/kdenetwork-meta-15.12.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="kdenetwork - merge this to pull in all kdenetwork-derived packages"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="ppp"
+
+# FIXME: Add back when ported
+# $(add_kdeapps_dep kopete)
+RDEPEND="
+	$(add_kdeapps_dep kdenetwork-filesharing)
+	$(add_kdeapps_dep kget)
+	$(add_kdeapps_dep krdc)
+	$(add_kdeapps_dep krfb)
+	$(add_kdeapps_dep plasma-telepathy-meta)
+	$(add_kdeapps_dep zeroconf-ioslave)
+	ppp? ( $(add_kdeapps_dep kppp) )
+"

diff --git a/kde-apps/kdenlive/kdenlive-15.12.1.ebuild b/kde-apps/kdenlive/kdenlive-15.12.1.ebuild
new file mode 100644
index 0000000..c78fc0a
--- /dev/null
+++ b/kde-apps/kdenlive/kdenlive-15.12.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Non-linear video editing suite by KDE"
+HOMEPAGE="https://www.kdenlive.org/"
+
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="v4l"
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kbookmarks)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kplotting)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep solid)
+	dev-qt/qtdbus:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtopengl:5
+	dev-qt/qtscript:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	>=media-libs/mlt-0.9.8[ffmpeg,kdenlive,melt,qt5,sdl,xml]
+	virtual/ffmpeg[encode,sdl,X]
+	virtual/opengl
+	v4l? ( media-libs/libv4l )
+"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+"
+
+PATCHES=( "${FILESDIR}/${PN}-15.12.0-kcrash.patch" )
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package v4l LibV4L2)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kdepasswd/kdepasswd-15.12.1.ebuild b/kde-apps/kdepasswd/kdepasswd-15.12.1.ebuild
new file mode 100644
index 0000000..3ad600a
--- /dev/null
+++ b/kde-apps/kdepasswd/kdepasswd-15.12.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-baseapps"
+inherit kde4-meta
+
+DESCRIPTION="KDE GUI for passwd"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkonq)
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep kdesu)
+	sys-apps/accountsservice
+"

diff --git a/kde-apps/kdepim-kioslaves/kdepim-kioslaves-15.12.1.ebuild b/kde-apps/kdepim-kioslaves/kdepim-kioslaves-15.12.1.ebuild
new file mode 100644
index 0000000..610bcf4
--- /dev/null
+++ b/kde-apps/kdepim-kioslaves/kdepim-kioslaves-15.12.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOC_DIR=docs
+KDE_HANDBOOK=true
+KDE_TEST=true
+KMNAME=kdepimlibs
+VIRTUALX_REQUIRED=test
+inherit kde5
+
+DESCRIPTION="Kioslave plugins for various PIM apps"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE="ssl"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_kdeapps_dep kldap)
+	$(add_kdeapps_dep kmbox)
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	ssl? ( dev-libs/cyrus-sasl )
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!kde-apps/kdepimlibs
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/kioslave"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/kioslave"
+fi
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package ssl Sasl2)
+		$(cmake-utils_use_build test TESTING)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-15.12.1.ebuild b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.1.ebuild
new file mode 100644
index 0000000..e7facf2
--- /dev/null
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.1.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE PIM internationalization package"
+HOMEPAGE="http://l10n.kde.org"
+
+DEPEND="
+	$(add_frameworks_dep ki18n)
+	dev-qt/linguist-tools:5
+	sys-devel/gettext
+"
+RDEPEND="
+	!<kde-apps/kde-l10n-15.08.0-r1
+	!<kde-apps/kde4-l10n-4.14.3-r1
+	!kde-base/kdepim-l10n
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB eo es et eu fa fi fr ga gl
+he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru
+sk sl sr sv tr ug uk wa zh_CN zh_TW"
+
+PIM_L10N="kdepim kdepimlibs kdepim-runtime pim"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+SRC_URI=""
+
+for MY_LANG in ${MY_LANGS} ; do
+	IUSE="${IUSE} linguas_${MY_LANG}"
+	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
+done
+
+S="${WORKDIR}"
+
+src_unpack() {
+	if [[ -z ${A} ]]; then
+		elog
+		elog "You either have the LINGUAS variable unset, or it only"
+		elog "contains languages not supported by ${P}."
+		elog "You won't have any additional language support."
+		elog
+		elog "${P} supports these language codes:"
+		elog "${MY_LANGS}"
+		elog
+	fi
+
+	[[ -n ${A} ]] && unpack ${A}
+}
+
+src_prepare() {
+	local LNG DIR
+	# add all linguas to cmake
+	if [[ -n ${A} ]]; then
+		for LNG in ${LINGUAS}; do
+			DIR="kde-l10n-${LNG}-${PV}"
+			SDIR="${S}/${DIR}/5/${LNG}"
+			if [[ -d "${DIR}" ]] ; then
+				echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+
+				# Drop KDE4-based part
+				sed -e '/add_subdirectory(4)/ s/^/#/'\
+					-i "${S}"/${DIR}/CMakeLists.txt || die
+
+				# Remove everything except kdepim, kdepimlibs, kdepim-runtime and pim
+				for SUBDIR in data docs messages scripts ; do
+					if [[ -d "${SDIR}/${SUBDIR}" ]] ; then
+						einfo "   ${SUBDIR} subdirectory"
+						echo > "${SDIR}/${SUBDIR}/CMakeLists.txt"
+						for pim in ${PIM_L10N}; do
+							[[ -d "${SDIR}/${SUBDIR}/${pim}" ]] && \
+								( echo "add_subdirectory(${pim})" >> "${SDIR}/${SUBDIR}/CMakeLists.txt" )
+						done
+					fi
+				done
+
+				# In some cases we may have sub-lingua subdirs, e.g. sr :(
+				for XSUBDIR in "${SDIR}/${LNG}"@* ; do
+					XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
+					if [[ -d "${XSUBDIR}" ]] ; then
+						einfo "   ${XLNG} variant"
+						# remove everything except kdepim and kdepim-runtime
+						for SUBDIR in data docs messages scripts ; do
+							if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
+								einfo "      ${SUBDIR} subdirectory"
+								echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
+								for pim in ${PIM_L10N}; do
+									[[ -d "${XSUBDIR}/${SUBDIR}/${pim}" ]] && \
+										( echo "add_subdirectory(${pim})" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
+								done
+							fi
+						done
+					fi
+				done
+
+				# Handbook optional
+				sed -e '/KF5DocTools/ s/ REQUIRED//'\
+					-i "${SDIR}"/CMakeLists.txt || die
+				if ! use handbook ; then
+					sed -e '/add_subdirectory(docs)/ s/^/#/'\
+						-i "${SDIR}"/CMakeLists.txt || die
+				fi
+
+				# Fix broken LINGUAS=sr (KDE4 leftover)
+				if [[ ${LNG} = "sr" ]] ; then
+					sed -e '/add_subdirectory(lokalize)/ s/^/#/'\
+						-i "${SDIR}"/data/kdesdk/CMakeLists.txt || die
+				fi
+			fi
+		done
+	fi
+}
+
+src_configure() {
+	mycmakeargs=(
+		$(cmake-utils_use_find_package handbook KF5DocTools)
+	)
+	[[ -n ${A} ]] && kde5_src_configure
+}
+
+src_compile() {
+	[[ -n ${A} ]] && kde5_src_compile
+}
+
+src_test() {
+	[[ -n ${A} ]] && kde5_src_test
+}
+
+src_install() {
+	[[ -n ${A} ]] && kde5_src_install
+}

diff --git a/kde-apps/kdepim-meta/kdepim-meta-15.12.1.ebuild b/kde-apps/kdepim-meta/kdepim-meta-15.12.1.ebuild
new file mode 100644
index 0000000..c2bc6c2
--- /dev/null
+++ b/kde-apps/kdepim-meta/kdepim-meta-15.12.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="KDE PIM - merge this to pull in all kdepim-derived packages"
+HOMEPAGE="https://www.kde.org/applications/development"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="cvs nls"
+
+[[ ${KDE_BUILD_TYPE} = live ]] && L10N_MINIMAL=${KDE_APPS_MINIMAL}
+
+RDEPEND="
+	$(add_kdeapps_dep akonadi)
+	$(add_kdeapps_dep akonadi-calendar)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep akonadi-notes)
+	$(add_kdeapps_dep akonadi-search)
+	$(add_kdeapps_dep akonadi-socialutils)
+	$(add_kdeapps_dep calendarsupport)
+	$(add_kdeapps_dep composereditor)
+	$(add_kdeapps_dep eventviews)
+	$(add_kdeapps_dep gpgmepp)
+	$(add_kdeapps_dep grantleetheme)
+	$(add_kdeapps_dep incidenceeditor)
+	$(add_kdeapps_dep kaddressbookgrantlee)
+	$(add_kdeapps_dep kalarmcal)
+	$(add_kdeapps_dep kblog)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcalutils)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kdepim)
+	$(add_kdeapps_dep kdepim-kioslaves)
+	$(add_kdeapps_dep kdepim-runtime)
+	$(add_kdeapps_dep kdgantt2)
+	$(add_kdeapps_dep kholidays)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kimap)
+	$(add_kdeapps_dep kldap)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmbox)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kontactinterface)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep ktnef)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libfollowupreminder)
+	$(add_kdeapps_dep libgravatar)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep libkdepimdbusinterfaces)
+	$(add_kdeapps_dep libkleo)
+	$(add_kdeapps_dep libksieve)
+	$(add_kdeapps_dep libsendlater)
+	$(add_kdeapps_dep mailcommon)
+	$(add_kdeapps_dep mailimporter)
+	$(add_kdeapps_dep messagecomposer)
+	$(add_kdeapps_dep messagecore)
+	$(add_kdeapps_dep messagelist)
+	$(add_kdeapps_dep messageviewer)
+	$(add_kdeapps_dep noteshared)
+	$(add_kdeapps_dep pimcommon)
+	$(add_kdeapps_dep syndication)
+	$(add_kdeapps_dep templateparser)
+	nls? (
+		$(add_kdeapps_dep kdepim-l10n '' ${L10N_MINIMAL})
+	)
+"

diff --git a/kde-apps/kdepim-runtime/kdepim-runtime-15.12.1.ebuild b/kde-apps/kdepim-runtime/kdepim-runtime-15.12.1.ebuild
new file mode 100644
index 0000000..f380eee
--- /dev/null
+++ b/kde-apps/kdepim-runtime/kdepim-runtime-15.12.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE PIM runtime plugin collection"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="google"
+
+# TODO kolab, Qt5TextToSpeech
+
+CDEPEND="
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep akonadi)
+	$(add_kdeapps_dep akonadi-calendar)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep akonadi-notes)
+	$(add_kdeapps_dep akonadi-socialutils)
+	$(add_kdeapps_dep kalarmcal)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcalutils)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kimap)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmbox)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	dev-libs/libical:=
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	dev-qt/qtxmlpatterns:5
+"
+DEPEND="${CDEPEND}
+	$(add_frameworks_dep kross)
+	dev-libs/cyrus-sasl:2
+	dev-libs/libxml2:2
+	dev-libs/libxslt
+	sys-devel/gettext
+	x11-misc/shared-mime-info
+	google? ( >=net-libs/libkgapi-5.1.0:5 )
+"
+RDEPEND="${CDEPEND}
+	!kde-apps/kdepim-runtime:4
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package google KF5GAPI)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kdepim/kdepim-15.12.1.ebuild b/kde-apps/kdepim/kdepim-15.12.1.ebuild
new file mode 100644
index 0000000..965b63d
--- /dev/null
+++ b/kde-apps/kdepim/kdepim-15.12.1.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK=true
+KDE_TEST=true
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Personal Information Management Suite"
+HOMEPAGE="https://www.kde.org/applications/office/kontact/"
+KEYWORDS=" ~amd64 ~x86"
+
+PIM_FTS="akonadiconsole akregator blogilo console kaddressbook kalarm kleopatra kmail knotes kontact korganizer ktnef"
+IUSE="designer google prison $(printf 'kdepim_features_%s ' ${PIM_FTS})"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kauth)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kdewebkit)
+	$(add_frameworks_dep kdnssd)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep khtml)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep kxmlrpcclient)
+	$(add_frameworks_dep sonnet)
+	$(add_kdeapps_dep akonadi)
+	$(add_kdeapps_dep akonadi-calendar)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep akonadi-notes)
+	$(add_kdeapps_dep akonadi-search)
+	$(add_kdeapps_dep akonadi-socialutils)
+	$(add_kdeapps_dep calendarsupport)
+	$(add_kdeapps_dep composereditor)
+	$(add_kdeapps_dep eventviews)
+	$(add_kdeapps_dep gpgmepp)
+	$(add_kdeapps_dep grantleetheme)
+	$(add_kdeapps_dep incidenceeditor)
+	$(add_kdeapps_dep kaddressbookgrantlee)
+	$(add_kdeapps_dep kalarmcal)
+	$(add_kdeapps_dep kblog)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kdepim-kioslaves)
+	$(add_kdeapps_dep kdgantt2)
+	$(add_kdeapps_dep kholidays)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kimap)
+	$(add_kdeapps_dep kldap)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmbox)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kontactinterface)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep ktnef)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libfollowupreminder)
+	$(add_kdeapps_dep libgravatar)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep libkdepimdbusinterfaces)
+	$(add_kdeapps_dep libkleo)
+	$(add_kdeapps_dep libksieve)
+	$(add_kdeapps_dep libsendlater)
+	$(add_kdeapps_dep mailcommon)
+	$(add_kdeapps_dep mailimporter)
+	$(add_kdeapps_dep messagecomposer)
+	$(add_kdeapps_dep messagecore)
+	$(add_kdeapps_dep messagelist)
+	$(add_kdeapps_dep messageviewer)
+	$(add_kdeapps_dep pimcommon)
+	$(add_kdeapps_dep syndication)
+	$(add_kdeapps_dep templateparser)
+	>=app-crypt/gpgme-1.3.2
+	dev-libs/boost:=
+	dev-libs/grantlee:5
+	dev-libs/libxslt
+	dev-qt/qtconcurrent:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtopengl:5
+	dev-qt/qtscript:5
+	dev-qt/qtsql:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtx11extras:5
+	dev-qt/qtxml:5
+	media-libs/phonon[qt5]
+	designer? ( dev-qt/designer:5 )
+	google? ( net-libs/libkgapi:5 )
+	prison? ( media-libs/prison:5 )
+	kdepim_features_kleopatra? (
+		dev-libs/libassuan
+		dev-libs/libgpg-error
+	)
+	kdepim_features_knotes? (
+		$(add_kdeapps_dep noteshared)
+	)
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	test? (
+		$(add_kdeapps_dep akonadi sqlite)
+		$(add_kdeapps_dep libakonadi tools)
+		dev-qt/qtsql:5[sqlite]
+	)
+"
+RDEPEND="${COMMON_DEPEND}
+	!kde-apps/akonadiconsole:4
+	!kde-apps/akregator:4
+	!kde-apps/blogilo:4
+	!kde-apps/calendarjanitor:4
+	!kde-apps/kabcclient:4
+	!kde-apps/kaddressbook:4
+	!kde-apps/kalarm:4
+	!kde-apps/kdepim-icons:4
+	!kde-apps/kdepim-runtime:4
+	!kde-apps/kjots:4
+	!kde-apps/kleopatra:4
+	!kde-apps/kmail:4
+	!kde-apps/knode:4
+	!kde-apps/knotes:4
+	!kde-apps/konsolekalendar:4
+	!kde-apps/kontact:4
+	!kde-apps/korganizer:4
+	!kde-apps/ktimetracker:4
+	!kde-apps/ktnef:4
+	$(add_kdeapps_dep kdepim-runtime)
+	kdepim_features_kleopatra? ( app-crypt/gnupg )
+"
+# kontact: summary plugin; kalarm: email scheduler
+REQUIRED_USE="
+	kdepim_features_kontact? ( kdepim_features_kmail )
+	kdepim_features_kalarm? ( kdepim_features_kmail )
+"
+
+src_prepare() {
+	kde5_src_prepare
+
+	rm -r calendarsupport		\
+		composereditor-ng	\
+		eventviews		\
+		grantleetheme		\
+		incidenceeditor-ng	\
+		kaddressbookgrantlee	\
+		kdgantt2		\
+		libfollowupreminder	\
+		libgravatar		\
+		libkdepim		\
+		libkdepimdbusinterfaces	\
+		libkleo			\
+		libksieve		\
+		libsendlater		\
+		mailcommon		\
+		mailimporter		\
+		messagecomposer		\
+		messagecore		\
+		messagelist		\
+		messageviewer		\
+		noteshared		\
+		pimcommon		\
+		templateparser		\
+		|| die "Failed to remove split libraries"
+
+	use handbook || sed -e '/^find_package.*KF5DocTools/ s/^/#/' \
+		-i CMakeLists.txt || die
+
+	if ! use kdepim_features_knotes ; then
+		sed -i \
+			-e '/find_package(KF5NoteShared/ s/^/#DONT/' \
+			CMakeLists.txt || die
+		sed -i \
+			-e '/add_subdirectory(notesagent)/ s/^/#DONT/' \
+			agents/CMakeLists.txt || die
+	fi
+
+	# applications
+	for pim_ft in ${PIM_FTS}; do
+		use kdepim_features_${pim_ft} || comment_add_subdirectory ${pim_ft}
+	done
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DKDEPIM_BUILD_WITH_INSTALLED_LIB=TRUE
+		$(cmake-utils_use_find_package designer Qt5Designer)
+		$(cmake-utils_use_find_package google KF5GAPI)
+		$(cmake-utils_use_find_package prison KF5Prison)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kdesdk-kioslaves/kdesdk-kioslaves-15.12.1.ebuild b/kde-apps/kdesdk-kioslaves/kdesdk-kioslaves-15.12.1.ebuild
new file mode 100644
index 0000000..6546873
--- /dev/null
+++ b/kde-apps/kdesdk-kioslaves/kdesdk-kioslaves-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="kioslaves from kdesdk package"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug subversion"
+KMNAME="kdesdk-kioslaves"
+
+DEPEND="
+	subversion? (
+		dev-libs/apr
+		dev-vcs/subversion
+	)
+"
+RDEPEND="${DEPEND}
+	subversion? ( !>=dev-vcs/kdesvn-1.5.2:4 )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DAPRCONFIG_EXECUTABLE="${EPREFIX}"/usr/bin/apr-1-config
+		$(cmake-utils_use_with subversion SVN)
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/kdesdk-meta/kdesdk-meta-15.12.1.ebuild b/kde-apps/kdesdk-meta/kdesdk-meta-15.12.1.ebuild
new file mode 100644
index 0000000..fc12b0d
--- /dev/null
+++ b/kde-apps/kdesdk-meta/kdesdk-meta-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="KDE SDK - merge this to pull in all kdesdk-derived packages"
+HOMEPAGE="https://www.kde.org/applications/development"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="cvs"
+
+RDEPEND="
+	$(add_kdeapps_dep dolphin-plugins)
+	$(add_kdeapps_dep kapptemplate)
+	$(add_kdeapps_dep kate)
+	$(add_kdeapps_dep kcachegrind)
+	$(add_kdeapps_dep kde-dev-scripts)
+	$(add_kdeapps_dep kde-dev-utils)
+	$(add_kdeapps_dep kdesdk-kioslaves)
+	$(add_kdeapps_dep kompare)
+	$(add_kdeapps_dep libkomparediff2)
+	$(add_kdeapps_dep lokalize)
+	$(add_kdeapps_dep okteta)
+	$(add_kdeapps_dep poxml)
+	$(add_kdeapps_dep umbrello)
+	cvs? ( $(add_kdeapps_dep cervisia) )
+"

diff --git a/kde-apps/kdesdk-strigi-analyzer/kdesdk-strigi-analyzer-15.12.1.ebuild b/kde-apps/kdesdk-strigi-analyzer/kdesdk-strigi-analyzer-15.12.1.ebuild
new file mode 100644
index 0000000..1b1728a
--- /dev/null
+++ b/kde-apps/kdesdk-strigi-analyzer/kdesdk-strigi-analyzer-15.12.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kdesdk-strigi-analyzers"
+inherit kde4-base
+
+DESCRIPTION="kdesdk: strigi plugins"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	app-misc/strigi
+"
+RDEPEND="${DEPEND}"
+
+if [[ ${KDE_BUILD_TYPE} != live ]] ; then
+	S="${WORKDIR}/${KMNAME}-${PV}"
+fi

diff --git a/kde-apps/kdesdk-thumbnailers/kdesdk-thumbnailers-15.12.1.ebuild b/kde-apps/kdesdk-thumbnailers/kdesdk-thumbnailers-15.12.1.ebuild
new file mode 100644
index 0000000..57c068d
--- /dev/null
+++ b/kde-apps/kdesdk-thumbnailers/kdesdk-thumbnailers-15.12.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="Thumbnail generator for PO files"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	sys-devel/gettext
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kdesu/kdesu-15.12.1.ebuild b/kde-apps/kdesu/kdesu-15.12.1.ebuild
new file mode 100644
index 0000000..3fbe428
--- /dev/null
+++ b/kde-apps/kdesu/kdesu-15.12.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+# FIXME: Is default command ( su/sudo ) still configurable,
+# if not, USE-flag ?
+DESCRIPTION="KDE: gui for su(1)"
+HOMEPAGE+=" https://techbase.kde.org/Projects/kdesu"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+src_configure() {
+	# Upstream moved kdesu to libexec first, then decided to move it back
+	# to /${PREFIX}/bin/ , so I'm doing that now already.
+	sed -e '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
+		-i "${S}"/kdesu/kdesu/CMakeLists.txt || \
+		die "Moving kdesu from libexec to bin failed."
+
+	kde4-meta_src_configure
+}

diff --git a/kde-apps/kdeutils-meta/kdeutils-meta-15.12.1.ebuild b/kde-apps/kdeutils-meta/kdeutils-meta-15.12.1.ebuild
new file mode 100644
index 0000000..61a061a
--- /dev/null
+++ b/kde-apps/kdeutils-meta/kdeutils-meta-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="kdeutils - merge this to pull in all kdeutils-derived packages"
+HOMEPAGE="https://www.kde.org/applications/utilities https://utils.kde.org"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="cups floppy lirc"
+
+# FIXME: Add back when ported
+# $(add_kdeapps_dep kgpg)
+RDEPEND="
+	$(add_kdeapps_dep ark)
+	$(add_kdeapps_dep filelight)
+	$(add_kdeapps_dep kcalc)
+	$(add_kdeapps_dep kcharselect)
+	$(add_kdeapps_dep kdf)
+	$(add_kdeapps_dep kteatime)
+	$(add_kdeapps_dep ktimer)
+	$(add_kdeapps_dep kwalletmanager)
+	$(add_kdeapps_dep sweeper)
+	cups? ( $(add_kdeapps_dep print-manager) )
+	floppy? ( $(add_kdeapps_dep kfloppy) )
+	lirc? ( $(add_kdeapps_dep kremotecontrol) )
+"

diff --git a/kde-apps/kdewebdev-meta/kdewebdev-meta-15.12.1.ebuild b/kde-apps/kdewebdev-meta/kdewebdev-meta-15.12.1.ebuild
new file mode 100644
index 0000000..fcfeb71
--- /dev/null
+++ b/kde-apps/kdewebdev-meta/kdewebdev-meta-15.12.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="KDE WebDev - merge this to pull in all kdewebdev-derived packages"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+# FIXME: Add back when ported
+# $(add_kdeapps_dep klinkstatus)
+RDEPEND="
+	$(add_kdeapps_dep kfilereplace)
+	$(add_kdeapps_dep kimagemapeditor)
+	$(add_kdeapps_dep kommander)
+"

diff --git a/kde-apps/kdf/kdf-15.12.1.ebuild b/kde-apps/kdf/kdf-15.12.1.ebuild
new file mode 100644
index 0000000..a6d2507
--- /dev/null
+++ b/kde-apps/kdf/kdf-15.12.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE free disk space utility"
+HOMEPAGE="https://utils.kde.org/projects/kdf"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kdgantt2/kdgantt2-15.12.1.ebuild b/kde-apps/kdgantt2/kdgantt2-15.12.1.ebuild
new file mode 100644
index 0000000..08a84dc
--- /dev/null
+++ b/kde-apps/kdgantt2/kdgantt2-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="KDGantt library"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/kdialog/kdialog-15.12.1.ebuild b/kde-apps/kdialog/kdialog-15.12.1.ebuild
new file mode 100644
index 0000000..f9bc4bf
--- /dev/null
+++ b/kde-apps/kdialog/kdialog-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-baseapps"
+inherit kde4-meta
+
+DESCRIPTION="KDialog can be used to show nice dialog boxes from shell scripts"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kdiamond/kdiamond-15.12.1.ebuild b/kde-apps/kdiamond/kdiamond-15.12.1.ebuild
new file mode 100644
index 0000000..76cbaa1
--- /dev/null
+++ b/kde-apps/kdiamond/kdiamond-15.12.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="A KDE three-in-a-row game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kdiamond/
+	https://games.kde.org/game.php?game=kdiamond
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kdontchangethehostname/kdontchangethehostname-15.12.1.ebuild b/kde-apps/kdontchangethehostname/kdontchangethehostname-15.12.1.ebuild
new file mode 100644
index 0000000..8a654c8
--- /dev/null
+++ b/kde-apps/kdontchangethehostname/kdontchangethehostname-15.12.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="Tool to inform KDE about a change in hostname"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	x11-apps/xauth
+"

diff --git a/kde-apps/keditbookmarks/keditbookmarks-15.12.1.ebuild b/kde-apps/keditbookmarks/keditbookmarks-15.12.1.ebuild
new file mode 100644
index 0000000..c2ea832
--- /dev/null
+++ b/kde-apps/keditbookmarks/keditbookmarks-15.12.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-baseapps"
+VIRTUALX_REQUIRED="test"
+inherit kde4-meta
+
+DESCRIPTION="KDE's bookmarks editor"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkonq)
+"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="
+	lib/konq/
+"

diff --git a/kde-apps/keditfiletype/keditfiletype-15.12.1.ebuild b/kde-apps/keditfiletype/keditfiletype-15.12.1.ebuild
new file mode 100644
index 0000000..c9da8ba
--- /dev/null
+++ b/kde-apps/keditfiletype/keditfiletype-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE mime/file type assocciation editor"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+# test fails, last checked for 4.2.89
+RESTRICT=test

diff --git a/kde-apps/kfile/kfile-15.12.1.ebuild b/kde-apps/kfile/kfile-15.12.1.ebuild
new file mode 100644
index 0000000..023dd7a
--- /dev/null
+++ b/kde-apps/kfile/kfile-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="A commandline frontend to KFileMetaInfo"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kfilereplace/kfilereplace-15.12.1.ebuild b/kde-apps/kfilereplace/kfilereplace-15.12.1.ebuild
new file mode 100644
index 0000000..fd571e3
--- /dev/null
+++ b/kde-apps/kfilereplace/kfilereplace-15.12.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+KDE_HANDBOOK="optional"
+KMNAME="kdewebdev"
+KDE_SCM="svn"
+inherit kde4-meta
+
+DESCRIPTION="KDE web development - powerful search and replace in multiple files"
+HOMEPAGE="https://www.kde.org/applications/utilities/kfilereplace/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kfind/kfind-15.12.1.ebuild b/kde-apps/kfind/kfind-15.12.1.ebuild
new file mode 100644
index 0000000..79e0f7a
--- /dev/null
+++ b/kde-apps/kfind/kfind-15.12.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-baseapps"
+inherit kde4-meta
+
+DESCRIPTION="KDE file finder utility"
+HOMEPAGE="https://www.kde.org/applications/utilities/kfind/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkonq)
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kfloppy/kfloppy-15.12.1.ebuild b/kde-apps/kfloppy/kfloppy-15.12.1.ebuild
new file mode 100644
index 0000000..327b3c6
--- /dev/null
+++ b/kde-apps/kfloppy/kfloppy-15.12.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KFloppy - formats disks and puts a DOS or ext2fs filesystem on them"
+HOMEPAGE="
+	https://www.kde.org/applications/utilities/kfloppy/
+	https://utils.kde.org/projects/kfloppy/
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kfmclient/kfmclient-15.12.1.ebuild b/kde-apps/kfmclient/kfmclient-15.12.1.ebuild
new file mode 100644
index 0000000..814aa57
--- /dev/null
+++ b/kde-apps/kfmclient/kfmclient-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-baseapps"
+KMMODULE="konqueror/client"
+inherit kde4-meta
+
+DESCRIPTION="KDE tool for opening URLs from the command line"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+KMEXTRACTONLY="
+	konqueror/kfmclient.desktop
+	konqueror/kfmclient_dir.desktop
+	konqueror/kfmclient_html.desktop
+	konqueror/kfmclient_war.desktop
+	konqueror/src/org.kde.Konqueror.Main.xml
+	konqueror/src/org.kde.Konqueror.MainWindow.xml
+"
+
+src_prepare() {
+	kde4-meta_src_prepare
+
+	# Do not install non-kfmclient *.desktop files
+	sed -e "/konqbrowser\.desktop/d" \
+		-e "/konqueror\.desktop/s/^/#DONOTWANT/" \
+		-e "/install(FILES profile/s/^/#DONOTWANT/" \
+		-e "/install(FILES konqueror.appdata.xml/s/^/#DONOTWANT/" \
+		-i konqueror/CMakeLists.txt \
+		|| die "Failed to omit .desktop files"
+}

diff --git a/kde-apps/kfourinline/kfourinline-15.12.1.ebuild b/kde-apps/kfourinline/kfourinline-15.12.1.ebuild
new file mode 100644
index 0000000..3087035
--- /dev/null
+++ b/kde-apps/kfourinline/kfourinline-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_PUNT_BOGUS_DEPS="true"
+inherit kde5
+
+DESCRIPTION="KDE four-in-a-row game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kfourinline/
+	https://games.kde.org/game.php?game=kfourinline
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kdnssd)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kgeography/kgeography-15.12.1.ebuild b/kde-apps/kgeography/kgeography-15.12.1.ebuild
new file mode 100644
index 0000000..77a3ac0
--- /dev/null
+++ b/kde-apps/kgeography/kgeography-15.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Geography learning tool"
+HOMEPAGE="https://edu.kde.org/applications/miscellaneous/kgeography
+https://edu.kde.org/applications/all/kgeography"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-15.12.0-kcrash.patch"
+	"${FILESDIR}/${PN}-15.12.0-kservice.patch"
+)

diff --git a/kde-apps/kget/kget-15.12.1.ebuild b/kde-apps/kget/kget-15.12.1.ebuild
new file mode 100644
index 0000000..0656722
--- /dev/null
+++ b/kde-apps/kget/kget-15.12.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="An advanced download manager for KDE"
+HOMEPAGE="https://www.kde.org/applications/internet/kget/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug bittorrent gpg mms sqlite webkit"
+
+RDEPEND="
+	app-crypt/qca:2[qt4]
+	$(add_kdeapps_dep libkonq)
+	$(add_kdebase_dep libkworkspace '' 4.11)
+	bittorrent? ( >=net-libs/libktorrent-1.0.3 )
+	gpg? ( || ( $(add_kdeapps_dep gpgmepp) $(add_kdeapps_dep kdepimlibs) ) )
+	mms? ( media-libs/libmms )
+	sqlite? ( dev-db/sqlite:3 )
+	webkit? ( >=kde-misc/kwebkitpart-0.9.6:4 )
+"
+DEPEND="${RDEPEND}
+	dev-libs/boost
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DWITH_NepomukCore=OFF
+		-DWITH_NepomukWidgets=OFF
+		$(cmake-utils_use_with bittorrent KTorrent)
+		$(cmake-utils_use_with gpg QGpgme)
+		$(cmake-utils_use_with mms LibMms)
+		$(cmake-utils_use_with sqlite)
+		$(cmake-utils_use_with webkit KWebKitPart)
+	)
+	kde4-base_src_configure
+}

diff --git a/kde-apps/kglobalaccel/kglobalaccel-15.12.1.ebuild b/kde-apps/kglobalaccel/kglobalaccel-15.12.1.ebuild
new file mode 100644
index 0000000..78d7b9d
--- /dev/null
+++ b/kde-apps/kglobalaccel/kglobalaccel-15.12.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE's Global Shortcut Daemon"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+src_configure() {
+	local mycmakeargs=(
+		-DKDEBASE_KGLOBALACCEL_REMOVE_OBSOLETE_KDED_DESKTOP_FILE=NOTFOUND
+		-DKDEBASE_KGLOBALACCEL_REMOVE_OBSOLETE_KDED_PLUGIN=NOTFOUND
+	)
+
+	kde4-meta_src_configure
+}

diff --git a/kde-apps/kgoldrunner/kgoldrunner-15.12.1.ebuild b/kde-apps/kgoldrunner/kgoldrunner-15.12.1.ebuild
new file mode 100644
index 0000000..6b2f15e
--- /dev/null
+++ b/kde-apps/kgoldrunner/kgoldrunner-15.12.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="KDE: KGoldrunner is a game of action and puzzle solving"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kgoldrunner/
+	https://games.kde.org/game.php?game=kgoldrunner
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkdegames)
+	media-libs/libsndfile
+	media-libs/openal
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kgpg/kgpg-15.12.1.ebuild b/kde-apps/kgpg/kgpg-15.12.1.ebuild
new file mode 100644
index 0000000..629e1d0
--- /dev/null
+++ b/kde-apps/kgpg/kgpg-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="gpg"
+inherit kde4-base
+
+DESCRIPTION="KDE gpg keyring manager"
+HOMEPAGE="https://www.kde.org/applications/utilities/kgpg
+https://utils.kde.org/projects/kgpg"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep kdepimlibs)
+"
+RDEPEND="${DEPEND}
+	app-crypt/gnupg
+"
+
+pkg_postinst() {
+	kde4-base_pkg_postinst
+
+	if ! has_version 'app-crypt/dirmngr' && ! has_version '>=app-crypt/gnupg-2.1'; then
+		elog "For improved key search functionality, install app-crypt/dirmngr."
+	fi
+}

diff --git a/kde-apps/khangman/khangman-15.12.1.ebuild b/kde-apps/khangman/khangman-15.12.1.ebuild
new file mode 100644
index 0000000..e9d4282
--- /dev/null
+++ b/kde-apps/khangman/khangman-15.12.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="Classical hangman game for KDE"
+HOMEPAGE="https://www.kde.org/applications/education/khangman
+https://edu.kde.org/khangman"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkeduvocdocument)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	media-libs/phonon[qt5]
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep kdeedu-data)
+"

diff --git a/kde-apps/kholidays/kholidays-15.12.1.ebuild b/kde-apps/kholidays/kholidays-15.12.1.ebuild
new file mode 100644
index 0000000..129bda2
--- /dev/null
+++ b/kde-apps/kholidays/kholidays-15.12.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library to determine holidays and other special events for a geographical region"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""

diff --git a/kde-apps/kiconfinder/kiconfinder-15.12.1.ebuild b/kde-apps/kiconfinder/kiconfinder-15.12.1.ebuild
new file mode 100644
index 0000000..53c3b8e
--- /dev/null
+++ b/kde-apps/kiconfinder/kiconfinder-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="Finds an icon based on its name"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kidentitymanagement/kidentitymanagement-15.12.1.ebuild b/kde-apps/kidentitymanagement/kidentitymanagement-15.12.1.ebuild
new file mode 100644
index 0000000..bb43c9c
--- /dev/null
+++ b/kde-apps/kidentitymanagement/kidentitymanagement-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Library for managing identitites"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/kig/kig-15.12.1.ebuild b/kde-apps/kig/kig-15.12.1.ebuild
new file mode 100644
index 0000000..ed59106
--- /dev/null
+++ b/kde-apps/kig/kig-15.12.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK=true
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1 kde5
+
+DESCRIPTION="KDE Interactive Geometry tool"
+HOMEPAGE="https://www.kde.org/applications/education/kig https://edu.kde.org/kig"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="scripting"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+	${PYTHON_DEPS}
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	scripting? ( >=dev-libs/boost-1.48:=[python,${PYTHON_USEDEP}] )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" )
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	kde5_pkg_setup
+}
+
+src_prepare() {
+	kde5_src_prepare
+
+	python_fix_shebang .
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package scripting BoostPython)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kigo/kigo-15.12.1.ebuild b/kde-apps/kigo/kigo-15.12.1.ebuild
new file mode 100644
index 0000000..ea70d3c
--- /dev/null
+++ b/kde-apps/kigo/kigo-15.12.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE Go game"
+HOMEPAGE="https://www.kde.org/applications/games/kigo/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="
+	${DEPEND}
+	games-board/gnugo
+"

diff --git a/kde-apps/killbots/killbots-15.12.1.ebuild b/kde-apps/killbots/killbots-15.12.1.ebuild
new file mode 100644
index 0000000..c3a2a6e
--- /dev/null
+++ b/kde-apps/killbots/killbots-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Kill the bots or they kill you!"
+HOMEPAGE="https://www.kde.org/applications/games/killbots/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+DOCS=()

diff --git a/kde-apps/kimagemapeditor/kimagemapeditor-15.12.1.ebuild b/kde-apps/kimagemapeditor/kimagemapeditor-15.12.1.ebuild
new file mode 100644
index 0000000..3d4f103
--- /dev/null
+++ b/kde-apps/kimagemapeditor/kimagemapeditor-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kdewebdev"
+KDE_SCM="svn"
+inherit kde4-meta
+
+DESCRIPTION="KDE web development - image map editor"
+HOMEPAGE="https://www.kde.org/applications/development/kimagemapeditor/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kimap/kimap-15.12.1.ebuild b/kde-apps/kimap/kimap-15.12.1.ebuild
new file mode 100644
index 0000000..3550335
--- /dev/null
+++ b/kde-apps/kimap/kimap-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library for interacting with IMAP servers"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_kdeapps_dep kmime)
+	dev-libs/cyrus-sasl
+	dev-qt/qtgui:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kimgio/kimgio-15.12.1.ebuild b/kde-apps/kimgio/kimgio-15.12.1.ebuild
new file mode 100644
index 0000000..e1e3065
--- /dev/null
+++ b/kde-apps/kimgio/kimgio-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE WebP image format plugin"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="media-libs/libwebp:="
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kio-extras/kio-extras-15.12.1.ebuild b/kde-apps/kio-extras/kio-extras-15.12.1.ebuild
new file mode 100644
index 0000000..87cd045
--- /dev/null
+++ b/kde-apps/kio-extras/kio-extras-15.12.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit fdo-mime kde5
+
+DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kio-extras"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="exif mtp phonon samba +sftp slp"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive 'bzip2,lzma')
+	$(add_frameworks_dep kbookmarks)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kdnssd)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep khtml)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kpty)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep solid)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	virtual/jpeg:0
+	exif? ( media-gfx/exiv2:= )
+	mtp? ( media-libs/libmtp:= )
+	phonon? ( media-libs/phonon[qt5] )
+	samba? ( || ( <net-fs/samba-4.0.0_alpha1[smbclient] >=net-fs/samba-4.0.0_alpha1[client] ) )
+	sftp? ( >=net-libs/libssh-0.6.0:=[sftp] )
+	slp? ( net-libs/openslp )
+"
+RDEPEND="${COMMON_DEPEND}
+	$(add_frameworks_dep kded)
+	!<kde-apps/kcontrol-15.08.0-r1:4
+"
+DEPEND="${COMMON_DEPEND}
+	x11-misc/shared-mime-info
+"
+
+# requires running kde environment
+RESTRICT="test"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package exif Exiv2)
+		$(cmake-utils_use_find_package mtp)
+		$(cmake-utils_use_find_package phonon Phonon4Qt5)
+		$(cmake-utils_use_find_package samba)
+		$(cmake-utils_use_find_package sftp LibSSH)
+		$(cmake-utils_use_find_package slp)
+	)
+
+	kde5_src_configure
+}
+
+pkg_postinst() {
+	kde5_pkg_postinst
+	fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+	kde5_pkg_postinst
+	fdo-mime_mime_database_update
+}

diff --git a/kde-apps/kioclient/kioclient-15.12.1.ebuild b/kde-apps/kioclient/kioclient-15.12.1.ebuild
new file mode 100644
index 0000000..12369fa
--- /dev/null
+++ b/kde-apps/kioclient/kioclient-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="Command-line tool for network-transparent operations"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kiriki/kiriki-15.12.1.ebuild b/kde-apps/kiriki/kiriki-15.12.1.ebuild
new file mode 100644
index 0000000..865b67a
--- /dev/null
+++ b/kde-apps/kiriki/kiriki-15.12.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_PUNT_BOGUS_DEPS="true"
+inherit kde5
+
+DESCRIPTION="A gtali clone"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kiriki/
+	https://games.kde.org/game.php?game=kiriki
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kiten/kiten-15.12.1.ebuild b/kde-apps/kiten/kiten-15.12.1.ebuild
new file mode 100644
index 0000000..f8755a1
--- /dev/null
+++ b/kde-apps/kiten/kiten-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK=true
+inherit kde5
+
+DESCRIPTION="KDE Japanese dictionary and reference"
+HOMEPAGE="https://www.kde.org/applications/education/kiten https://edu.kde.org/kiten"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep khtml)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kjumpingcube/kjumpingcube-15.12.1.ebuild b/kde-apps/kjumpingcube/kjumpingcube-15.12.1.ebuild
new file mode 100644
index 0000000..dcd8c94
--- /dev/null
+++ b/kde-apps/kjumpingcube/kjumpingcube-15.12.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_PUNT_BOGUS_DEPS="true"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="Tactical one or two player game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kjumpingcube/
+	https://games.kde.org/game.php?game=kjumpingcube
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kldap/kldap-15.12.1.ebuild b/kde-apps/kldap/kldap-15.12.1.ebuild
new file mode 100644
index 0000000..bf6ebd9
--- /dev/null
+++ b/kde-apps/kldap/kldap-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library for interacting with LDAP servers"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-libs/cyrus-sasl
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	net-nds/openldap
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/klettres/klettres-15.12.1.ebuild b/kde-apps/klettres/klettres-15.12.1.ebuild
new file mode 100644
index 0000000..3a878ad
--- /dev/null
+++ b/kde-apps/klettres/klettres-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK=true
+inherit kde5
+
+DESCRIPTION="Alphabet learning application"
+HOMEPAGE="https://www.kde.org/applications/education/klettres
+https://edu.kde.org/klettres"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	media-libs/phonon[qt5]
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/klickety/klickety-15.12.1.ebuild b/kde-apps/klickety/klickety-15.12.1.ebuild
new file mode 100644
index 0000000..f879efc
--- /dev/null
+++ b/kde-apps/klickety/klickety-15.12.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="A game almost the same as ksame, but a bit different by KDE"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=()

diff --git a/kde-apps/klines/klines-15.12.1.ebuild b/kde-apps/klines/klines-15.12.1.ebuild
new file mode 100644
index 0000000..d815b4c
--- /dev/null
+++ b/kde-apps/klines/klines-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="A little KDE game about balls and how to get rid of them"
+HOMEPAGE="
+	https://www.kde.org/applications/games/klines/
+	https://games.kde.org/game.php?game=klines
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS )

diff --git a/kde-apps/klinkstatus/klinkstatus-15.12.1.ebuild b/kde-apps/klinkstatus/klinkstatus-15.12.1.ebuild
new file mode 100644
index 0000000..acd0adc
--- /dev/null
+++ b/kde-apps/klinkstatus/klinkstatus-15.12.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kdewebdev"
+KDE_SCM="svn"
+inherit kde4-meta
+
+DESCRIPTION="KDE web development - link validity checker"
+HOMEPAGE="https://www.kde.org/applications/development/klinkstatus/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug tidy"
+
+DEPEND="
+	$(add_kdeapps_dep kdepimlibs)
+	tidy? ( app-text/htmltidy )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with tidy LibTidy)
+	)
+
+	kde4-meta_src_configure
+}
+
+pkg_postinst() {
+	kde4-meta_pkg_postinst
+
+	if ! has_version dev-lang/ruby ; then
+		elog "To use scripting in ${PN}, install dev-lang/ruby."
+	fi
+}

diff --git a/kde-apps/kmag/kmag-15.12.1.ebuild b/kde-apps/kmag/kmag-15.12.1.ebuild
new file mode 100644
index 0000000..07771ba
--- /dev/null
+++ b/kde-apps/kmag/kmag-15.12.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE screen magnifier"
+HOMEPAGE="https://www.kde.org/applications/utilities/kmag/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	$(add_kdeapps_dep kaccessible)
+"

diff --git a/kde-apps/kmahjongg/kmahjongg-15.12.1.ebuild b/kde-apps/kmahjongg/kmahjongg-15.12.1.ebuild
new file mode 100644
index 0000000..9cf084f
--- /dev/null
+++ b/kde-apps/kmahjongg/kmahjongg-15.12.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="Mahjongg for KDE"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kmahjongg/
+	https://games.kde.org/game.php?game=kmahjongg
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkdegames)
+	$(add_kdeapps_dep libkmahjongg)
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kmailtransport/kmailtransport-15.12.1.ebuild b/kde-apps/kmailtransport/kmailtransport-15.12.1.ebuild
new file mode 100644
index 0000000..2dad8b9
--- /dev/null
+++ b/kde-apps/kmailtransport/kmailtransport-15.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Mail transport service"
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"

diff --git a/kde-apps/kmbox/kmbox-15.12.1.ebuild b/kde-apps/kmbox/kmbox-15.12.1.ebuild
new file mode 100644
index 0000000..42b3b83
--- /dev/null
+++ b/kde-apps/kmbox/kmbox-15.12.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library for accessing MBox format mail storages"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="$(add_kdeapps_dep kmime)"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/kmime/kmime-15.12.1.ebuild b/kde-apps/kmime/kmime-15.12.1.ebuild
new file mode 100644
index 0000000..327c95c
--- /dev/null
+++ b/kde-apps/kmime/kmime-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Libary for handling mail messages and newsgroup articles"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep ki18n)
+"
+RDEPEND="${DEPEND}"
+
+src_test() {
+	# kmime-dateformattertest fails because of PM
+	LC_TIME=en_US kde5_src_test
+}

diff --git a/kde-apps/kmimetypefinder/kmimetypefinder-15.12.1.ebuild b/kde-apps/kmimetypefinder/kmimetypefinder-15.12.1.ebuild
new file mode 100644
index 0000000..3a21211
--- /dev/null
+++ b/kde-apps/kmimetypefinder/kmimetypefinder-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE application to report the mimetype for a given file"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kmines/kmines-15.12.1.ebuild b/kde-apps/kmines/kmines-15.12.1.ebuild
new file mode 100644
index 0000000..1291b04
--- /dev/null
+++ b/kde-apps/kmines/kmines-15.12.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_PUNT_BOGUS_DEPS="true"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="Classic mine sweeper game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kmines/
+	https://games.kde.org/game.php?game=kmines
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="phonon"
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	phonon? ( media-libs/phonon[qt5] )
+"
+
+RDEPEND="${DEPEND}"
+
+src_configure(){
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package phonon Phonon4Qt5)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kmix/kmix-15.12.1.ebuild b/kde-apps/kmix/kmix-15.12.1.ebuild
new file mode 100644
index 0000000..afc3c35
--- /dev/null
+++ b/kde-apps/kmix/kmix-15.12.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="false"
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Plasma mixer gui"
+HOMEPAGE="https://www.kde.org/applications/multimedia/kmix/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="alsa pulseaudio"
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep plasma)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	alsa? ( >=media-libs/alsa-lib-1.0.14a )
+	pulseaudio? (
+		media-libs/libcanberra
+		>=media-sound/pulseaudio-0.9.12
+	)
+"
+RDEPEND="${DEPEND}
+	$(add_plasma_dep kde-cli-tools)
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DKMIX_KF5_BUILD=ON
+		$(cmake-utils_use_find_package alsa Alsa)
+		$(cmake-utils_use_find_package pulseaudio Canberra)
+		$(cmake-utils_use_find_package pulseaudio PulseAudio)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kmousetool/kmousetool-15.12.1.ebuild b/kde-apps/kmousetool/kmousetool-15.12.1.ebuild
new file mode 100644
index 0000000..62227c2
--- /dev/null
+++ b/kde-apps/kmousetool/kmousetool-15.12.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE program that clicks the mouse for you"
+HOMEPAGE="https://www.kde.org/applications/utilities/kmousetool/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	$(add_kdeapps_dep knotify)
+"

diff --git a/kde-apps/kmouth/kmouth-15.12.1.ebuild b/kde-apps/kmouth/kmouth-15.12.1.ebuild
new file mode 100644
index 0000000..0852196
--- /dev/null
+++ b/kde-apps/kmouth/kmouth-15.12.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+EGIT_BRANCH="frameworks"
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="Text-to-speech synthesizer front end"
+HOMEPAGE="https://www.kde.org/applications/utilities/kmouth/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kmplot/kmplot-15.12.1.ebuild b/kde-apps/kmplot/kmplot-15.12.1.ebuild
new file mode 100644
index 0000000..ebe4c71
--- /dev/null
+++ b/kde-apps/kmplot/kmplot-15.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="Mathematical function plotter"
+HOMEPAGE="https://www.kde.org/applications/education/kmplot https://edu.kde.org/kmplot"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/knavalbattle/knavalbattle-15.12.1.ebuild b/kde-apps/knavalbattle/knavalbattle-15.12.1.ebuild
new file mode 100644
index 0000000..6397ae4
--- /dev/null
+++ b/kde-apps/knavalbattle/knavalbattle-15.12.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="Battleship clone by KDE"
+HOMEPAGE="
+	https://www.kde.org/applications/games/navalbattle/
+	https://games.kde.org/game.php?game=kbattleship
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdnssd)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS )

diff --git a/kde-apps/knetattach/knetattach-15.12.1.ebuild b/kde-apps/knetattach/knetattach-15.12.1.ebuild
new file mode 100644
index 0000000..39c9714
--- /dev/null
+++ b/kde-apps/knetattach/knetattach-15.12.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE network wizard"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/knetwalk/knetwalk-15.12.1.ebuild b/kde-apps/knetwalk/knetwalk-15.12.1.ebuild
new file mode 100644
index 0000000..ffc2c9c
--- /dev/null
+++ b/kde-apps/knetwalk/knetwalk-15.12.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE version of the popular NetWalk game for system administrators"
+HOMEPAGE="
+	https://www.kde.org/applications/games/knetwalk/
+	https://games.kde.org/game.php?game=knetwalk
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/knewstuff/knewstuff-15.12.1.ebuild b/kde-apps/knewstuff/knewstuff-15.12.1.ebuild
new file mode 100644
index 0000000..24fac08
--- /dev/null
+++ b/kde-apps/knewstuff/knewstuff-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE4 software to download and upload 'new stuff'"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/knotify/knotify-15.12.1.ebuild b/kde-apps/knotify/knotify-15.12.1.ebuild
new file mode 100644
index 0000000..e0780da
--- /dev/null
+++ b/kde-apps/knotify/knotify-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="The KDE notification daemon"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kolf/kolf-15.12.1.ebuild b/kde-apps/kolf/kolf-15.12.1.ebuild
new file mode 100644
index 0000000..302f0b2
--- /dev/null
+++ b/kde-apps/kolf/kolf-15.12.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="KDE Minigolf Game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kolf/
+	https://games.kde.org/game.php?game=kolf
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kollision/kollision-15.12.1.ebuild b/kde-apps/kollision/kollision-15.12.1.ebuild
new file mode 100644
index 0000000..df3004c
--- /dev/null
+++ b/kde-apps/kollision/kollision-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Simple ball dodging game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kollision/
+	https://games.kde.org/game.php?game=kollision
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild b/kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild
new file mode 100644
index 0000000..8b1c5a6
--- /dev/null
+++ b/kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="Paint Program for KDE"
+HOMEPAGE="https://www.kde.org/applications/graphics/kolourpaint/"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="BSD LGPL-2"
+IUSE="debug"
+
+DEPEND="media-libs/qimageblitz"
+RDEPEND="${DEPEND}"
+
+pkg_postinst() {
+	kde4-base_pkg_postinst
+
+	if ! has_version kde-apps/ksaneplugin:${SLOT} ; then
+		elog "To enable scanner support, please install kde-apps/ksaneplugin:${SLOT}"
+	fi
+}

diff --git a/kde-apps/kommander/kommander-15.12.1.ebuild b/kde-apps/kommander/kommander-15.12.1.ebuild
new file mode 100644
index 0000000..5d3a96f
--- /dev/null
+++ b/kde-apps/kommander/kommander-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kdewebdev"
+KDE_SCM="svn"
+inherit kde4-meta
+
+DESCRIPTION="KDE dialog system for scripting"
+HOMEPAGE="https://www.kde.org/applications/development/kommander/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kompare/kompare-15.12.1.ebuild b/kde-apps/kompare/kompare-15.12.1.ebuild
new file mode 100644
index 0000000..56e5479
--- /dev/null
+++ b/kde-apps/kompare/kompare-15.12.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Kompare is a program to view the differences between files"
+HOMEPAGE="https://www.kde.org/applications/development/kompare
+http://www.caffeinated.me.uk/kompare"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkomparediff2)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+"
+
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/konq-plugins/konq-plugins-15.12.1.ebuild b/kde-apps/konq-plugins/konq-plugins-15.12.1.ebuild
new file mode 100644
index 0000000..0d1f773
--- /dev/null
+++ b/kde-apps/konq-plugins/konq-plugins-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-baseapps"
+inherit kde4-meta
+
+DESCRIPTION="Various plugins for konqueror"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug tidy"
+
+DEPEND="
+	$(add_kdeapps_dep libkonq)
+	tidy? ( app-text/htmltidy )
+"
+RDEPEND="${DEPEND}
+	!kde-misc/konq-plugins
+	$(add_kdeapps_dep kcmshell)
+	$(add_kdeapps_dep konqueror)
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DKdeWebKit=OFF
+		-DWebKitPart=OFF
+		$(cmake-utils_use_with tidy LibTidy)
+	)
+
+	kde4-meta_src_configure
+}

diff --git a/kde-apps/konqueror/konqueror-15.12.1.ebuild b/kde-apps/konqueror/konqueror-15.12.1.ebuild
new file mode 100644
index 0000000..e36d93a
--- /dev/null
+++ b/kde-apps/konqueror/konqueror-15.12.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-baseapps"
+inherit flag-o-matic kde4-meta
+
+DESCRIPTION="KDE: Web browser and file manager"
+HOMEPAGE="
+	https://www.kde.org/applications/internet/konqueror/
+	https://konqueror.org/
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+bookmarks debug svg"
+# 4 of 4 tests fail. Last checked for 4.0.3
+RESTRICT="test"
+
+DEPEND="
+	$(add_kdeapps_dep libkonq)
+"
+
+# bug #544630: evince[nsplugin] crashes konqueror
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep kfind)
+	$(add_kdeapps_dep kfmclient)
+	$(add_kdeapps_dep kurifilter-plugins)
+	bookmarks? ( $(add_kdeapps_dep keditbookmarks) )
+	svg? ( $(add_kdeapps_dep svgpart) )
+	!app-text/evince[nsplugin]
+"
+
+KMEXTRACTONLY="
+	konqueror/client/
+	lib/konq/
+"
+
+src_prepare() {
+	[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc
+
+	kde4-meta_src_prepare
+
+	# Do not install *.desktop files for kfmclient
+	sed -e "/kfmclient\.desktop/d" -i konqueror/CMakeLists.txt \
+		|| die "Failed to omit .desktop files"
+}
+
+pkg_postinst() {
+	kde4-meta_pkg_postinst
+
+	if ! has_version kde-apps/dolphin:${SLOT} ; then
+		elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
+		elog "kde-apps/dolphin:${SLOT}"
+	fi
+
+	if ! has_version virtual/jre ; then
+		elog "To use Java on webpages install virtual/jre."
+	fi
+}

diff --git a/kde-apps/konquest/konquest-15.12.1.ebuild b/kde-apps/konquest/konquest-15.12.1.ebuild
new file mode 100644
index 0000000..c6de84e
--- /dev/null
+++ b/kde-apps/konquest/konquest-15.12.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="Galactic Strategy KDE Game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/konquest/
+	https://games.kde.org/game.php?game=konquest
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/konsole/konsole-15.12.1.ebuild b/kde-apps/konsole/konsole-15.12.1.ebuild
new file mode 100644
index 0000000..b89b816
--- /dev/null
+++ b/kde-apps/konsole/konsole-15.12.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE's terminal emulator"
+HOMEPAGE="https://www.kde.org/applications/system/konsole https://konsole.kde.org"
+
+KEYWORDS=" ~amd64 ~x86"
+IUSE="X"
+
+DEPEND="
+	$(add_frameworks_dep kbookmarks)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kinit)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kpty)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtscript:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	X? ( x11-libs/libX11 )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kontactinterface/kontactinterface-15.12.1.ebuild b/kde-apps/kontactinterface/kontactinterface-15.12.1.ebuild
new file mode 100644
index 0000000..d4701cb
--- /dev/null
+++ b/kde-apps/kontactinterface/kontactinterface-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+inherit kde5
+
+DESCRIPTION="Library for embedding KParts in a Kontact component"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/kopete/kopete-15.12.1.ebuild b/kde-apps/kopete/kopete-15.12.1.ebuild
new file mode 100644
index 0000000..0685e5a
--- /dev/null
+++ b/kde-apps/kopete/kopete-15.12.1.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE multi-protocol IM client"
+HOMEPAGE="https://kopete.kde.org https://www.kde.org/applications/internet/kopete"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug ssl v4l"
+
+# tests hang, last checked for 4.2.96
+RESTRICT=test
+
+# Available plugins
+#
+#	addbookmarks: NO DEPS
+#	alias: NO DEPS (disabled upstream)
+#	autoreplace: NO DEPS
+#	contactnotes: NO DEPS
+#	highlight: NO DEPS
+#	history: NO DEPS
+#	latex: virtual/latex as RDEPEND
+#	nowlistening: NO DEPS
+#	otr: libotr
+#	pipes: NO DEPS
+#	privacy: NO DEPS
+#	statistics: dev-db/sqlite:3
+#	texteffect: NO DEPS
+#	translator: NO DEPS
+#	urlpicpreview: NO DEPS
+#	webpresence: libxml2 libxslt
+# NOTE: By default we enable all plugins that don't have any dependencies
+PLUGINS="+addbookmarks +autoreplace +contactnotes +highlight +history latex
++nowlistening otr +pipes +privacy +statistics +texteffect +translator
++urlpicpreview webpresence"
+
+# Available protocols
+#
+#	gadu: net-libs/libgadu @since 4.3
+#	groupwise: app-crypt/qca:2
+#	irc: NO DEPS, probably will fail so inform user about it
+#	xmpp: net-dns/libidn app-crypt/qca:2 ENABLED BY DEFAULT NETWORK
+#	jingle: media-libs/speex net-libs/ortp DISABLED BY UPSTREAM
+#	meanwhile: net-libs/meanwhile
+#	oscar: NO DEPS
+#   telepathy: net-libs/decibel
+#   testbed: NO DEPS
+#	winpopup: NO DEPS (we're adding samba as RDEPEND so it works)
+#	yahoo: media-libs/jasper
+#	zeroconf (bonjour): NO DEPS
+PROTOCOLS="gadu groupwise jingle meanwhile oscar skype
+sms testbed winpopup +xmpp yahoo zeroconf"
+
+# disabled protocols
+#   telepathy: net-libs/decibel
+#   irc: NO DEPS
+#   msn: net-libs/libmsn
+#	qq: NO DEPS
+
+IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
+
+COMMONDEPEND="
+	$(add_kdebase_dep kdelibs 'zeroconf?')
+	$(add_kdeapps_dep kdepimlibs)
+	dev-libs/libpcre
+	>=dev-qt/qtgui-4.4.0:4[mng]
+	media-libs/phonon[qt4]
+	media-libs/qimageblitz
+	!aqua? (
+		x11-libs/libX11
+		x11-libs/libXScrnSaver
+	)
+	gadu? ( >=net-libs/libgadu-1.8.0[threads] )
+	groupwise? ( app-crypt/qca:2[qt4(+)] )
+	jingle? (
+		dev-libs/expat
+		dev-libs/openssl:0
+		>=media-libs/mediastreamer-2.3.0
+		media-libs/speex
+		net-libs/libsrtp
+		net-libs/ortp:=
+	)
+	meanwhile? ( net-libs/meanwhile )
+	otr? ( >=net-libs/libotr-4.0.0 )
+	statistics? ( dev-db/sqlite:3 )
+	v4l? ( media-libs/libv4l )
+	webpresence? (
+		dev-libs/libxml2
+		dev-libs/libxslt
+	)
+	xmpp? (
+		app-crypt/qca:2[qt4(+)]
+		net-dns/libidn
+		sys-libs/zlib
+	)
+	yahoo? ( media-libs/jasper )
+"
+RDEPEND="${COMMONDEPEND}
+	latex? (
+		|| (
+			media-gfx/imagemagick
+			media-gfx/graphicsmagick[imagemagick]
+		)
+		virtual/latex-base
+	)
+	sms? ( app-mobilephone/smssend )
+	ssl? ( app-crypt/qca:2[openssl] )
+	winpopup? ( net-fs/samba )
+"
+#	telepathy? ( net-libs/decibel )"
+DEPEND="${COMMONDEPEND}
+	jingle? ( dev-libs/jsoncpp )
+	!aqua? ( x11-proto/scrnsaverproto )
+"
+
+src_configure() {
+	local x x2
+	# Handle common stuff
+	local mycmakeargs=(
+		$(cmake-utils_use_with jingle GOOGLETALK)
+		$(cmake-utils_use_with jingle LiboRTP)
+		$(cmake-utils_use_with jingle Mediastreamer)
+		$(cmake-utils_use_with jingle Speex)
+		$(cmake-utils_use_disable v4l VIDEOSUPPORT)
+	)
+	# enable protocols
+	for x in ${PROTOCOLS}; do
+		case ${x/+/} in
+			zeroconf) x2=bonjour ;;
+			xmpp) x2=jabber ;;
+			*) x2='' ;;
+		esac
+		mycmakeargs+=($(cmake-utils_use_with ${x/+/} ${x2}))
+	done
+
+	mycmakeargs+=( -DWITH_Libmsn=OFF -DWITH_qq=OFF )
+
+	# enable plugins
+	for x in ${PLUGINS}; do
+		mycmakeargs+=($(cmake-utils_use_with ${x/+/}))
+	done
+
+	kde4-base_src_configure
+}
+
+pkg_postinst() {
+	kde4-base_pkg_postinst
+
+	#if use telepathy; then
+	#	elog "To use kopete telepathy plugins, you need to start gabble first:"
+	#	elog "GABBLE_PERSIST=1 telepathy-gabble &"
+	#	elog "export TELEPATHY_DATA_PATH='${EPREFIX}/usr/share/telepathy/managers/'"
+	#fi
+
+	if ! use ssl; then
+		if use xmpp ; then # || use irc; then
+			if ! has_version "app-crypt/qca:2[openssl]" ; then
+				elog "In order to use ssl in xmpp you'll need to"
+				elog "install app-crypt/qca package with USE=openssl."
+			fi
+		fi
+	fi
+}

diff --git a/kde-apps/kpasswdserver/kpasswdserver-15.12.1.ebuild b/kde-apps/kpasswdserver/kpasswdserver-15.12.1.ebuild
new file mode 100644
index 0000000..60cd2c7
--- /dev/null
+++ b/kde-apps/kpasswdserver/kpasswdserver-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDED Password Module"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RESTRICT="test"
+# bug 393097

diff --git a/kde-apps/kpat/kpat-15.12.1.ebuild b/kde-apps/kpat/kpat-15.12.1.ebuild
new file mode 100644
index 0000000..47907c1
--- /dev/null
+++ b/kde-apps/kpat/kpat-15.12.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_PUNT_BOGUS_DEPS="true"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="KDE patience game"
+HOMEPAGE="https://games.kde.org/game.php?game=kpat"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+# Dependencies needs upstream cleanup
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtdeclarative:5[widgets]
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+	x11-misc/shared-mime-info
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kpimtextedit/kpimtextedit-15.12.1.ebuild b/kde-apps/kpimtextedit/kpimtextedit-15.12.1.ebuild
new file mode 100644
index 0000000..fa5bde3
--- /dev/null
+++ b/kde-apps/kpimtextedit/kpimtextedit-15.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="A textedit with PIM-specific features"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kemoticons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	dev-libs/grantlee:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/kppp/kppp-15.12.1.ebuild b/kde-apps/kppp/kppp-15.12.1.ebuild
new file mode 100644
index 0000000..8d50188
--- /dev/null
+++ b/kde-apps/kppp/kppp-15.12.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE: A dialer and front-end to pppd"
+HOMEPAGE="https://www.kde.org/applications/internet/kppp"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	net-dialup/ppp
+"

diff --git a/kde-apps/kqtquickcharts/kqtquickcharts-15.12.1.ebuild b/kde-apps/kqtquickcharts/kqtquickcharts-15.12.1.ebuild
new file mode 100644
index 0000000..356bd24
--- /dev/null
+++ b/kde-apps/kqtquickcharts/kqtquickcharts-15.12.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DECLARATIVE_REQUIRED="always"
+inherit kde4-base
+
+DESCRIPTION="Qt Quick 1 plugin for beautiful and interactive charts"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="$(add_kdeapps_dep plasma-runtime)"

diff --git a/kde-apps/kquitapp/kquitapp-15.12.1.ebuild b/kde-apps/kquitapp/kquitapp-15.12.1.ebuild
new file mode 100644
index 0000000..b6217d4
--- /dev/null
+++ b/kde-apps/kquitapp/kquitapp-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="A CLI application quitter"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/krdc/krdc-15.12.1.ebuild b/kde-apps/krdc/krdc-15.12.1.ebuild
new file mode 100644
index 0000000..947d9aa
--- /dev/null
+++ b/kde-apps/krdc/krdc-15.12.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE remote desktop connection (RDP and VNC) client"
+HOMEPAGE="https://www.kde.org/applications/internet/krdc/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug jpeg +rdesktop telepathy vnc zeroconf"
+
+#nx? ( >=net-misc/nxcl-0.9-r1 ) disabled upstream, last checked 4.13.1
+
+DEPEND="
+	jpeg? ( virtual/jpeg:0 )
+	telepathy? ( >=net-libs/telepathy-qt-0.9[qt4] )
+	vnc? ( >=net-libs/libvncserver-0.9 )
+	zeroconf? ( net-dns/avahi )
+"
+RDEPEND="${DEPEND}
+	rdesktop? ( >=net-misc/freerdp-1.1.0_beta1[X] )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with jpeg)
+		$(cmake-utils_use_with telepathy TelepathyQt4)
+		$(cmake-utils_use_with vnc LibVNCServer)
+		$(cmake-utils_use_with zeroconf DNSSD)
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/kreadconfig/kreadconfig-15.12.1.ebuild b/kde-apps/kreadconfig/kreadconfig-15.12.1.ebuild
new file mode 100644
index 0000000..48a4392
--- /dev/null
+++ b/kde-apps/kreadconfig/kreadconfig-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE: A command-line tool to read KConfig entries"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kremotecontrol/kremotecontrol-15.12.1.ebuild b/kde-apps/kremotecontrol/kremotecontrol-15.12.1.ebuild
new file mode 100644
index 0000000..efb7961
--- /dev/null
+++ b/kde-apps/kremotecontrol/kremotecontrol-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE frontend for the Linux Infrared Remote Control system"
+HOMEPAGE="https://www.kde.org/applications/utilities/kremotecontrol
+https://utils.kde.org/projects/kremotecontrol"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	app-misc/lirc
+"

diff --git a/kde-apps/kreversi/kreversi-15.12.1.ebuild b/kde-apps/kreversi/kreversi-15.12.1.ebuild
new file mode 100644
index 0000000..e108326
--- /dev/null
+++ b/kde-apps/kreversi/kreversi-15.12.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="KDE Board Game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kreversi/
+	https://games.kde.org/game.php?game=kreversi
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/krfb/krfb-15.12.1.ebuild b/kde-apps/krfb/krfb-15.12.1.ebuild
new file mode 100644
index 0000000..340f646
--- /dev/null
+++ b/kde-apps/krfb/krfb-15.12.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="VNC-compatible server to share KDE desktops"
+HOMEPAGE="https://www.kde.org/applications/system/krfb/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdnssd)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtx11extras:5
+	>=net-libs/libvncserver-0.9.9
+	sys-libs/zlib
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXtst
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kross-interpreters/kross-interpreters-15.12.1.ebuild b/kde-apps/kross-interpreters/kross-interpreters-15.12.1.ebuild
new file mode 100644
index 0000000..1a29d22
--- /dev/null
+++ b/kde-apps/kross-interpreters/kross-interpreters-15.12.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1 kde5
+
+DESCRIPTION="Kross interpreter plugins for programming languages"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+	$(add_frameworks_dep kross)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	kde5_pkg_setup
+}

diff --git a/kde-apps/kruler/kruler-15.12.1.ebuild b/kde-apps/kruler/kruler-15.12.1.ebuild
new file mode 100644
index 0000000..978cfee
--- /dev/null
+++ b/kde-apps/kruler/kruler-15.12.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Screen ruler for Plasma"
+HOMEPAGE="https://www.kde.org/applications/graphics/kruler/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="X"
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	X? (
+		dev-qt/qtx11extras:5
+		x11-libs/libxcb
+	)
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/ksaneplugin/ksaneplugin-15.12.1.ebuild b/kde-apps/ksaneplugin/ksaneplugin-15.12.1.ebuild
new file mode 100644
index 0000000..6f94f57
--- /dev/null
+++ b/kde-apps/ksaneplugin/ksaneplugin-15.12.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="SANE Plugin for KDE"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libksane)
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kscd/kscd-15.12.1.ebuild b/kde-apps/kscd/kscd-15.12.1.ebuild
new file mode 100644
index 0000000..4e1170a
--- /dev/null
+++ b/kde-apps/kscd/kscd-15.12.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="KDE CD player"
+HOMEPAGE="https://www.kde.org/applications/multimedia/kscd/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkcddb)
+	$(add_kdeapps_dep libkcompactdisc)
+	media-libs/musicbrainz:3
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kshisen/kshisen-15.12.1.ebuild b/kde-apps/kshisen/kshisen-15.12.1.ebuild
new file mode 100644
index 0000000..aac9b75
--- /dev/null
+++ b/kde-apps/kshisen/kshisen-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="A KDE game similiar to Mahjongg"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kshisen/
+	https://games.kde.org/game.php?game=kshisen
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	$(add_kdeapps_dep libkmahjongg)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/ksirk/ksirk-15.12.1.ebuild b/kde-apps/ksirk/ksirk-15.12.1.ebuild
new file mode 100644
index 0000000..6ff43f1
--- /dev/null
+++ b/kde-apps/ksirk/ksirk-15.12.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE: Ksirk is a KDE port of the board game risk"
+HOMEPAGE="
+	https://www.kde.org/applications/games/ksirk/
+	https://games.kde.org/game.php?game=ksirk
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	app-crypt/qca:2[qt4]
+	$(add_kdeapps_dep libkdegames)
+	sys-libs/zlib
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/ksnakeduel/ksnakeduel-15.12.1.ebuild b/kde-apps/ksnakeduel/ksnakeduel-15.12.1.ebuild
new file mode 100644
index 0000000..793ce16
--- /dev/null
+++ b/kde-apps/ksnakeduel/ksnakeduel-15.12.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="KDE Tron game"
+HOMEPAGE="https://www.kde.org/applications/games/ksnakeduel/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kspaceduel/kspaceduel-15.12.1.ebuild b/kde-apps/kspaceduel/kspaceduel-15.12.1.ebuild
new file mode 100644
index 0000000..5c3e667
--- /dev/null
+++ b/kde-apps/kspaceduel/kspaceduel-15.12.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="KDE Space Game"
+HOMEPAGE="
+	https://www.kde.org/applications/games/kspaceduel/
+	https://games.kde.org/game.php?game=kspaceduel
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/ksquares/ksquares-15.12.1.ebuild b/kde-apps/ksquares/ksquares-15.12.1.ebuild
new file mode 100644
index 0000000..083118a
--- /dev/null
+++ b/kde-apps/ksquares/ksquares-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_PUNT_BOGUS_DEPS="true"
+inherit kde5
+
+DESCRIPTION="KDE clone of the game squares"
+HOMEPAGE="
+	https://www.kde.org/applications/games/ksquares/
+	https://games.kde.org/game.php?game=ksquares
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kstars/kstars-15.12.1.ebuild b/kde-apps/kstars/kstars-15.12.1.ebuild
new file mode 100644
index 0000000..0762995
--- /dev/null
+++ b/kde-apps/kstars/kstars-15.12.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_PUNT_BOGUS_DEPS="true"
+PYTHON_COMPAT=( python2_7 )
+inherit kde5 python-single-r1
+
+DESCRIPTION="Desktop Planetarium"
+HOMEPAGE="https://www.kde.org/applications/education/kstars https://edu.kde.org/kstars"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="indi wcs xplanet"
+
+# TODO: AstrometryNet requires new package
+# FIXME: doesn't build without sci-libs/cfitsio as of 15.04.0
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kinit)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kplotting)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	>=sci-libs/cfitsio-0.390
+	sys-libs/zlib
+	indi? (
+		$(add_frameworks_dep knotifications)
+		>=sci-libs/indilib-1.0.0
+	)
+	wcs? ( sci-astronomy/wcslib )
+	xplanet? ( x11-misc/xplanet )
+"
+DEPEND="${COMMON_DEPEND}
+	dev-cpp/eigen:3
+"
+RDEPEND="${COMMON_DEPEND}
+	${PYTHON_DEPS}
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-15.12.0-unused-qt-deps.patch"
+	"${FILESDIR}/${PN}-15.12.0-unused-kf5-deps.patch"
+)
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package indi)
+		$(cmake-utils_use_find_package wcs WCSLIB)
+		$(cmake-utils_use_find_package xplanet Xplanet)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/kstart/kstart-15.12.1.ebuild b/kde-apps/kstart/kstart-15.12.1.ebuild
new file mode 100644
index 0000000..0512b48
--- /dev/null
+++ b/kde-apps/kstart/kstart-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE: Utility to launch applications with special window properties"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/ksudoku/ksudoku-15.12.1.ebuild b/kde-apps/ksudoku/ksudoku-15.12.1.ebuild
new file mode 100644
index 0000000..ad3395b
--- /dev/null
+++ b/kde-apps/ksudoku/ksudoku-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+OPENGL_REQUIRED="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE Sudoku"
+HOMEPAGE="
+	https://www.kde.org/applications/games/ksudoku/
+	https://games.kde.org/game.php?game=ksudoku
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkdegames)
+	opengl? ( virtual/glu )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with opengl OpenGL)
+	)
+	kde4-base_src_configure
+}

diff --git a/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild b/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild
new file mode 100644
index 0000000..32f2f95
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN=true
+KDE_HANDBOOK=true
+KDE_TEST=true
+VIRTUALX_REQUIRED=test
+inherit kde5
+
+DESCRIPTION="System log viewer by KDE"
+HOMEPAGE="https://www.kde.org/applications/system/ksystemlog/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="systemd"
+
+# bug 378101
+RESTRICT=test
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+	systemd? ( sys-apps/systemd )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	kde5_src_prepare
+
+	if use test; then
+		# beat this stupid test into shape: the test files contain no year, so
+		# comparison succeeds only in 2007 !!!
+		local theyear=$(date +%Y)
+		einfo Setting the current year as ${theyear} in the test files
+		sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp
+
+		# one test consistently fails, so comment it out for the moment
+		sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" -i ksystemlog/tests/CMakeLists.txt
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package systemd Journald)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/kteatime/kteatime-15.12.1.ebuild b/kde-apps/kteatime/kteatime-15.12.1.ebuild
new file mode 100644
index 0000000..347f05b
--- /dev/null
+++ b/kde-apps/kteatime/kteatime-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE timer for making a fine cup of tea"
+HOMEPAGE="https://www.kde.org/applications/games/kteatime"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-15.11.80-kcrash-initialise.patch" )

diff --git a/kde-apps/ktimer/ktimer-15.12.1.ebuild b/kde-apps/ktimer/ktimer-15.12.1.ebuild
new file mode 100644
index 0000000..f5cf734
--- /dev/null
+++ b/kde-apps/ktimer/ktimer-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE Timer"
+HOMEPAGE="https://www.kde.org/applications/utilities/ktimer
+https://utils.kde.org/projects/ktimer"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/ktimezoned/ktimezoned-15.12.1.ebuild b/kde-apps/ktimezoned/ktimezoned-15.12.1.ebuild
new file mode 100644
index 0000000..6cfec01
--- /dev/null
+++ b/kde-apps/ktimezoned/ktimezoned-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE: Timezone daemon"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/ktnef/ktnef-15.12.1.ebuild b/kde-apps/ktnef/ktnef-15.12.1.ebuild
new file mode 100644
index 0000000..d79376b
--- /dev/null
+++ b/kde-apps/ktnef/ktnef-15.12.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library for handling TNEF data"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcalutils)
+	$(add_kdeapps_dep kcontacts)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/ktouch/ktouch-15.12.1.ebuild b/kde-apps/ktouch/ktouch-15.12.1.ebuild
new file mode 100644
index 0000000..119f995
--- /dev/null
+++ b/kde-apps/ktouch/ktouch-15.12.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE: A program that helps you to learn and practice touch typing"
+HOMEPAGE="https://edu.kde.org/applications/miscellaneous/ktouch"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	$(add_kdeapps_dep knotify)
+	$(add_kdeapps_dep kqtquickcharts)
+	$(add_kdeapps_dep plasma-runtime)
+"

diff --git a/kde-apps/ktp-accounts-kcm/ktp-accounts-kcm-15.12.1.ebuild b/kde-apps/ktp-accounts-kcm/ktp-accounts-kcm-15.12.1.ebuild
new file mode 100644
index 0000000..d1b6bce
--- /dev/null
+++ b/kde-apps/ktp-accounts-kcm/ktp-accounts-kcm-15.12.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy account management kcm"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="experimental"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep kaccounts-integration)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	net-libs/accounts-qt
+	net-libs/signond
+	net-libs/telepathy-qt[qt5]
+"
+DEPEND="
+	${COMMON_DEPEND}
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kio)
+	net-libs/libaccounts-glib
+"
+RDEPEND="${COMMON_DEPEND}
+	$(add_kdeapps_dep kaccounts-providers)
+	net-im/telepathy-connection-managers
+	!net-im/ktp-accounts-kcm
+"
+
+src_prepare() {
+	if use experimental; then
+		mv "${S}"/data/kaccounts/disabled/*.in "${S}"/data/kaccounts/ || die "couldn't enable experimental services"
+	fi
+	kde5_src_prepare
+}
+
+pkg_postinst() {
+	if use experimental; then
+		ewarn "Experimental providers are enabled."
+		ewarn "Most of them aren't integrated nicely and may require additional steps for account creation."
+		ewarn "Use at your own risk!"
+	fi
+}

diff --git a/kde-apps/ktp-approver/ktp-approver-15.12.1.ebuild b/kde-apps/ktp-approver/ktp-approver-15.12.1.ebuild
new file mode 100644
index 0000000..d6cd3f8
--- /dev/null
+++ b/kde-apps/ktp-approver/ktp-approver-15.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy notification handler"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kservice)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	net-libs/telepathy-qt[qt5]"
+
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep ktp-contact-list)
+	!net-im/ktp-approver
+"

diff --git a/kde-apps/ktp-auth-handler/ktp-auth-handler-15.12.1.ebuild b/kde-apps/ktp-auth-handler/ktp-auth-handler-15.12.1.ebuild
new file mode 100644
index 0000000..e3e3ebe
--- /dev/null
+++ b/kde-apps/ktp-auth-handler/ktp-auth-handler-15.12.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy authentication handler"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep kaccounts-integration)
+	$(add_kdeapps_dep ktp-common-internals)
+	app-crypt/qca:2[qt5]
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	net-libs/accounts-qt
+	net-libs/signond
+	net-libs/telepathy-qt[qt5]
+"
+DEPEND="
+	$(add_frameworks_dep kdewebkit)
+	${COMMON_DEPEND}
+"
+RDEPEND="${COMMON_DEPEND}
+	app-crypt/qca:2[openssl]
+	!net-im/ktp-auth-handler
+"

diff --git a/kde-apps/ktp-common-internals/ktp-common-internals-15.12.1.ebuild b/kde-apps/ktp-common-internals/ktp-common-internals-15.12.1.ebuild
new file mode 100644
index 0000000..ffa8e17
--- /dev/null
+++ b/kde-apps/ktp-common-internals/ktp-common-internals-15.12.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE Telepathy common library"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="otr +sso"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kpeople)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtsql:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	net-libs/telepathy-logger-qt:5
+	>=net-libs/telepathy-qt-0.9.5[qt5]
+	sso? (
+		$(add_kdeapps_dep kaccounts-integration)
+		net-libs/accounts-qt
+		net-libs/telepathy-accounts-signon
+	)
+	otr? (
+		dev-libs/libgcrypt:0=
+		>=net-libs/libotr-4.0.0
+	)
+"
+DEPEND="
+	${COMMON_DEPEND}
+	$(add_frameworks_dep kio)
+	dev-qt/qtnetwork:5
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	!net-im/ktp-common-internals
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package doc Doxygen)
+		$(cmake-utils_use_find_package sso KAccounts)
+		$(cmake-utils_use_find_package sso AccountsQt5)
+		$(cmake-utils_use_find_package otr Libgcrypt)
+		$(cmake-utils_use_find_package otr LibOTR)
+	)
+
+	kde5_src_configure
+}
+
+src_compile() {
+	kde5_src_compile
+	use doc && kde5_src_compile apidox
+}
+
+src_install() {
+	kde5_src_install
+	use doc && dodoc "${BUILD_DIR}"/KTp/docs/html/*
+}

diff --git a/kde-apps/ktp-contact-list/ktp-contact-list-15.12.1.ebuild b/kde-apps/ktp-contact-list/ktp-contact-list-15.12.1.ebuild
new file mode 100644
index 0000000..924cedf
--- /dev/null
+++ b/kde-apps/ktp-contact-list/ktp-contact-list-15.12.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy contact list"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kpeople)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep ktp-common-internals)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	net-libs/telepathy-qt[qt5]
+"
+DEPEND="
+	${COMMON_DEPEND}
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifyconfig)
+	dev-qt/qtxml:5
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	!net-im/ktp-contact-list
+"

diff --git a/kde-apps/ktp-contact-runner/ktp-contact-runner-15.12.1.ebuild b/kde-apps/ktp-contact-runner/ktp-contact-runner-15.12.1.ebuild
new file mode 100644
index 0000000..4d83d39
--- /dev/null
+++ b/kde-apps/ktp-contact-runner/ktp-contact-runner-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy krunner plugin"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep krunner)
+	$(add_kdeapps_dep ktp-common-internals)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	net-libs/telepathy-qt[qt5]
+"
+DEPEND="
+	${COMMON_DEPEND}
+	$(add_frameworks_dep kservice)
+"
+RDEPEND="${COMMON_DEPEND}
+	!net-im/ktp-contact-runner
+"

diff --git a/kde-apps/ktp-desktop-applets/ktp-desktop-applets-15.12.1.ebuild b/kde-apps/ktp-desktop-applets/ktp-desktop-applets-15.12.1.ebuild
new file mode 100644
index 0000000..45733da
--- /dev/null
+++ b/kde-apps/ktp-desktop-applets/ktp-desktop-applets-15.12.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy contact, presence and chat Plasma applets"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kwindowsystem)
+	dev-qt/qtdeclarative:5
+"
+DEPEND="
+	${COMMON_DEPEND}
+	$(add_frameworks_dep plasma)
+"
+RDEPEND="${COMMON_DEPEND}
+	!net-im/ktp-desktop-applets
+"

diff --git a/kde-apps/ktp-filetransfer-handler/ktp-filetransfer-handler-15.12.1.ebuild b/kde-apps/ktp-filetransfer-handler/ktp-filetransfer-handler-15.12.1.ebuild
new file mode 100644
index 0000000..1b49803
--- /dev/null
+++ b/kde-apps/ktp-filetransfer-handler/ktp-filetransfer-handler-15.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy file transfer handler"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_kdeapps_dep ktp-common-internals)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	net-libs/telepathy-qt[qt5]
+"
+RDEPEND="${DEPEND}
+	!net-im/ktp-filetransfer-handler
+"

diff --git a/kde-apps/ktp-kded-module/ktp-kded-module-15.12.1.ebuild b/kde-apps/ktp-kded-module/ktp-kded-module-15.12.1.ebuild
new file mode 100644
index 0000000..c3861ca
--- /dev/null
+++ b/kde-apps/ktp-kded-module/ktp-kded-module-15.12.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy workspace integration"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kidletime)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifications)
+	$(add_kdeapps_dep ktp-common-internals)
+	dev-qt/qtconcurrent:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsql:5
+	dev-qt/qtwidgets:5
+	net-libs/telepathy-qt[qt5]
+"
+DEPEND="
+	${COMMON_DEPEND}
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kwidgetsaddons)
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	$(add_kdeapps_dep signon-kwallet-extension)
+	!net-im/ktp-kded-module
+"

diff --git a/kde-apps/ktp-l10n/ktp-l10n-15.12.1.ebuild b/kde-apps/ktp-l10n/ktp-l10n-15.12.1.ebuild
new file mode 100644
index 0000000..c5c4a5a
--- /dev/null
+++ b/kde-apps/ktp-l10n/ktp-l10n-15.12.1.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="false"
+inherit kde5
+
+DESCRIPTION="KDE Telepathy internationalization package"
+HOMEPAGE="http://l10n.kde.org"
+
+DEPEND="
+	$(add_frameworks_dep ki18n)
+	dev-qt/linguist-tools:5
+	sys-devel/gettext
+"
+RDEPEND="
+	!<kde-apps/kde-l10n-15.08.0-r1
+	!net-im/ktp-accounts-kcm
+	!net-im/ktp-approver
+	!net-im/ktp-auth-handler
+	!net-im/ktp-common-internals
+	!net-im/ktp-contact-list
+	!net-im/ktp-filetransfer-handler
+	!net-im/ktp-kded-module
+	!net-im/ktp-send-file
+	!net-im/ktp-text-ui
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB eo es et eu fa fi fr ga gl
+he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru
+sk sl sr sv tr ug uk wa zh_CN zh_TW"
+
+PIM_L10N="kdepim kdepimlibs kdepim-runtime pim"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+SRC_URI=""
+
+for MY_LANG in ${MY_LANGS} ; do
+	IUSE="${IUSE} linguas_${MY_LANG}"
+	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/ktp/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
+done
+
+S="${WORKDIR}"
+
+src_unpack() {
+	if [[ -z ${A} ]]; then
+		elog
+		elog "You either have the LINGUAS variable unset, or it only"
+		elog "contains languages not supported by ${P}."
+		elog "You won't have any additional language support."
+		elog
+		elog "${P} supports these language codes:"
+		elog "${MY_LANGS}"
+		elog
+	fi
+
+	[[ -n ${A} ]] && unpack ${A}
+}
+
+src_prepare() {
+	local LNG DIR
+	# add all linguas to cmake
+	if [[ -n ${A} ]]; then
+		for LNG in ${LINGUAS}; do
+			DIR="kde-l10n-${LNG}-${PV}"
+			SDIR="${S}/${DIR}/5/${LNG}"
+			if [[ -d "${DIR}" ]] ; then
+				echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+
+				# Drop KDE4-based part
+				sed -e '/add_subdirectory(4)/ s/^/#/'\
+					-i "${S}"/${DIR}/CMakeLists.txt || die
+
+				# We only want messages
+				sed -e '/messages/!s/^add_subdirectory/# DONT/'\
+					-i "${SDIR}"/CMakeLists.txt || die
+				sed -e '/KF5DocTools/ s/^/#/'\
+					-i "${SDIR}"/CMakeLists.txt || die
+
+				# Remove everything except kdenetwork
+				if [[ -d "${SDIR}/messages" ]] ; then
+					echo > "${SDIR}/messages/CMakeLists.txt"
+					[[ -d "${SDIR}/messages/kdenetwork" ]] && \
+						( echo "add_subdirectory(kdenetwork)" >> "${SDIR}/messages/CMakeLists.txt" )
+					# Remove everything but ktp translations
+					find "${SDIR}"/messages/kdenetwork -type f ! \( -name CMakeLists.txt \
+						-o -name kaccounts*po -o -name kcm_ktp*po -o -name kcmtelepathy*po \
+						-o -name kded_ktp*po -o -name ktp*po -o -name plasma*ktp*po \) \
+						-delete
+				fi
+
+				# In some cases we may have sub-lingua subdirs, e.g. sr :(
+				for XSUBDIR in "${SDIR}/${LNG}"@* ; do
+					XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
+					if [[ -d "${XSUBDIR}" ]] ; then
+						einfo "   ${XLNG} variant"
+						# remove everything except kdenetwork
+						if [[ -d "${XSUBDIR}/messages" ]] ; then
+							echo > "${XSUBDIR}/messages/CMakeLists.txt"
+							[[ -d "${XSUBDIR}/messages/kdenetwork" ]] && \
+								( echo "add_subdirectory(kdenetwork)" >> "${XSUBDIR}/messages/CMakeLists.txt" )
+							# Remove everything but ktp translations
+							find "${XSUBDIR}"/messages/kdenetwork -type f ! \( -name CMakeLists.txt \
+								-o -name kaccounts*po -o -name kcm_ktp*po -o -name kcmtelepathy*po \
+								-o -name kded_ktp*po -o -name ktp*po -o -name plasma*ktp*po \) \
+								-delete
+						fi
+					fi
+				done
+			fi
+		done
+	fi
+}
+
+src_configure() {
+	[[ -n ${A} ]] && kde5_src_configure
+}
+
+src_compile() {
+	[[ -n ${A} ]] && kde5_src_compile
+}
+
+src_test() {
+	[[ -n ${A} ]] && kde5_src_test
+}
+
+src_install() {
+	[[ -n ${A} ]] && kde5_src_install
+}

diff --git a/kde-apps/ktp-send-file/ktp-send-file-15.12.1.ebuild b/kde-apps/ktp-send-file/ktp-send-file-15.12.1.ebuild
new file mode 100644
index 0000000..0108f3b
--- /dev/null
+++ b/kde-apps/ktp-send-file/ktp-send-file-15.12.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy file manager plugin to send files to contacts"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep ktp-common-internals)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	net-libs/telepathy-qt[qt5]
+"
+DEPEND="
+	${COMMON_DEPEND}
+	$(add_frameworks_dep kcmutils)
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	$(add_kdeapps_dep ktp-contact-list)
+	$(add_kdeapps_dep ktp-filetransfer-handler)
+	!net-im/ktp-send-file
+"

diff --git a/kde-apps/ktp-text-ui/ktp-text-ui-15.12.1.ebuild b/kde-apps/ktp-text-ui/ktp-text-ui-15.12.1.ebuild
new file mode 100644
index 0000000..903bfe8
--- /dev/null
+++ b/kde-apps/ktp-text-ui/ktp-text-ui-15.12.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KDE Telepathy text chat window"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdewebkit)
+	$(add_frameworks_dep kemoticons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep kpeople)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	$(add_kdeapps_dep ktp-common-internals otr)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	net-libs/telepathy-qt[qt5]
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep ktp-contact-list)
+	!net-im/ktp-text-ui
+"

diff --git a/kde-apps/ktraderclient/ktraderclient-15.12.1.ebuild b/kde-apps/ktraderclient/ktraderclient-15.12.1.ebuild
new file mode 100644
index 0000000..f2e9f78
--- /dev/null
+++ b/kde-apps/ktraderclient/ktraderclient-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="A command-line tool for querying the KDE trader system"
+IUSE="debug"
+KEYWORDS=" ~amd64 ~x86"

diff --git a/kde-apps/ktuberling/ktuberling-15.12.1.ebuild b/kde-apps/ktuberling/ktuberling-15.12.1.ebuild
new file mode 100644
index 0000000..6db1343
--- /dev/null
+++ b/kde-apps/ktuberling/ktuberling-15.12.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_PUNT_BOGUS_DEPS="true"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="Potato game for kids by KDE"
+HOMEPAGE="
+	https://www.kde.org/applications/games/ktuberling/
+	https://games.kde.org/game.php?game=ktuberling
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	media-libs/phonon[qt5]
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kturtle/kturtle-15.12.1.ebuild b/kde-apps/kturtle/kturtle-15.12.1.ebuild
new file mode 100644
index 0000000..bad5773
--- /dev/null
+++ b/kde-apps/kturtle/kturtle-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK=true
+inherit kde5
+
+DESCRIPTION="Educational programming environment using the Logo programming language"
+HOMEPAGE="https://www.kde.org/applications/education/kturtle https://edu.kde.org/kturtle"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/kubrick/kubrick-15.12.1.ebuild b/kde-apps/kubrick/kubrick-15.12.1.ebuild
new file mode 100644
index 0000000..0343460
--- /dev/null
+++ b/kde-apps/kubrick/kubrick-15.12.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+OPENGL_REQUIRED="always"
+inherit kde4-base
+
+DESCRIPTION="A game based on the \"Rubik's Cube\" puzzle"
+HOMEPAGE="https://www.kde.org/applications/games/kubrick/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="$(add_kdeapps_dep libkdegames)
+	virtual/glu
+"
+DEPEND="${RDEPEND}
+	virtual/opengl
+"

diff --git a/kde-apps/kuiserver/kuiserver-15.12.1.ebuild b/kde-apps/kuiserver/kuiserver-15.12.1.ebuild
new file mode 100644
index 0000000..01c4cae
--- /dev/null
+++ b/kde-apps/kuiserver/kuiserver-15.12.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE: Progress Info UI server"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/kurifilter-plugins/kurifilter-plugins-15.12.1.ebuild b/kde-apps/kurifilter-plugins/kurifilter-plugins-15.12.1.ebuild
new file mode 100644
index 0000000..1f2054f
--- /dev/null
+++ b/kde-apps/kurifilter-plugins/kurifilter-plugins-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE: Plugins to manage filtering URIs"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RESTRICT=test
+# bug 420255

diff --git a/kde-apps/kuser/kuser-15.12.1.ebuild b/kde-apps/kuser/kuser-15.12.1.ebuild
new file mode 100644
index 0000000..23b26c4
--- /dev/null
+++ b/kde-apps/kuser/kuser-15.12.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE application that helps you manage system users"
+HOMEPAGE="https://www.kde.org/applications/system/kuser/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep kdepimlibs)
+"
+# notify is needed for dialogs
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep knotify)
+"

diff --git a/kde-apps/kwalletd/kwalletd-15.12.1.ebuild b/kde-apps/kwalletd/kwalletd-15.12.1.ebuild
new file mode 100644
index 0000000..22942be
--- /dev/null
+++ b/kde-apps/kwalletd/kwalletd-15.12.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+DESCRIPTION="KDE Password Server"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug gpg"
+
+DEPEND="
+	dev-libs/libgcrypt:0=
+	gpg? (
+		app-crypt/gpgme
+		|| ( $(add_kdeapps_dep gpgmepp) $(add_kdeapps_dep kdepimlibs) )
+	)
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+# testpamopen crashes with a buffer overflow (__fortify_fail)
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package gpg Gpgme)
+		$(cmake-utils_use_find_package gpg QGpgme)
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/kwalletmanager/kwalletmanager-15.12.1.ebuild b/kde-apps/kwalletmanager/kwalletmanager-15.12.1.ebuild
new file mode 100644
index 0000000..7cb1286
--- /dev/null
+++ b/kde-apps/kwalletmanager/kwalletmanager-15.12.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE Wallet management tool"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kauth)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}
+	!kde-apps/kwalletmanager:4[-minimal(-)]
+"

diff --git a/kde-apps/kwordquiz/kwordquiz-15.12.1.ebuild b/kde-apps/kwordquiz/kwordquiz-15.12.1.ebuild
new file mode 100644
index 0000000..672c4cc
--- /dev/null
+++ b/kde-apps/kwordquiz/kwordquiz-15.12.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="A powerful flashcard and vocabulary learning program"
+HOMEPAGE="https://www.kde.org/applications/education/kwordquiz https://edu.kde.org/kwordquiz"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep knotifyconfig)
+	$(add_frameworks_dep sonnet)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkeduvocdocument)
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+"
+RDEPEND=${DEPEND}

diff --git a/kde-apps/kwrite/kwrite-15.12.1.ebuild b/kde-apps/kwrite/kwrite-15.12.1.ebuild
new file mode 100644
index 0000000..b32285b
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-15.12.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kate"
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE simple text editor"
+HOMEPAGE="https://www.kde.org/applications/utilities/kwrite"
+KEYWORDS=" ~amd64 ~x86"
+
+DEPEND="
+	$(add_frameworks_dep kactivities)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_addons=FALSE
+		-DBUILD_kate=FALSE
+		-DBUILD_katepart=FALSE
+		$(cmake-utils_use_find_package handbook DocTools)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/libakonadi/libakonadi-15.12.1.ebuild b/kde-apps/libakonadi/libakonadi-15.12.1.ebuild
new file mode 100644
index 0000000..544c72c
--- /dev/null
+++ b/kde-apps/libakonadi/libakonadi-15.12.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN=true
+KDE_TEST=true
+KMNAME=kdepimlibs
+VIRTUALX_REQUIRED=test
+inherit kde5
+
+DESCRIPTION="Common akonadi libraries for PIM apps"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE="designer tools"
+
+# some akonadi tests time out, that probably needs more work as it's ~700 tests
+RESTRICT="test"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdesignerplugin)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep akonadi)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsql:5
+	dev-qt/qtxml:5
+	dev-qt/qtwidgets:5
+	designer? ( dev-qt/designer:5 )
+	tools? ( dev-libs/libxml2 )
+"
+DEPEND="${COMMON_DEPEND}
+	dev-libs/boost
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!kde-apps/kdepimlibs
+"
+
+REQUIRED_USE="test? ( tools )"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/akonadi"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/akonadi"
+fi
+
+PATCHES=( "${FILESDIR}/${PN}-15.11.80-testtools-optional.patch" )
+
+src_prepare() {
+	kde5_src_prepare
+	if ! use tools ; then
+		sed -e "/add_subdirectory(xml)/ s/^/#DONT/" \
+			-i src/CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package designer Qt5Designer)
+		$(cmake-utils_use_build tools)
+		$(cmake-utils_use_build test TESTING)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/libfollowupreminder/libfollowupreminder-15.12.1.ebuild b/kde-apps/libfollowupreminder/libfollowupreminder-15.12.1.ebuild
new file mode 100644
index 0000000..d03d025
--- /dev/null
+++ b/kde-apps/libfollowupreminder/libfollowupreminder-15.12.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Library for followup reminders"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kmail:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/libgravatar/libgravatar-15.12.1.ebuild b/kde-apps/libgravatar/libgravatar-15.12.1.ebuild
new file mode 100644
index 0000000..f13f898
--- /dev/null
+++ b/kde-apps/libgravatar/libgravatar-15.12.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Library for gravatar integration"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep pimcommon)
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/libkcddb/libkcddb-15.12.1.ebuild b/kde-apps/libkcddb/libkcddb-15.12.1.ebuild
new file mode 100644
index 0000000..38cc5aa
--- /dev/null
+++ b/kde-apps/libkcddb/libkcddb-15.12.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE library for CDDB"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug musicbrainz"
+
+# tests require network access and compare static data with online data
+# bug 280996
+RESTRICT=test
+
+DEPEND="
+	musicbrainz? ( media-libs/musicbrainz:5 )
+"
+RDEPEND="${DEPEND}"
+
+KMSAVELIBS="true"
+
+src_prepare() {
+	kde4-base_src_prepare
+
+	if ! use handbook ; then
+		pushd kcmcddb > /dev/null || die
+		comment_add_subdirectory doc
+		popd > /dev/null || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with musicbrainz MusicBrainz5)
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/libkcompactdisc/libkcompactdisc-15.12.1.ebuild b/kde-apps/libkcompactdisc/libkcompactdisc-15.12.1.ebuild
new file mode 100644
index 0000000..2245644
--- /dev/null
+++ b/kde-apps/libkcompactdisc/libkcompactdisc-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="KDE library for playing & ripping CDs"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="alsa debug"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with alsa)
+	)
+	kde4-base_src_configure
+}

diff --git a/kde-apps/libkdcraw/libkdcraw-15.12.1.ebuild b/kde-apps/libkdcraw/libkdcraw-15.12.1.ebuild
new file mode 100644
index 0000000..1033f0c
--- /dev/null
+++ b/kde-apps/libkdcraw/libkdcraw-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+inherit kde5
+
+DESCRIPTION="Digital camera raw image library wrapper"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	>=media-libs/libraw-0.16:=
+	dev-qt/qtgui:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libkdeedu/libkdeedu-15.12.1.ebuild b/kde-apps/libkdeedu/libkdeedu-15.12.1.ebuild
new file mode 100644
index 0000000..80b1d38
--- /dev/null
+++ b/kde-apps/libkdeedu/libkdeedu-15.12.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="Common library for KDE educational apps"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+# 4 of 4 tests fail. Last checked for 4.6.1. Tests are fundamentally broken,
+# see bug 258857 for details.
+RESTRICT=test

diff --git a/kde-apps/libkdegames/libkdegames-15.12.1.ebuild b/kde-apps/libkdegames/libkdegames-15.12.1.ebuild
new file mode 100644
index 0000000..96e63ef
--- /dev/null
+++ b/kde-apps/libkdegames/libkdegames-15.12.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+KDE_DOXYGEN="true"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Base library common to many KDE games"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kbookmarks)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep kdnssd)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtdeclarative:5[widgets]
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtsvg:5
+	dev-qt/qtxml:5
+	media-libs/libsndfile
+	media-libs/openal
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libkdepim/libkdepim-15.12.1.ebuild b/kde-apps/libkdepim/libkdepim-15.12.1.ebuild
new file mode 100644
index 0000000..1e3a42e
--- /dev/null
+++ b/kde-apps/libkdepim/libkdepim-15.12.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Common PIM libraries"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="designer"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kwallet)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-search)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kldap)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	designer? ( dev-qt/designer:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+PATCHES=( "${FILESDIR}/${PN}-15.12.0-find-qt5designer.patch" )
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package designer Qt5Designer)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/libkdepimdbusinterfaces/libkdepimdbusinterfaces-15.12.1.ebuild b/kde-apps/libkdepimdbusinterfaces/libkdepimdbusinterfaces-15.12.1.ebuild
new file mode 100644
index 0000000..2f950d8
--- /dev/null
+++ b/kde-apps/libkdepimdbusinterfaces/libkdepimdbusinterfaces-15.12.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="KDE PIM DBus library"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kservice)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/libkeduvocdocument/libkeduvocdocument-15.12.1.ebuild b/kde-apps/libkeduvocdocument/libkeduvocdocument-15.12.1.ebuild
new file mode 100644
index 0000000..3659aa8
--- /dev/null
+++ b/kde-apps/libkeduvocdocument/libkeduvocdocument-15.12.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library for reading/writing KVTML"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libkexiv2/libkexiv2-15.12.1.ebuild b/kde-apps/libkexiv2/libkexiv2-15.12.1.ebuild
new file mode 100644
index 0000000..934cb41
--- /dev/null
+++ b/kde-apps/libkexiv2/libkexiv2-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+inherit kde5
+
+DESCRIPTION="KDE Image Plugin Interface: an exiv2 library wrapper"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+xmp"
+
+DEPEND="
+	dev-qt/qtgui:5
+	>=media-gfx/exiv2-0.25:=[xmp=]
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libkface/libkface-15.12.1.ebuild b/kde-apps/libkface/libkface-15.12.1.ebuild
new file mode 100644
index 0000000..08c8ff7
--- /dev/null
+++ b/kde-apps/libkface/libkface-15.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+inherit kde5
+
+DESCRIPTION="Qt/C++ wrapper around LibFace to perform face recognition and detection"
+HOMEPAGE="https://projects.kde.org/projects/kde/kdegraphics/libs/libkface"
+
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	dev-qt/qtgui:5
+	dev-qt/qtsql:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	>=media-libs/opencv-3[contrib]
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_OPENCV3=ON
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/libkgeomap/libkgeomap-15.12.1.ebuild b/kde-apps/libkgeomap/libkgeomap-15.12.1.ebuild
new file mode 100644
index 0000000..598e6f3
--- /dev/null
+++ b/kde-apps/libkgeomap/libkgeomap-15.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Wrapper library for world map components as marble, openstreetmap and googlemap"
+HOMEPAGE="https://www.digikam.org/"
+
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtconcurrent:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	kde-apps/libkexiv2:5=
+	kde-apps/marble:5=[kde]
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libkipi/libkipi-15.12.1.ebuild b/kde-apps/libkipi/libkipi-15.12.1.ebuild
new file mode 100644
index 0000000..8ad91a8
--- /dev/null
+++ b/kde-apps/libkipi/libkipi-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+inherit kde5
+
+DESCRIPTION="A library for image plugins accross KDE applications"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+
+RDEPEND="${DEPEND}
+	!kde-apps/libkipi:4[-minimal(-)]
+"

diff --git a/kde-apps/libkleo/libkleo-15.12.1.ebuild b/kde-apps/libkleo/libkleo-15.12.1.ebuild
new file mode 100644
index 0000000..0d53d05
--- /dev/null
+++ b/kde-apps/libkleo/libkleo-15.12.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Library for encryption handling"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_kdeapps_dep gpgmepp)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep pimcommon)
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/libkmahjongg/libkmahjongg-15.12.1.ebuild b/kde-apps/libkmahjongg/libkmahjongg-15.12.1.ebuild
new file mode 100644
index 0000000..71df534
--- /dev/null
+++ b/kde-apps/libkmahjongg/libkmahjongg-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+KDE_PUNT_BOGUS_DEPS="true"
+inherit kde5
+
+DESCRIPTION="LibKMahjongg for KDE"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libkomparediff2/libkomparediff2-15.12.1.ebuild b/kde-apps/libkomparediff2/libkomparediff2-15.12.1.ebuild
new file mode 100644
index 0000000..6cbddc8
--- /dev/null
+++ b/kde-apps/libkomparediff2/libkomparediff2-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="KDE library to compare files and strings"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libkonq/libkonq-15.12.1.ebuild b/kde-apps/libkonq/libkonq-15.12.1.ebuild
new file mode 100644
index 0000000..50eeadc
--- /dev/null
+++ b/kde-apps/libkonq/libkonq-15.12.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-baseapps"
+KMMODULE="lib/konq"
+CPPUNIT_REQUIRED="optional"
+inherit kde4-meta
+
+DESCRIPTION="The embeddable part of konqueror"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug minimal"
+RESTRICT="test"
+
+KMSAVELIBS="true"
+
+PATCHES=( "${FILESDIR}/${PN}-4.9.0-cmake.patch" )

diff --git a/kde-apps/libksane/libksane-15.12.1.ebuild b/kde-apps/libksane/libksane-15.12.1.ebuild
new file mode 100644
index 0000000..fbe532f
--- /dev/null
+++ b/kde-apps/libksane/libksane-15.12.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_BLOCK_SLOT4="false"
+inherit kde5
+
+DESCRIPTION="SANE Library interface for KDE"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+LICENSE="LGPL-2"
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	media-gfx/sane-backends
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/libksieve/libksieve-15.12.1.ebuild b/kde-apps/libksieve/libksieve-15.12.1.ebuild
new file mode 100644
index 0000000..6fb2592
--- /dev/null
+++ b/kde-apps/libksieve/libksieve-15.12.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Common PIM libraries"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_kdeapps_dep akonadi)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep pimcommon)
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kmail:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/libsendlater/libsendlater-15.12.1.ebuild b/kde-apps/libsendlater/libsendlater-15.12.1.ebuild
new file mode 100644
index 0000000..fc74d02
--- /dev/null
+++ b/kde-apps/libsendlater/libsendlater-15.12.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Library for sending mails later"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep libakonadi)
+	dev-qt/designer:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/lokalize/lokalize-15.12.1.ebuild b/kde-apps/lokalize/lokalize-15.12.1.ebuild
new file mode 100644
index 0000000..8b174e8
--- /dev/null
+++ b/kde-apps/lokalize/lokalize-15.12.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python2_7 )
+QT_MINIMAL="5.5"
+inherit python-single-r1 kde5
+
+DESCRIPTION="KDE Applications 5 translation tool"
+HOMEPAGE="https://www.kde.org/applications/development/lokalize
+http://l10n.kde.org/tools"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kross)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	>=app-text/hunspell-1.2.8
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtscript:5
+	dev-qt/qtsql:5[sqlite]
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}
+	dev-python/translate-toolkit[${PYTHON_USEDEP}]
+"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	kde5_pkg_setup
+}
+
+src_install() {
+	kde5_src_install
+	python_fix_shebang "${ED}usr/share/${PN}"
+}
+
+pkg_postinst() {
+	kde5_pkg_postinst
+
+	if ! has_version dev-vcs/subversion ; then
+		elog "To be able to autofetch KDE translations in new project wizard, install dev-vcs/subversion."
+	fi
+}

diff --git a/kde-apps/lskat/lskat-15.12.1.ebuild b/kde-apps/lskat/lskat-15.12.1.ebuild
new file mode 100644
index 0000000..78d34d9
--- /dev/null
+++ b/kde-apps/lskat/lskat-15.12.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit kde4-base
+
+DESCRIPTION="Skat game for KDE"
+HOMEPAGE="
+	https://www.kde.org/applications/games/lskat/
+	https://games.kde.org/game.php?game=lskat
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/mailcommon/mailcommon-15.12.1.ebuild b/kde-apps/mailcommon/mailcommon-15.12.1.ebuild
new file mode 100644
index 0000000..e2832af
--- /dev/null
+++ b/kde-apps/mailcommon/mailcommon-15.12.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Common mail library"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="designer"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kldap)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep mailimporter)
+	$(add_kdeapps_dep messagecomposer)
+	$(add_kdeapps_dep messagecore)
+	$(add_kdeapps_dep messageviewer)
+	$(add_kdeapps_dep pimcommon)
+	$(add_kdeapps_dep templateparser)
+	dev-libs/libxslt
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	media-libs/phonon[qt5]
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	designer? ( dev-qt/designer:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+PATCHES=( "${FILESDIR}/${PN}-15.12.0-find-qt5designer.patch" )
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package designer Qt5Designer)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/mailimporter/mailimporter-15.12.1.ebuild b/kde-apps/mailimporter/mailimporter-15.12.1.ebuild
new file mode 100644
index 0000000..b7a0a74
--- /dev/null
+++ b/kde-apps/mailimporter/mailimporter-15.12.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Library to import mail from various sources"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkdepim)
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/marble/marble-15.12.1.ebuild b/kde-apps/marble/marble-15.12.1.ebuild
new file mode 100644
index 0000000..c4a64cf
--- /dev/null
+++ b/kde-apps/marble/marble-15.12.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Generic geographical map widget"
+HOMEPAGE="https://marble.kde.org/"
+KEYWORDS=" ~amd64 ~x86"
+
+IUSE="aprs designer-plugin gps +kde phonon shapefile zip"
+
+# FIXME (new packages):
+# libwlocate, WLAN-based geolocation
+# qextserialport, interface to old fashioned serial ports
+RDEPEND="
+	dev-qt/qtconcurrent:5
+	dev-qt/qtdbus:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtopengl:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtscript:5
+	dev-qt/qtsql:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	gps? ( >=sci-geosciences/gpsd-2.95 )
+	kde? (
+		$(add_frameworks_dep kconfig)
+		$(add_frameworks_dep kcoreaddons)
+		$(add_frameworks_dep kcrash)
+		$(add_frameworks_dep kdoctools)
+		$(add_frameworks_dep ki18n)
+		$(add_frameworks_dep kio)
+		$(add_frameworks_dep knewstuff)
+		$(add_frameworks_dep kparts)
+		$(add_frameworks_dep krunner)
+		$(add_frameworks_dep kservice)
+		$(add_frameworks_dep kwallet)
+	)
+	phonon? ( media-libs/phonon[qt5] )
+	shapefile? ( sci-libs/shapelib )
+	zip? ( dev-libs/quazip[qt5] )
+"
+DEPEND="${RDEPEND}
+	aprs? ( dev-lang/perl )
+"
+
+src_prepare() {
+	use handbook || comment_add_subdirectory doc
+	kde5_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_build test MARBLE_TESTS)
+		$(cmake-utils_use_find_package aprs Perl)
+		$(cmake-utils_use_with designer-plugin DESIGNER_PLUGIN)
+		$(cmake-utils_use_with gps libgps)
+		$(cmake-utils_use_with kde KF5)
+		$(cmake-utils_use_with phonon)
+		$(cmake-utils_use_with shapefile libshp)
+		$(cmake-utils_use_with zip quazip)
+		-DWITH_QextSerialPort=OFF
+		-DWITH_liblocation=0
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/messagecomposer/messagecomposer-15.12.1.ebuild b/kde-apps/messagecomposer/messagecomposer-15.12.1.ebuild
new file mode 100644
index 0000000..c5f0abc
--- /dev/null
+++ b/kde-apps/messagecomposer/messagecomposer-15.12.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Message composer for KMail"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep ki18n)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kldap)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libfollowupreminder)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep libkleo)
+	$(add_kdeapps_dep libsendlater)
+	$(add_kdeapps_dep messagecore)
+	$(add_kdeapps_dep messageviewer)
+	$(add_kdeapps_dep pimcommon)
+	$(add_kdeapps_dep templateparser)
+	dev-libs/grantlee:5
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/messagecore/messagecore-15.12.1.ebuild b/kde-apps/messagecore/messagecore-15.12.1.ebuild
new file mode 100644
index 0000000..10437d7
--- /dev/null
+++ b/kde-apps/messagecore/messagecore-15.12.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Library for core messaging functions"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep ki18n)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkleo)
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/messagelist/messagelist-15.12.1.ebuild b/kde-apps/messagelist/messagelist-15.12.1.ebuild
new file mode 100644
index 0000000..0049867
--- /dev/null
+++ b/kde-apps/messagelist/messagelist-15.12.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Message list view for KMail"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep akonadi-search)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep messagecore)
+	$(add_kdeapps_dep pimcommon)
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+	!kde-apps/kmail:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/messageviewer/messageviewer-15.12.1.ebuild b/kde-apps/messageviewer/messageviewer-15.12.1.ebuild
new file mode 100644
index 0000000..fc1540e
--- /dev/null
+++ b/kde-apps/messageviewer/messageviewer-15.12.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Libary and plugins for viewing various message types and styles"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kdewebkit)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep akonadi-notes)
+	$(add_kdeapps_dep gpgmepp)
+	$(add_kdeapps_dep grantleetheme)
+	$(add_kdeapps_dep incidenceeditor)
+	$(add_kdeapps_dep kaddressbookgrantlee)
+	$(add_kdeapps_dep kcalcore)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kmailtransport)
+	$(add_kdeapps_dep kmbox)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libgravatar)
+	$(add_kdeapps_dep libkdepim)
+	$(add_kdeapps_dep libkleo)
+	$(add_kdeapps_dep messagecore)
+	$(add_kdeapps_dep pimcommon)
+	dev-libs/grantlee:5
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/mplayerthumbs/mplayerthumbs-15.12.1.ebuild b/kde-apps/mplayerthumbs/mplayerthumbs-15.12.1.ebuild
new file mode 100644
index 0000000..7520355
--- /dev/null
+++ b/kde-apps/mplayerthumbs/mplayerthumbs-15.12.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="A Thumbnail Generator for Video Files on KDE filemanagers"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	$(add_kdeapps_dep kdebase-kioslaves)
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_PHONON_SUPPORT=ON
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/noteshared/noteshared-15.12.1.ebuild b/kde-apps/noteshared/noteshared-15.12.1.ebuild
new file mode 100644
index 0000000..41917bf
--- /dev/null
+++ b/kde-apps/noteshared/noteshared-15.12.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Common notes library"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kdnssd)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep akonadi-notes)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kimap)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep pimcommon)
+	dev-libs/libxslt
+	dev-qt/designer:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/nsplugins/nsplugins-15.12.1.ebuild b/kde-apps/nsplugins/nsplugins-15.12.1.ebuild
new file mode 100644
index 0000000..d74aa3e
--- /dev/null
+++ b/kde-apps/nsplugins/nsplugins-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-baseapps"
+inherit kde4-meta pax-utils
+
+DESCRIPTION="Netscape plugins support for Konqueror"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	x11-libs/libXt
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep konqueror)
+"
+
+KMEXTRACTONLY="
+	konqueror/settings/
+"
+
+src_install() {
+	kde4-base_src_install
+
+	# bug 419513
+	pax-mark m "${ED}"usr/bin/nspluginviewer
+}

diff --git a/kde-apps/okteta/okteta-15.12.1.ebuild b/kde-apps/okteta/okteta-15.12.1.ebuild
new file mode 100644
index 0000000..236ccf8
--- /dev/null
+++ b/kde-apps/okteta/okteta-15.12.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="KDE hexeditor"
+HOMEPAGE="https://www.kde.org/applications/utilities/okteta
+https://utils.kde.org/projects/okteta"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="crypt examples"
+
+DEPEND="
+	$(add_frameworks_dep kbookmarks)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdoctools)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtnetwork:5
+	dev-qt/designer:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	dev-qt/qtscript:5[scripttools]
+	crypt? ( app-crypt/qca:2[qt5] )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package crypt QCA2)
+		$(cmake-utils_use_enable examples OKTETA_BUILD_EXAMPLES)
+		$(cmake-utils_use_build test TESTING)
+		$(cmake-utils_use_find_package test Qt5Test)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/okular/okular-15.12.1.ebuild b/kde-apps/okular/okular-15.12.1.ebuild
new file mode 100644
index 0000000..e498013
--- /dev/null
+++ b/kde-apps/okular/okular-15.12.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+
+#VIRTUALX_REQUIRED=test
+RESTRICT=test
+# test 2: parttest hangs
+
+inherit kde4-base
+
+DESCRIPTION="Okular is a universal document viewer based on KPDF for KDE 4"
+HOMEPAGE="https://okular.kde.org https://www.kde.org/applications/graphics/okular"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="chm crypt debug djvu dpi ebook +jpeg kde mobi +postscript +pdf +tiff"
+
+DEPEND="
+	media-libs/freetype
+	media-libs/qimageblitz
+	sys-libs/zlib
+	chm? ( dev-libs/chmlib )
+	crypt? ( app-crypt/qca:2[qt4] )
+	djvu? ( app-text/djvu )
+	dpi? ( x11-libs/libkscreen:4 )
+	ebook? ( app-text/ebook-tools )
+	jpeg? (
+		$(add_kdeapps_dep libkexiv2)
+		virtual/jpeg:0
+	)
+	kde? ( $(add_kdebase_dep kactivities '' 4.13.3) )
+	mobi? ( $(add_kdeapps_dep kdegraphics-mobipocket) )
+	pdf? ( >=app-text/poppler-0.20[qt4,-exceptions(-)] )
+	postscript? ( app-text/libspectre )
+	tiff? ( media-libs/tiff:0 )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with chm)
+		$(cmake-utils_use_with crypt QCA2)
+		$(cmake-utils_use_with djvu DjVuLibre)
+		$(cmake-utils_use_with dpi LibKScreen)
+		$(cmake-utils_use_with ebook EPub)
+		$(cmake-utils_use_with jpeg)
+		$(cmake-utils_use_with jpeg Kexiv2)
+		$(cmake-utils_use_with kde KActivities)
+		$(cmake-utils_use_with mobi QMobipocket)
+		$(cmake-utils_use_with postscript LibSpectre)
+		$(cmake-utils_use_with pdf PopplerQt4)
+		$(cmake-utils_use_with pdf Poppler)
+		$(cmake-utils_use_with tiff)
+	)
+
+	kde4-base_src_configure
+}

diff --git a/kde-apps/palapeli/palapeli-15.12.1.ebuild b/kde-apps/palapeli/palapeli-15.12.1.ebuild
new file mode 100644
index 0000000..2b8c7ee
--- /dev/null
+++ b/kde-apps/palapeli/palapeli-15.12.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE jigsaw puzzle game"
+HOMEPAGE="https://www.kde.org/applications/games/palapeli/"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="$(add_kdeapps_dep libkdegames)"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/parley/parley-15.12.1.ebuild b/kde-apps/parley/parley-15.12.1.ebuild
new file mode 100644
index 0000000..9c9b903
--- /dev/null
+++ b/kde-apps/parley/parley-15.12.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_DOC_DIR="docs"
+inherit kde5
+
+DESCRIPTION="KDE Educational: vocabulary trainer"
+HOMEPAGE="https://www.kde.org/applications/education/parley
+https://edu.kde.org/applications/school/parley"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_kdeapps_dep libkeduvocdocument)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep khtml)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kross)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	dev-libs/libxml2:2
+	dev-libs/libxslt
+	dev-qt/qtdbus:5
+	dev-qt/qtconcurrent:5
+	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+	$(add_kdeapps_dep kdeedu-data)
+"

diff --git a/kde-apps/phonon-kde/phonon-kde-15.12.1.ebuild b/kde-apps/phonon-kde/phonon-kde-15.12.1.ebuild
new file mode 100644
index 0000000..d862e0b
--- /dev/null
+++ b/kde-apps/phonon-kde/phonon-kde-15.12.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMMODULE="phonon"
+inherit kde4-meta
+
+DESCRIPTION="Phonon KDE Integration"
+HOMEPAGE="https://phonon.kde.org"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="alsa debug pulseaudio"
+
+DEPEND="
+	media-libs/phonon[qt4]
+	alsa? ( media-libs/alsa-lib )
+	pulseaudio? (
+		dev-libs/glib:2
+		media-libs/libcanberra
+		>=media-sound/pulseaudio-0.9.21[glib]
+	)
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_tests=OFF
+		-DWITH_Xine=OFF
+		$(cmake-utils_use_with alsa)
+		$(cmake-utils_use_with pulseaudio PulseAudio)
+	)
+
+	kde4-meta_src_configure
+}

diff --git a/kde-apps/picmi/picmi-15.12.1.ebuild b/kde-apps/picmi/picmi-15.12.1.ebuild
new file mode 100644
index 0000000..5cd341f
--- /dev/null
+++ b/kde-apps/picmi/picmi-15.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Nonogram logic game for KDE"
+HOMEPAGE="https://games.kde.org/game.php?game=picmi"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep libkdegames)
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/pimcommon/pimcommon-15.12.1.ebuild b/kde-apps/pimcommon/pimcommon-15.12.1.ebuild
new file mode 100644
index 0000000..55ffc6e
--- /dev/null
+++ b/kde-apps/pimcommon/pimcommon-15.12.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="false"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="Common PIM libraries"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="designer"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	$(add_kdeapps_dep akonadi-contact)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kimap)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkdepim)
+	dev-libs/libxslt
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	designer? ( dev-qt/designer:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi
+
+PATCHES=( "${FILESDIR}/${PN}-15.12.0-find-qt5designer.patch" )
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package designer Qt5Designer)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/plasma-apps/plasma-apps-15.12.1.ebuild b/kde-apps/plasma-apps/plasma-apps-15.12.1.ebuild
new file mode 100644
index 0000000..760ebb3
--- /dev/null
+++ b/kde-apps/plasma-apps/plasma-apps-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-baseapps"
+KMMODULE="plasma"
+inherit kde4-meta
+
+DESCRIPTION="Additional Applets for Plasma"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdeapps_dep libkonq)
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/plasma-runtime/plasma-runtime-15.12.1.ebuild b/kde-apps/plasma-runtime/plasma-runtime-15.12.1.ebuild
new file mode 100644
index 0000000..2785358
--- /dev/null
+++ b/kde-apps/plasma-runtime/plasma-runtime-15.12.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMMODULE="plasma"
+DECLARATIVE_REQUIRED="always"
+inherit kde4-meta
+
+DESCRIPTION="Script engine and package tool for plasma"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	$(add_kdebase_dep kactivities '' 4.13)
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT=test
+# bug 443748

diff --git a/kde-apps/plasma-telepathy-meta/plasma-telepathy-meta-15.12.1.ebuild b/kde-apps/plasma-telepathy-meta/plasma-telepathy-meta-15.12.1.ebuild
new file mode 100644
index 0000000..9b67c22
--- /dev/null
+++ b/kde-apps/plasma-telepathy-meta/plasma-telepathy-meta-15.12.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5-meta-pkg
+
+DESCRIPTION="Plasma Telepathy client"
+HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL-2.1 )"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="nls"
+
+[[ ${KDE_BUILD_TYPE} = live ]] && L10N_MINIMAL=${KDE_APPS_MINIMAL}
+
+DEPEND=""
+RDEPEND="
+	$(add_kdeapps_dep ktp-accounts-kcm)
+	$(add_kdeapps_dep ktp-approver)
+	$(add_kdeapps_dep ktp-auth-handler)
+	$(add_kdeapps_dep ktp-common-internals)
+	$(add_kdeapps_dep ktp-contact-list)
+	$(add_kdeapps_dep ktp-contact-runner)
+	$(add_kdeapps_dep ktp-desktop-applets)
+	$(add_kdeapps_dep ktp-filetransfer-handler)
+	$(add_kdeapps_dep ktp-kded-module)
+	$(add_kdeapps_dep ktp-send-file)
+	$(add_kdeapps_dep ktp-text-ui)
+	!net-im/kde-telepathy-meta
+	nls? (
+		$(add_kdeapps_dep ktp-l10n '' ${L10N_MINIMAL})
+	)
+"
+
+pkg_postinst() {
+	echo
+	elog "You can configure the accounts in Plasma System Settings"
+	elog "and then add the Instant Messaging plasma applet to access the contact list."
+	echo
+}

diff --git a/kde-apps/poxml/poxml-15.12.1.ebuild b/kde-apps/poxml/poxml-15.12.1.ebuild
new file mode 100644
index 0000000..a95aa1f
--- /dev/null
+++ b/kde-apps/poxml/poxml-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE utility to translate DocBook XML files using gettext po files"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	dev-qt/qtxml:5
+	sys-devel/gettext
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/print-manager/print-manager-15.12.1.ebuild b/kde-apps/print-manager/print-manager-15.12.1.ebuild
new file mode 100644
index 0000000..511d068
--- /dev/null
+++ b/kde-apps/print-manager/print-manager-15.12.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="Manage print jobs and printers in Plasma"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+gtk"
+
+DEPEND="
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep plasma)
+	dev-qt/qtdbus:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	net-print/cups
+"
+RDEPEND="${DEPEND}
+	$(add_plasma_dep kde-cli-tools)
+	gtk? ( app-admin/system-config-printer )
+"
+
+pkg_postinst(){
+	if ! use gtk ; then
+		ewarn
+		ewarn "By switching off \"gtk\" USE flag, you have chosen to do without"
+		ewarn "an important, though optional, runtime dependency:"
+		ewarn
+		ewarn "app-admin/system-config-printer"
+		ewarn
+		ewarn "${PN} will work nevertheless, but is going to be less comfortable"
+		ewarn "and will show the following error status during runtime:"
+		ewarn
+		ewarn "\"Failed to group devices: 'The name org.fedoraproject.Config.Printing"
+		ewarn "was not provided by any .service files'\""
+		ewarn
+	fi
+}

diff --git a/kde-apps/renamedlg-plugins/renamedlg-plugins-15.12.1.ebuild b/kde-apps/renamedlg-plugins/renamedlg-plugins-15.12.1.ebuild
new file mode 100644
index 0000000..77a43a0
--- /dev/null
+++ b/kde-apps/renamedlg-plugins/renamedlg-plugins-15.12.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMMODULE="renamedlgplugins"
+inherit kde4-meta
+
+DESCRIPTION="KDE RenameDlg plugins"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/rocs/rocs-15.12.1.ebuild b/kde-apps/rocs/rocs-15.12.1.ebuild
new file mode 100644
index 0000000..c4f90a1
--- /dev/null
+++ b/kde-apps/rocs/rocs-15.12.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Interface to work with Graph Theory"
+HOMEPAGE="https://www.kde.org/applications/education/rocs
+https://edu.kde.org/applications/mathematics/rocs"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kxmlgui)
+	dev-libs/grantlee:5
+	dev-qt/qtconcurrent:5
+	dev-qt/qtdeclarative:5[widgets]
+	dev-qt/qtgui:5
+	dev-qt/qtscript:5[scripttools]
+	dev-qt/qtsvg:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	dev-qt/qtxmlpatterns:5
+"
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.49
+"
+
+RESTRICT=test	# 1/10 tests currently fails
+
+src_prepare() {
+	# Duplicate
+	sed -e '/^find_package.*KF5DocTools/ s/^/#/' -i CMakeLists.txt || die
+
+	kde5_src_prepare
+}

diff --git a/kde-apps/signon-kwallet-extension/signon-kwallet-extension-15.12.1.ebuild b/kde-apps/signon-kwallet-extension/signon-kwallet-extension-15.12.1.ebuild
new file mode 100644
index 0000000..ee914e4
--- /dev/null
+++ b/kde-apps/signon-kwallet-extension/signon-kwallet-extension-15.12.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5
+
+DESCRIPTION="KWallet extension for signond"
+HOMEPAGE="https://01.org/gsso/"
+KEYWORDS=" ~amd64 ~x86"
+LICENSE="LGPL-2.1"
+
+DEPEND="
+	$(add_frameworks_dep kwallet)
+	net-libs/signond
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-apps/solid-runtime/solid-runtime-15.12.1.ebuild b/kde-apps/solid-runtime/solid-runtime-15.12.1.ebuild
new file mode 100644
index 0000000..6e91b69
--- /dev/null
+++ b/kde-apps/solid-runtime/solid-runtime-15.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-runtime"
+KMNOMODULE=true
+inherit kde4-meta
+
+DESCRIPTION="KDE SC solid runtime modules (autoeject, automounter and others)"
+HOMEPAGE="https://solid.kde.org"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug bluetooth networkmanager"
+
+KMEXTRA="
+	solid-device-automounter/
+	solid-hardware/
+	solid-networkstatus/
+	solidautoeject/
+	soliduiserver/
+"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+	bluetooth? ( || ( net-wireless/bluedevil kde-plasma/bluedevil ) )
+	networkmanager? ( || ( kde-misc/plasma-nm kde-misc/networkmanagement kde-plasma/plasma-nm ) )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-4.14.3-networkmanager-1.0.6.patch" )

diff --git a/kde-apps/spectacle/spectacle-15.12.1.ebuild b/kde-apps/spectacle/spectacle-15.12.1.ebuild
new file mode 100644
index 0000000..7c10e24
--- /dev/null
+++ b/kde-apps/spectacle/spectacle-15.12.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK=true
+inherit kde5
+
+DESCRIPTION="Screenshot capture utility"
+
+KEYWORDS=" ~amd64 ~x86"
+IUSE="kipi"
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_plasma_dep kscreen)
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtx11extras:5
+	x11-libs/libxcb
+	kipi? ( $(add_kdeapps_dep libkipi) )
+"
+RDEPEND="${DEPEND}
+	!kde-apps/ksnapshot
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package kipi KF5Kipi)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/step/step-15.12.1.ebuild b/kde-apps/step/step-15.12.1.ebuild
new file mode 100644
index 0000000..e20bbbf
--- /dev/null
+++ b/kde-apps/step/step-15.12.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Interactive physics simulator"
+HOMEPAGE="https://edu.kde.org/step"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+gsl +qalculate"
+
+DEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep khtml)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kplotting)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	=dev-cpp/eigen-3.2*:3
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtopengl:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	sci-libs/cln
+	gsl? ( >=sci-libs/gsl-1.9-r1 )
+	qalculate? ( >=sci-libs/libqalculate-0.9.5 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	use handbook || sed -e '/^find_package.*KF5DocTools/ s/^/#/' \
+		-i CMakeLists.txt || die
+
+	# Duplicate
+	sed -e '/^find_package.*Qt5Test/ s/^/#/' \
+		-i autotests/CMakeLists.txt || die
+	sed -e '/find_package.*Xml Test/ s/^/#/' \
+		-i stepcore/CMakeLists.txt || die
+
+	kde5_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package gsl)
+		$(cmake-utils_use_find_package qalculate)
+	)
+	kde5_src_configure
+}

diff --git a/kde-apps/svgpart/svgpart-15.12.1.ebuild b/kde-apps/svgpart/svgpart-15.12.1.ebuild
new file mode 100644
index 0000000..003be7a
--- /dev/null
+++ b/kde-apps/svgpart/svgpart-15.12.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="Svgpart is a kpart for viewing SVGs"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/sweeper/sweeper-15.12.1.ebuild b/kde-apps/sweeper/sweeper-15.12.1.ebuild
new file mode 100644
index 0000000..e208978
--- /dev/null
+++ b/kde-apps/sweeper/sweeper-15.12.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KDE Privacy Settings Widget"
+HOMEPAGE="https://www.kde.org/applications/utilities/sweeper
+https://utils.kde.org/projects/sweeper"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"

diff --git a/kde-apps/syndication/syndication-15.12.1.ebuild b/kde-apps/syndication/syndication-15.12.1.ebuild
new file mode 100644
index 0000000..9e4e460
--- /dev/null
+++ b/kde-apps/syndication/syndication-15.12.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_DOXYGEN="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library for parsing RSS and Atom feeds"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kio)
+	dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-apps/templateparser/templateparser-15.12.1.ebuild b/kde-apps/templateparser/templateparser-15.12.1.ebuild
new file mode 100644
index 0000000..bfddf7a
--- /dev/null
+++ b/kde-apps/templateparser/templateparser-15.12.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="true"
+KMNAME="kdepim"
+inherit kde5
+
+DESCRIPTION="KDE PIM template parser"
+LICENSE="LGPL-2+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	$(add_kdeapps_dep akonadi-mime)
+	$(add_kdeapps_dep kidentitymanagement)
+	$(add_kdeapps_dep kmime)
+	$(add_kdeapps_dep kpimtextedit)
+	$(add_kdeapps_dep libakonadi)
+	$(add_kdeapps_dep libkleo)
+	$(add_kdeapps_dep messagecore)
+	$(add_kdeapps_dep messageviewer)
+	$(add_kdeapps_dep pimcommon)
+	dev-qt/designer:5
+	dev-qt/qtgui:5
+	dev-qt/qtwebkit:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+	!<kde-apps/kdepim-15.08.50:5
+	!kde-apps/kdepim-common-libs:4
+"
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+	S="${WORKDIR}/${P}/${PN}"
+else
+	S="${WORKDIR}/${KMNAME}-${PV}/${PN}"
+fi

diff --git a/kde-apps/thumbnailers/thumbnailers-15.12.1.ebuild b/kde-apps/thumbnailers/thumbnailers-15.12.1.ebuild
new file mode 100644
index 0000000..112d0a2
--- /dev/null
+++ b/kde-apps/thumbnailers/thumbnailers-15.12.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kdegraphics-thumbnailers"
+inherit kde5
+
+DESCRIPTION="Thumbnail generators for PDF/PS and RAW files"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_kdeapps_dep libkdcraw)
+	$(add_kdeapps_dep libkexiv2)
+	$(add_frameworks_dep kio)
+	dev-qt/qtgui:5
+"
+
+RDEPEND="${DEPEND}"
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+	S="${WORKDIR}/${KMNAME}-${PV}"
+fi

diff --git a/kde-apps/umbrello/umbrello-15.12.1.ebuild b/kde-apps/umbrello/umbrello-15.12.1.ebuild
new file mode 100644
index 0000000..d76c303
--- /dev/null
+++ b/kde-apps/umbrello/umbrello-15.12.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE UML Modeller"
+HOMEPAGE="
+	https://www.kde.org/applications/development/umbrello
+	https://umbrello.kde.org
+"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdoctools)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-libs/libxml2
+	dev-libs/libxslt
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_KF5=ON
+		-DBUILD_unittests=$(usex test)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-apps/zeroconf-ioslave/zeroconf-ioslave-15.12.1.ebuild b/kde-apps/zeroconf-ioslave/zeroconf-ioslave-15.12.1.ebuild
new file mode 100644
index 0000000..0d65fb2
--- /dev/null
+++ b/kde-apps/zeroconf-ioslave/zeroconf-ioslave-15.12.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="A DNSSD (DNS Service Discovery - part of Rendezvous) ioslave and kded module"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-12 22:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12 22:25 [gentoo-commits] proj/kde:master commit in: kde-apps/konq-plugins/, kde-apps/kquitapp/, kde-apps/libkeduvocdocument/, Manuel Rüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox