summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Muehlhaeuser2020-04-04 08:53:14 +0200
committerChristian Muehlhaeuser2020-04-04 08:53:14 +0200
commit7014a431c184de260fb0b86b27fa414191f53abd (patch)
tree29b8ba13799c842819a8a1fcf4586d3f140e5077
parentb6f7d9b17d09c4cce13e149f90e97329272d3662 (diff)
downloadaur-7014a431c184de260fb0b86b27fa414191f53abd.tar.gz
Update dependencies
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD33
2 files changed, 16 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd422c4db5c..d41fed24bbd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = telephant-git
pkgdesc = A lightweight but modern Mastodon client, written in Go & QML
- pkgver = 20190525
+ pkgver = 20200303
pkgrel = 1
url = https://github.com/muesli/telephant
arch = x86_64
@@ -17,6 +17,7 @@ pkgbase = telephant-git
depends = qt5-graphicaleffects
depends = qt5-quickcontrols2
depends = qt5-svg
+ depends = qt5-multimedia
provides = telephant
conflicts = telephant
diff --git a/PKGBUILD b/PKGBUILD
index 24a22b30448..7cff91368c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,47 +1,42 @@
# Maintainer: Christian Muehlhaeuser <muesli at gmail dot com>
# Maintainer: MOTT <ted.jameson at pm dot me>
pkgname=telephant-git
-pkgver=20190525
+pkgver=20200303
pkgrel=1
-epoch=
pkgdesc="A lightweight but modern Mastodon client, written in Go & QML"
arch=('x86_64')
url="https://github.com/muesli/telephant"
license=('MIT')
-groups=()
-depends=('qt5-base' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg')
+depends=('qt5-base' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-multimedia')
makedepends=('go' 'pkgconf' 'qt5-tools' 'git' 'libpulse' 'glib2' 'mesa')
-checkdepends=()
-optdepends=()
provides=("telephant")
conflicts=("telephant")
-replaces=()
-backup=()
-options=()
-install=
-noextract=()
#source=($pkgname::git://github.com/muesli/telephant.git)
-#md5sums=("SKIP")
+#sha256sums=('SKIP')
build() {
export GOPATH="$srcdir"/gopath
+ export PATH="$srcdir"/gopath/bin:$PATH
export QT_PKG_CONFIG=true
- export QT_DIR=/usr
+
+ # Create dirs
+ mkdir -p "$srcdir"/gopath
# Qt Bindings
- go get -u -v -tags=no_env github.com/therecipe/qt/cmd/...
+ go get -v -tags=no_env github.com/therecipe/qt/cmd/...
+ #$(go env GOPATH)/bin/qtsetup -test=false
- # Building Telephant
+ # Build Telephant
go get -d -v github.com/muesli/telephant
- cd gopath/src/github.com/muesli/telephant
- $(go env GOPATH)/bin/qtdeploy build desktop .
-}
+ cd "$GOPATH"/src/github.com/muesli/telephant
+ $(go env GOPATH)/bin/qtdeploy build desktop
+}
package() {
install -Dm755 "gopath/src/github.com/muesli/telephant/deploy/linux/telephant" "$pkgdir/usr/bin/telephant"
install -Dm644 "gopath/src/github.com/muesli/telephant/assets/telephant.desktop" "$pkgdir/usr/share/applications/telephant.desktop"
-
+
for icon_size in 8 16 32 64 128 256 512; do
icon_dir="$pkgdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
install -d "$icon_dir"