Update + patch dino-git for bigger font
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
# Contributor: svalo <me@valo.space>
|
||||
|
||||
pkgname=dino-git
|
||||
pkgver=r578.f9c69a2
|
||||
pkgver=r640.3b0a27e
|
||||
pkgrel=1
|
||||
pkgdesc="Simple and modern Jabber/XMPP client written in vala"
|
||||
arch=('i686' 'x86_64' 'aarch64')
|
||||
url="https://github.com/dino/dino"
|
||||
license=('GPL3')
|
||||
depends=('glib2>=2.38' 'glib-networking' 'gtk3>=3.22' 'gpgme' 'libgee>=0.10' 'libgcrypt' 'libsoup' 'sqlite' 'qrencode')
|
||||
depends=('glib2>=2.38' 'glib-networking' 'gtk3>=3.22' 'gpgme' 'libgee>=0.10' 'libgcrypt' 'libsoup' 'sqlite' 'qrencode' 'libsignal-protocol-c' )
|
||||
makedepends=('git' 'cmake' 'vala>=0.34' 'ninja')
|
||||
optdepends=('libcanberra: audio notification support')
|
||||
provides=("${pkgname%-git}")
|
||||
@@ -25,6 +25,9 @@ sha512sums=('SKIP')
|
||||
|
||||
#_ENABLE_PLUGINS="--enable-plugin='notification-sound'"
|
||||
|
||||
### Since 55b148a0f78c1abef57c21b2a84d97cad32b2290 dino uses by default the shared libsignal library.
|
||||
# To restore the old behaviour add '--with-libsignal-in-tree' flag to configure
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
@@ -32,8 +35,9 @@ pkgver() {
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
./configure $_DISABLE_PLUGINS $_ENABLE_PLUGINS --prefix="/usr" --with-tests CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS"
|
||||
./configure $_DISABLE_PLUGINS $_ENABLE_PLUGINS --with-tests --prefix="/usr" CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS"
|
||||
sed -i '/SrvRecordsTls/d' libdino/src/service/module_manager.vala
|
||||
sed -i 's/try{/try{\n GLib.Environment.set_variable("GDK_DPI_SCALE", "1.5", false);/' main/src/main.vala
|
||||
make
|
||||
}
|
||||
|
||||
@@ -46,7 +50,4 @@ check() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
echo "Executing xmpp-vala-test:"
|
||||
build/xmpp-vala-test
|
||||
echo
|
||||
echo "Executing signal-protocol-vala-test:"
|
||||
build/signal-protocol-vala-test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user