mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/devhelp: Update for 43.0; new maintainer
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
106b0d1ad5
commit
38be87c478
3 changed files with 24 additions and 24 deletions
|
@ -2,12 +2,17 @@
|
|||
|
||||
# Slackware build script for DevHelp
|
||||
|
||||
# Written by Andrew Rowland (darowland@ieee.org)
|
||||
# Originally written by Andrew Rowland (darowland@ieee.org), Copyright © 2012-2023
|
||||
# Current maintainer: Logan Rathbone <poprocks@gmail.com>, Copyright © 2023
|
||||
#
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
#
|
||||
# For ChangeLog, see SBo git log history.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=devhelp
|
||||
VERSION=${VERSION:-41.2}
|
||||
VERSION=${VERSION:-43.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -62,11 +67,10 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
meson .. \
|
||||
--buildtype=release \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
meson setup \
|
||||
--buildtype=plain \
|
||||
--infodir=/usr/info \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--localstatedir=/var \
|
||||
|
@ -76,10 +80,10 @@ cd build
|
|||
-D strip=true \
|
||||
-D plugin_emacs=true \
|
||||
-D plugin_gedit=true \
|
||||
-D plugin_vim=true
|
||||
"${NINJA:=ninja}"
|
||||
DESTDIR=$PKG $NINJA install
|
||||
cd ..
|
||||
-D plugin_vim=true \
|
||||
build/
|
||||
"${NINJA:=ninja}" -v -C build/
|
||||
DESTDIR=$PKG "${NINJA}" -C build/ install
|
||||
|
||||
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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="devhelp"
|
||||
VERSION="41.2"
|
||||
VERSION="43.0"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp"
|
||||
DOWNLOAD="https://download.gnome.org/sources/devhelp/41/devhelp-41.2.tar.xz"
|
||||
MD5SUM="1b0ba87935ff3a06dfa716ca088b7a2d"
|
||||
DOWNLOAD="https://download.gnome.org/sources/devhelp/43/devhelp-43.0.tar.xz"
|
||||
MD5SUM="14b56884ae13c4ad7d87036a65b9eaed"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="webkit2gtk"
|
||||
|
|
|
@ -1,13 +1,3 @@
|
|||
schema_install() {
|
||||
SCHEMA="$1"
|
||||
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
|
||||
chroot . gconftool-2 --makefile-install-rule \
|
||||
/etc/gconf/schemas/$SCHEMA \
|
||||
1>/dev/null
|
||||
}
|
||||
|
||||
schema_install devhelp.schemas
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
@ -17,3 +7,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
|||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e usr/share/glib-2.0/schemas ]; then
|
||||
if [ -x /usr/bin/glib-compile-schemas ]; then
|
||||
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue