desktop/vala-panel-appmenu: Updated for version 0.7.6.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-10 20:39:23 +01:00 committed by Willy Sudiarto Raharjo
parent 0faf61e6f7
commit db62848cbe
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 23 additions and 24 deletions

View File

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vala-panel-appmenu
VERSION=${VERSION:-20191009_060f7ac}
VERSION=${VERSION:-0.7.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -79,25 +79,24 @@ 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 {} \;
sed -i "s|X11\ WAYLAND|X11|" CMakeLists.txt
sed -i "s|\ \${WAYLAND_INCLUDE}||" subprojects/appmenu-gtk-module/src/CMakeLists.txt
mkdir -p build
mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_XFCE=ON \
-DENABLE_BUDGIE=OFF \
-DENABLE_VALAPANEL=OFF \
-DENABLE_MATE=OFF \
-DENABLE_JAYATANA=ON \
-DENABLE_UNITY_GTK_MODULE=ON \
-DMAKE_BOLD_APPNAME=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
-Dxfce=enabled \
-Dbudgie=disabled \
-Dmate=disabled \
-Djayatana=disabled \
-Dstrip=true
DESTDIR=$PKG "${NINJA:=ninja}" install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -1,8 +1,8 @@
PRGNAM="vala-panel-appmenu"
VERSION="20191009_060f7ac"
HOMEPAGE="https://github.com/rilian-la-te/vala-panel-appmenu"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/vala-panel-appmenu-20191009_060f7ac.tar.xz"
MD5SUM="faaffc16f9f5872ee60e8c0891b44b51"
VERSION="0.7.6"
HOMEPAGE="https://gitlab.com/vala-panel-project/vala-panel-appmenu/"
DOWNLOAD="https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/archive/0.7.6/vala-panel-appmenu-0.7.6.tar.bz2"
MD5SUM="21cedc19b9554696dd0ca879b43e9d7d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="bamf"