libraries/lxqt-build-tools: Updated for version 0.5.0.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2018-06-06 19:22:54 +02:00 committed by Willy Sudiarto Raharjo
parent 5f84450ac8
commit 690cfb4fec
2 changed files with 11 additions and 7 deletions

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="lxqt-build-tools"
VERSION=${VERSION:-0.4.0}
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -73,13 +73,17 @@ find -L . \
# glib2 >= 2.50 is really needed to build all of the LXQt components, but we
# can't have them on 14.2 because we lack kde framework 5, so we force a
# lower requirement to let us use this for what we can
sed -i "s|2\.50|2.46|" CMakeLists.txt
sed -i "s|2\.50|2.46|" CMakeLists.txt || exit 1
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
make install DESTDIR=$PKG
cd ..
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

View file

@ -1,8 +1,8 @@
PRGNAM="lxqt-build-tools"
VERSION="0.4.0"
VERSION="0.5.0"
HOMEPAGE="https://github.com/lxde/lxqt-build-tools"
DOWNLOAD="https://github.com/lxde/lxqt-build-tools/archive/0.4.0/lxqt-build-tools-0.4.0.tar.gz"
MD5SUM="7e96d45a0f95cc2f67687dd0aa7fbf20"
DOWNLOAD="https://github.com/lxde/lxqt-build-tools/archive/0.5.0/lxqt-build-tools-0.5.0.tar.gz"
MD5SUM="19e6562e9cc7816ab36396a5cd7e96ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"