diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /kde-plasma/kwin |
reinit the tree, so we can have metadata
Diffstat (limited to 'kde-plasma/kwin')
-rw-r--r-- | kde-plasma/kwin/Manifest | 7 | ||||
-rw-r--r-- | kde-plasma/kwin/files/kwin-5.8.7-glibc-sysmacros.patch | 38 | ||||
-rw-r--r-- | kde-plasma/kwin/files/kwin-gstreamer-optional.patch | 15 | ||||
-rw-r--r-- | kde-plasma/kwin/kwin-5.10.5.ebuild | 91 | ||||
-rw-r--r-- | kde-plasma/kwin/metadata.xml | 12 |
5 files changed, 163 insertions, 0 deletions
diff --git a/kde-plasma/kwin/Manifest b/kde-plasma/kwin/Manifest new file mode 100644 index 000000000000..865ed0fa12ad --- /dev/null +++ b/kde-plasma/kwin/Manifest @@ -0,0 +1,7 @@ +AUX kwin-5.8.7-glibc-sysmacros.patch 1016 SHA256 7aa9b76fd8d067d952b4c3534dafa195899698a1fb611d9a4d56ee20d43013c4 SHA512 9b8d8754a4e0c8a9421bc7bf04932b5dabfd9c0c7f56fc1ebe6562afcdbb2d3495c009f4cbfa0a8a665e363ffeb9ac9bf3c7a5fbba7f7d1da7571f7cab6908a7 WHIRLPOOL eca63db0c32a6b3bcaf2d5970be4d04f54939b7fd0e87a30b3a63a252f7d5aac189bd41ec9812a25901b4bcef75cf466df22b19a17320ba2553493da87973170 +AUX kwin-gstreamer-optional.patch 523 SHA256 3152d76a9274bdad42b3a436193be79d4d42b5548ba089ed5089a812976d863c SHA512 e8a4106f8754e5e1b426f1ae3141d17ba4469c1dac44f34f0ec7292d3242d7848b5f7748c56f08db576e1f826c171a1020d5fe73e2aa4dfdea813e37c565a4e3 WHIRLPOOL 296aa6fa9f8d26608be031fae75196b1b0b1b1c754038061e8f7e6017af555e9774dfa827ffef18c91df562c1574cc1efa1442f385a2e3e7ea9b6bdc0047411f +DIST kwin-5.10.5.tar.xz 4674932 SHA256 cc7f6b6c5d86270b30a8c7087f00152b084e67dfd515ae009c2903a0c2b0bedb SHA512 b679dac07b7cc71c9ac7f4755282f8e30d5c2757c7cf9f29ed4f7653c70832140171e1227299a726af8aef1919db83b115dc4091ff80851b0afc53a4cf06840a WHIRLPOOL da12016a617badc6a125a93da8606322476f7b6a1accff17adcb76abaa7043ce161729e1c9ee1b3e33ddc7dbdc6c5fff8e500e1b732189c3d7d5396157294bf2 +EBUILD kwin-5.10.5.ebuild 2344 SHA256 0e65bddea3cb5fc33df79b9b3a552f09cf4fa1d524a0f7e761c3aee73438e16d SHA512 d8194a55406f9299772e80cde1afa6363b689efb7bc7a289c72925f92351adbb18c688e7908ccab476eca40a35561a0ef9eb0a2f435b70ee08459268ea20c5a5 WHIRLPOOL 00356360bc7a634e4c53c5ed174ffbddb9a5d83c8375508a896181f353fe5bac2244f0fd5d1512f0c17355f731d3d0cf49b3132fb6cf53048dabb2147fdb0b8e +MISC ChangeLog 13960 SHA256 4ca9508e666f83006191f9f3b8a4c83b8bc4b0d991b8e4fbbde987ab0bec62e5 SHA512 6189a2b2b0ae2b735bff2e3cc3a3c35e79b742a5591961278208aa16a1aea0a9334b08f8e0a6e5168844d04834df133acb38bf41eab2ceb21f8df128add3a19f WHIRLPOOL e75ca32dc95597625bcc21412002a7aa0897f016fb839741c62a37f917d7956c1deca6fde5dce10702ab4eebf044faafa404077f96998d2c6be1cc99aa5d5065 +MISC ChangeLog-2015 1256 SHA256 cc2b18df3332c176520f8b07dfa3d36445deea8e33d69f497c90c2174ad7077b SHA512 27bd734b8a8cf84a00e3e6cb1fa42d177894fc57f1c6dab145a21045cbd0faf6cd22e585700ed2e7d25def7164a53740152ad6945e868421bb7dc48c5993cbd7 WHIRLPOOL e814ba62d8cf5c0f0749362979b60cff51bbf695a62ee9ee61e9389884ae3b909b625a06cb2e8e5de587a98efd2e69d3b05589ffa8d898bbec1751a044b1a52c +MISC metadata.xml 410 SHA256 086772dc4b2bcb2af67b1363be443b3eaa478ee05d8b839b98f0337a831f6054 SHA512 0aef8e1ddd94f46d2f90a90c5a0408e1068c11684593dc86d1b7681f2be71fbd8f43f33566e15548f17be51da539b8fdd37d173bb5dc65bf74719bc38275d12f WHIRLPOOL 2ddfbd488fc7b53382c7ccc23f1f15fbccac0c66f430011c75676de88bf8795ad444f990e6c187bf9e54c5d801f8b1b6170c1064701aa3185788ac772d4ce884 diff --git a/kde-plasma/kwin/files/kwin-5.8.7-glibc-sysmacros.patch b/kde-plasma/kwin/files/kwin-5.8.7-glibc-sysmacros.patch new file mode 100644 index 000000000000..61c07feaee35 --- /dev/null +++ b/kde-plasma/kwin/files/kwin-5.8.7-glibc-sysmacros.patch @@ -0,0 +1,38 @@ +commit 8efef12eeb377e9087551e333d65631968c80e5f +Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Sat Jun 10 17:00:25 2017 +0200 + + Fix build with future glibc (major/minor macros), BSD compatible + + Summary: + Also adding sys/types.h which is not implicitly included from all over. + + Thanks-to: [ade] in #kde-devel + + See also: + https://sourceware.org/ml/libc-alpha/2015-11/msg00452.html + https://git.reviewboard.kde.org/r/127662/ + + Reviewers: #plasma + + Subscribers: plasma-devel, kwin, #kwin, adridg + + Tags: #kwin + + Differential Revision: https://phabricator.kde.org/D6175 + +diff --git a/logind.cpp b/logind.cpp +index fee0f2ff4..bb84af4f9 100644 +--- a/logind.cpp ++++ b/logind.cpp +@@ -29,6 +29,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. + #include <QDBusMetaType> + + #include <sys/stat.h> ++#include <sys/types.h> ++#ifndef major ++#include <sys/sysmacros.h> ++#endif + #include <unistd.h> + #include "utils.h" + diff --git a/kde-plasma/kwin/files/kwin-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-gstreamer-optional.patch new file mode 100644 index 000000000000..d9ace476f956 --- /dev/null +++ b/kde-plasma/kwin/files/kwin-gstreamer-optional.patch @@ -0,0 +1,15 @@ +Disable the effect video button if gstreamer is missing. + +diff --git a/kcmkwin/kwincompositing/qml/Effect.qml b/kcmkwin/kwincompositing/qml/Effect.qml +index fcd5e8a..2331da2 100644 +--- a/kcmkwin/kwincompositing/qml/Effect.qml ++++ b/kcmkwin/kwincompositing/qml/Effect.qml +@@ -144,7 +144,7 @@ Rectangle { + + Button { + id: videoButton +- visible: model.VideoRole.toString() !== "" ++ visible: false + iconName: "video" + onClicked: videoItem.showHide() + } diff --git a/kde-plasma/kwin/kwin-5.10.5.ebuild b/kde-plasma/kwin/kwin-5.10.5.ebuild new file mode 100644 index 000000000000..43f5862227f0 --- /dev/null +++ b/kde-plasma/kwin/kwin-5.10.5.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="optional" +KDE_TEST="optional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="KDE window manager" +LICENSE="GPL-2+" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="gles2 multimedia" + +COMMON_DEPEND=" + $(add_frameworks_dep kactivities) + $(add_frameworks_dep kauth) + $(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 kdeclarative) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kidletime) + $(add_frameworks_dep kinit) + $(add_frameworks_dep kio) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep kpackage) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwayland) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem X) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep plasma) + $(add_plasma_dep breeze) + $(add_plasma_dep kdecoration) + $(add_plasma_dep kscreenlocker) + $(add_qt_dep qtcore) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui 'gles2=') + $(add_qt_dep qtscript) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + >=dev-libs/libinput-1.5 + >=dev-libs/wayland-1.2 + media-libs/fontconfig + media-libs/freetype + media-libs/libepoxy + media-libs/mesa[egl,gbm,gles2?,wayland] + virtual/libudev:= + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXi + x11-libs/libdrm + >=x11-libs/libxcb-1.10 + >=x11-libs/libxkbcommon-0.7.0 + x11-libs/xcb-util-cursor + x11-libs/xcb-util-image + x11-libs/xcb-util-keysyms +" +RDEPEND="${COMMON_DEPEND} + $(add_plasma_dep kde-cli-tools) + multimedia? ( $(add_qt_dep qtmultimedia 'gstreamer,qml') ) + !<kde-apps/kdeartwork-meta-15.08.3-r1:4 + !kde-plasma/kwin:4 + !kde-plasma/systemsettings:4 +" +DEPEND="${COMMON_DEPEND} + $(add_qt_dep designer) + $(add_qt_dep qtconcurrent) + x11-proto/xproto + test? ( x11-libs/xcb-util-wm ) +" + +RESTRICT+=" test" + +PATCHES=( "${FILESDIR}/${PN}-5.8.7-glibc-sysmacros.patch" ) + +src_prepare() { + kde5_src_prepare + use multimedia || eapply "${FILESDIR}/${PN}-gstreamer-optional.patch" +} diff --git a/kde-plasma/kwin/metadata.xml b/kde-plasma/kwin/metadata.xml new file mode 100644 index 000000000000..e816cb21af76 --- /dev/null +++ b/kde-plasma/kwin/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="gles2">Use OpenGL ES 2 instead of full GL</flag> + <flag name="multimedia">Enable effect video button in desktop effects KCM</flag> + </use> +</pkgmetadata> |