Package Details: xembed-sni-proxy-git v5.19.90.r124.g85bfb4fbf-1

Git Clone URL: https://aur.archlinux.org/xembed-sni-proxy-git.git (read-only, click to copy)
Package Base: xembed-sni-proxy-git
Description: Convert XEmbed system tray icons to SNI icons
Upstream URL: https://github.com/KDE/plasma-workspace
Keywords: sni statusnotifiericon systray tray xembed
Licenses: GPL
Conflicts: plasma-workspace
Submitter: NBonaparte
Maintainer: NBonaparte
Last Packager: NBonaparte
Votes: 1
Popularity: 0.000000
First Submitted: 2017-03-31 02:54
Last Updated: 2020-10-15 23:31

Latest Comments

NBonaparte commented on 2020-10-15 23:34

Updated, thanks for the patch.

ohthehugemanatee commented on 2020-10-13 14:06

This stopped building for me recently. I needed to add a line to the patch and updaate the corresponding PKGBUILD shasum:

cmake.patch:

--- plasma-workspace/xembed-sni-proxy/CMakeLists.txt    2017-06-07 15:40:05.139090630 -0700
+++ plasma-workspace.new/xembed-sni-proxy/CMakeLists.txt    2017-06-07 15:38:23.591731403 -0700
@@ -1,3 +1,38 @@
+cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+
+project(xembedsniproxy)
+
+set(QT_MIN_VERSION "5.7.0")
+set(KF5_MIN_VERSION "5.32.0")
+find_package(ECM 1.8.0 REQUIRED NO_MODULE)
+include(FeatureSummary)
+include(WriteBasicConfigVersionFile)
+include(GenerateExportHeader)
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
+
+find_package (X11 REQUIRED)
+
+find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
+    Core
+    DBus
+    Gui
+    X11Extras
+)
+
+include(KDEInstallDirs)
+include(KDECMakeSettings)
+include(KDECompilerSettings NO_POLICY_SCOPE)
+
+include(ECMInstallIcons)
+include(ECMOptionalAddSubdirectory)
+include(ECMQtDeclareLoggingCategory)
+include(ECMConfiguredInstall)
+
+# required frameworks by Core
+find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
+    WindowSystem
+)
+
 add_definitions(-DQT_NO_CAST_TO_ASCII
 -DQT_NO_CAST_FROM_ASCII
 -DQT_NO_URL_CAST_FROM_STRING

PKGBUILD

# Maintainer: NBonaparte <NBonaparte@protonmail.com>

_pkgparent=plasma-workspace
_pkgname=xembed-sni-proxy
pkgname=$_pkgname-git
pkgver=v5.19.90.r114.g6e9d16e71
pkgrel=1
pkgdesc="Convert XEmbed system tray icons to SNI icons"
arch=('i686' 'x86_64')
url="https://github.com/KDE/plasma-workspace"
license=('GPL')
depends=('kwindowsystem' 'libxtst')
makedepends=('extra-cmake-modules' 'git')
conflicts=($_pkgparent)
source=("git+${url}.git" "cmake.patch")
sha256sums=('SKIP'
            '152360a04867a389ca428ed637cd08e1c67a408713c4374197677426ed0c9dbe')

pkgver() {
    cd $_pkgparent
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    patch -p0 -i "$srcdir/cmake.patch"
}

build() {
    cd $srcdir/$_pkgparent/$_pkgname
    cmake . \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
    -DKDE_INSTALL_LIBDIR=lib \
    -DKDE_INSTALL_LIBEXECDIR=lib \
    -DBUILD_TESTING=OFF
    make
}

package() {
    cd $srcdir/$_pkgparent/$_pkgname
    make DESTDIR=$pkgdir install
}

Maintainer, any chance of an update to the package?