makedeb


dino-git 937.6ca47bf7-3


Dino - Modern Jabber/XMPP Client using GTK+/Vala

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for dino-git.

# Maintainer: zocker_160 <zocker1600 at posteo dot net>

pkgname=dino-git
_gitname=dino
pkgver=937.6ca47bf7
pkgrel=3
pkgdesc="Dino - Modern Jabber/XMPP Client using GTK+/Vala"
arch=('x86_64')
url="https://dino.im/"
license=('GPL3')
_base_depends=('libc6' 'libcairo2' 'libgcc-s1' 'libgcrypt20' 'libgdk-pixbuf2.0-0'
        'libgee-0.8-2' 'libglib2.0-0' 'libgnutls30' 'libgpg-error0' 'libgpgme11'
        'libgspell-1-2' 'libgstreamer-plugins-base1.0-0' 'libgstreamer1.0-0' 'libgtk-3-0'
        'libnice10' 'libpango-1.0-0' 'libqrencode4' 'libsoup2.4-1'
        'libsqlite3-0' 'libsrtp2-1+20170516' 'libstdc++6' 'libwebrtc-audio-processing1' 'glib-networking'
        'gstreamer1.0-plugins-good' 'gstreamer1.0-gtk3')
depends=("${_base_depends[@]}" 'libicu66')
bullseye_depends=("${_base_depends[@]}" 'libicu67')
makedepends=('git' 'cmake' 'g++' 'ninja-build' 'valac' 'gettext' 'libgee-0.8-dev' 'libsqlite3-dev' 'libgtk-3-dev'
        'libgpgme-dev' 'libsoup2.4-dev' 'libgcrypt20-dev' 'libqrencode-dev' 'libgspell-1-dev' 'libgstreamer1.0-dev'
        'libgstreamer-plugins-base1.0-dev' 'libwebrtc-audio-processing-dev' 'libsrtp2-dev' 'libnice-dev' 'glib-networking'
        'gstreamer1.0-plugins-good' 'gstreamer1.0-gtk3' 'libsignal-protocol-c-dev')

conflicts=('dino' 'dino-im' 'dino-im-common' 'dino-plugin-http-files' 'dino-plugin-omemo' 'dino-plugin-openpgp' 'libdino0'
            'libqlite0' 'libxmpp-vala0')
provides=('dino' 'dino-im' 'dino-im-common' 'dino-plugin-http-files' 'dino-plugin-omemo' 'dino-plugin-openpgp' 'libdino0'
            'libqlite0' 'libxmpp-vala0')
source=("git+https://github.com/dino/dino.git")
sha256sums=('SKIP')

pkgver() {
  cd ${srcdir}/${_gitname}
  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


build() {
    cd ${srcdir}/${_gitname}
    ./configure --with-libsignal-in-tree --prefix="/usr"
    make -j$(nproc)
}

package() {
    cd ${srcdir}/${_gitname}
    make DESTDIR="${pkgdir}" prefix="/usr" install
}