desktop/compton-conf: Added category patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-06-30 11:55:09 +07:00 committed by Willy Sudiarto Raharjo
parent 5764f01b85
commit 13d522beee
2 changed files with 15 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#
# Slackware build script for compton-conf.
#
# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM="compton-conf"
VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/desktop_entry.patch
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release

View File

@ -0,0 +1,11 @@
diff -uprNEBZ --suppress-blank-empty a/compton-conf.desktop.in b/compton-conf.desktop.in
--- a/compton-conf.desktop.in 2015-11-27 11:29:17.187956000 -0600
+++ b/compton-conf.desktop.in 2015-11-27 11:32:12.851906393 -0600
@@ -6,6 +6,6 @@ Comment=Configure Compton window effects
TryExec=compton-conf
Exec=compton-conf
Icon=preferences-system-windows
-Categories=Settings;DesktopSettings;Qt;LXQt;
+Categories=Settings;DesktopSettings;Qt;X-LXQt;
#TRANSLATIONS_DIR=translations