summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/compton-conf/compton-conf.SlackBuild14
-rw-r--r--desktop/compton-conf/compton-conf.info8
-rw-r--r--desktop/compton-conf/desktop_entry.patch11
3 files changed, 12 insertions, 21 deletions
diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild
index c8096072fc..87ee14d790 100644
--- a/desktop/compton-conf/compton-conf.SlackBuild
+++ b/desktop/compton-conf/compton-conf.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="compton-conf"
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,21 +69,23 @@ 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
+mkdir build; cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUPDATE_TRANSLATIONS:BOOL=OFF \
+ -Dlxqt-build-tools_DIR:PATH=/usr/share/cmake/lxqt-build-tools \
+ ..
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-DOCS="AUTHORS CHANGELOG COPYING README.md compton.conf.example"
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp ../{AUTHORS,CHANGELOG,COPYING,README.md,compton.conf.example} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/compton-conf/compton-conf.info b/desktop/compton-conf/compton-conf.info
index 0242e5a73a..a8affc9bfe 100644
--- a/desktop/compton-conf/compton-conf.info
+++ b/desktop/compton-conf/compton-conf.info
@@ -1,10 +1,10 @@
PRGNAM="compton-conf"
-VERSION="0.3.0"
+VERSION="0.4.0"
HOMEPAGE="https://github.com/lxde/compton-conf"
-DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.3.0/compton-conf-0.3.0.tar.gz"
-MD5SUM="a417d589b272a34c60aa9fafbf6571ef"
+DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.4.0/compton-conf-0.4.0.tar.gz"
+MD5SUM="c3145019e45b459b14ac5072c0b6cf4f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="compton lxqt-build-tools"
+REQUIRES="libconfig lxqt-build-tools"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"
diff --git a/desktop/compton-conf/desktop_entry.patch b/desktop/compton-conf/desktop_entry.patch
deleted file mode 100644
index 303d89fa76..0000000000
--- a/desktop/compton-conf/desktop_entry.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-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