From 6057b34f14dccaba42205a76aa0d581eb3158bc2 Mon Sep 17 00:00:00 2001 From: Mykyta Holubakha Date: Sat, 15 Jul 2017 16:27:47 +0300 Subject: x11-misc/xembedsniproxy: new ebuild Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- x11-misc/xembedsniproxy/Manifest | 1 + .../xembedsniproxy-5.10.3-Standalone-build.patch | 47 ++++++++++++++++++++++ x11-misc/xembedsniproxy/metadata.xml | 12 ++++++ .../xembedsniproxy/xembedsniproxy-5.10.3.ebuild | 36 +++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 x11-misc/xembedsniproxy/Manifest create mode 100644 x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch create mode 100644 x11-misc/xembedsniproxy/metadata.xml create mode 100644 x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild (limited to 'x11-misc/xembedsniproxy') diff --git a/x11-misc/xembedsniproxy/Manifest b/x11-misc/xembedsniproxy/Manifest new file mode 100644 index 000000000000..746ab27ccda0 --- /dev/null +++ b/x11-misc/xembedsniproxy/Manifest @@ -0,0 +1 @@ +DIST plasma-workspace-5.10.3.tar.xz 6994932 SHA256 69d7513ad0ba0acc224cd0dee824795c20e8733f52704e3cf3dca5f6ae6cdf71 SHA512 010d1c125ceaf8fced30221cf2cf890227f55f0fbc87c0701c60466a00be925eda09e2eb07a655e000cfe279dfc89222e7fe216dd248c90d59bb0137c9ab9d66 WHIRLPOOL 447a7430066d4afa0daecf4576c65fd8182323951edeac633f59abc211d193815dd3fc55b120b77f3035e87bcdccf7b7e10412037db09442eaacfee7677dd4b2 diff --git a/x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch b/x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch new file mode 100644 index 000000000000..8ccd2ad0bd59 --- /dev/null +++ b/x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch @@ -0,0 +1,47 @@ +From c19bc38c85ca14df7034ef4c97b0681de1c1a6a2 Mon Sep 17 00:00:00 2001 +From: Mykyta Holubakha +Date: Sat, 15 Jul 2017 15:52:30 +0300 +Subject: [PATCH] Standalone xembedsniproxy build + +--- + xembed-sni-proxy/CMakeLists.txt | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +diff --git a/xembed-sni-proxy/CMakeLists.txt b/xembed-sni-proxy/CMakeLists.txt +index c2f67ac6..e74c7437 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,3 +1,30 @@ ++cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) ++ ++project(plasma-workspace) ++ ++set(QT_MIN_VERSION "5.7.0") ++set(KF5_MIN_VERSION "5.34.0") ++ ++find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS ++ Core ++ DBus ++ X11Extras ++) ++ ++ ++find_package(ECM 1.8.0 REQUIRED NO_MODULE) ++set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) ++ ++include(KDEInstallDirs) ++include(KDECMakeSettings) ++include(KDECompilerSettings NO_POLICY_SCOPE) ++include(FeatureSummary) ++include(ECMOptionalAddSubdirectory) ++include(ECMQtDeclareLoggingCategory) ++ ++find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS WindowSystem) ++find_package(X11) ++ + add_definitions(-DQT_NO_CAST_TO_ASCII + -DQT_NO_CAST_FROM_ASCII + -DQT_NO_URL_CAST_FROM_STRING +-- +2.13.1 + diff --git a/x11-misc/xembedsniproxy/metadata.xml b/x11-misc/xembedsniproxy/metadata.xml new file mode 100644 index 000000000000..3554bdb770b5 --- /dev/null +++ b/x11-misc/xembedsniproxy/metadata.xml @@ -0,0 +1,12 @@ + + + + + hilobakho@gmail.com + Mykyta Holubakha + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainers Project + + diff --git a/x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild b/x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild new file mode 100644 index 000000000000..12f437f17b69 --- /dev/null +++ b/x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="A program to use legacy Xembed tray icons with SNI-only trays" +HOMEPAGE="https://kde.org" +SRC_URI="mirror://kde/stable/plasma/${PV}/plasma-workspace-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 + dev-qt/qtx11extras:5 + kde-frameworks/kwindowsystem:5 + x11-libs/libxcb + x11-libs/libXtst + x11-libs/xcb-util-image +" +DEPEND=" + kde-frameworks/extra-cmake-modules:5 + ${CDEPEND} +" +RDEPEND=" + !kde-plasma/plasma-workspace:5 + ${CDEPEND} +" + +S="${WORKDIR}/plasma-workspace-${PV}/xembed-sni-proxy" +PATCHES=( "${FILESDIR}/${PN}-5.10.3-Standalone-build.patch" ) -- cgit v1.2.3-65-gdbad