aboutsummaryrefslogtreecommitdiff
path: root/desktop/vala-panel-appmenu
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-10 20:39:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:42 +0700
commitdb62848cbeef346f71951f37b1ca0da0aa8df885 (patch)
treed0aba936daea9c6e7e55398a6ce3432a656177d9 /desktop/vala-panel-appmenu
parent0faf61e6f72316658bef72ae1b4c9db45ddaf135 (diff)
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>
Diffstat (limited to 'desktop/vala-panel-appmenu')
-rw-r--r--desktop/vala-panel-appmenu/vala-panel-appmenu.SlackBuild39
-rw-r--r--desktop/vala-panel-appmenu/vala-panel-appmenu.info8
2 files changed, 23 insertions, 24 deletions
diff --git a/desktop/vala-panel-appmenu/vala-panel-appmenu.SlackBuild b/desktop/vala-panel-appmenu/vala-panel-appmenu.SlackBuild
index 9b8539d4f276e..14ca8c3bf9aa4 100644
--- a/desktop/vala-panel-appmenu/vala-panel-appmenu.SlackBuild
+++ b/desktop/vala-panel-appmenu/vala-panel-appmenu.SlackBuild
@@ -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 \
diff --git a/desktop/vala-panel-appmenu/vala-panel-appmenu.info b/desktop/vala-panel-appmenu/vala-panel-appmenu.info
index 791e6a618cf63..36238d8cd7e71 100644
--- a/desktop/vala-panel-appmenu/vala-panel-appmenu.info
+++ b/desktop/vala-panel-appmenu/vala-panel-appmenu.info
@@ -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"