summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/compton-conf/compton-conf.SlackBuild6
-rw-r--r--desktop/compton-conf/desktop_entry.patch11
2 files changed, 15 insertions, 2 deletions
diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild
index 96897ce36e..955690666b 100644
--- a/desktop/compton-conf/compton-conf.SlackBuild
+++ b/desktop/compton-conf/compton-conf.SlackBuild
@@ -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
diff --git a/desktop/compton-conf/desktop_entry.patch b/desktop/compton-conf/desktop_entry.patch
new file mode 100644
index 0000000000..303d89fa76
--- /dev/null
+++ b/desktop/compton-conf/desktop_entry.patch
@@ -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