diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-06-30 11:55:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-30 11:55:09 +0700 |
commit | 13d522beee6ee3110c6c188c92709784c7e48c4a (patch) | |
tree | 7931bb233684fa1fe7c90d1b36ffeff561767c2d /desktop/compton-conf | |
parent | 5764f01b85aee852ea38acce0b4c8ddeca50317c (diff) |
desktop/compton-conf: Added category patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/compton-conf')
-rw-r--r-- | desktop/compton-conf/compton-conf.SlackBuild | 6 | ||||
-rw-r--r-- | desktop/compton-conf/desktop_entry.patch | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild index 96897ce36ea5d..955690666befa 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 0000000000000..303d89fa76800 --- /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 |