summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/compton-conf/compton-conf.SlackBuild9
-rw-r--r--desktop/compton-conf/compton-conf.info6
2 files changed, 11 insertions, 4 deletions
diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild
index 87ee14d790..ce6d4598c4 100644
--- a/desktop/compton-conf/compton-conf.SlackBuild
+++ b/desktop/compton-conf/compton-conf.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM="compton-conf"
VERSION=${VERSION:-0.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,6 +54,8 @@ else
LIBDIRSUFFIX=""
fi
+L10N="lxqt-l10n"
+L10N_VER="0.13.0"
set -e
rm -rf $PKG
@@ -61,6 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+tar xvf $CWD/$L10N-$L10N_VER.tar.?z -C $PRGNAM-$VERSION/
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,12 +72,14 @@ 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 {} \;
+cp $L10N-$L10N_VER/$PRGNAM/* translations/
+
mkdir build; cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- -DUPDATE_TRANSLATIONS:BOOL=OFF \
+ -DPULL_TRANSLATIONS=No \
-Dlxqt-build-tools_DIR:PATH=/usr/share/cmake/lxqt-build-tools \
..
make
diff --git a/desktop/compton-conf/compton-conf.info b/desktop/compton-conf/compton-conf.info
index a8affc9bfe..ae5dbc7885 100644
--- a/desktop/compton-conf/compton-conf.info
+++ b/desktop/compton-conf/compton-conf.info
@@ -1,8 +1,10 @@
PRGNAM="compton-conf"
VERSION="0.4.0"
HOMEPAGE="https://github.com/lxde/compton-conf"
-DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.4.0/compton-conf-0.4.0.tar.gz"
-MD5SUM="c3145019e45b459b14ac5072c0b6cf4f"
+DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.4.0/compton-conf-0.4.0.tar.gz \
+ https://github.com/lxqt/lxqt-l10n/archive/0.13.0/lxqt-l10n-0.13.0.tar.gz"
+MD5SUM="c3145019e45b459b14ac5072c0b6cf4f \
+ 243bd386ad4cb3f23cb364521f4efc04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libconfig lxqt-build-tools"