Skip to content
Snippets Groups Projects
Verified Commit 9733e7f1 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

upgpkg: 0.8.4-2: google-glog 0.7 rebuild

parent a31e9af7
No related branches found
Tags 0.8.4-2
No related merge requests found
.SRCINFO 0 → 100644
pkgbase = iptux
pkgdesc = LAN messenger and file sender, an IP Messenger client
pkgver = 0.8.4
pkgrel = 2
url = https://github.com/iptux-src/iptux/
arch = x86_64
license = GPL2
checkdepends = xorg-server-xvfb
makedepends = appstream
makedepends = gflags
makedepends = meson
depends = google-glog
depends = gtk3
depends = jsoncpp
depends = libsigc++
source = https://github.com/iptux-src/iptux/archive/v0.8.4/iptux-0.8.4.tar.gz
source = cinttypes.patch
sha256sums = b96b6f1f36618d7516af71be19d36ce1fe9f65558b3c95d229399ad91a43b7ec
sha256sums = 7435708ea725f2a916cda116a88c76b1a72f4136295ee2dc88374a1efc5d70d3
pkgname = iptux
......@@ -3,7 +3,7 @@
pkgname=iptux
pkgver=0.8.4
pkgrel=1
pkgrel=2
pkgdesc='LAN messenger and file sender, an IP Messenger client'
arch=('x86_64')
url='https://github.com/iptux-src/iptux/'
......@@ -11,10 +11,19 @@ license=('GPL2')
depends=('google-glog' 'gtk3' 'jsoncpp' 'libsigc++')
makedepends=('appstream' 'gflags' 'meson')
checkdepends=('xorg-server-xvfb')
source=("https://github.com/iptux-src/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('b96b6f1f36618d7516af71be19d36ce1fe9f65558b3c95d229399ad91a43b7ec')
source=("https://github.com/iptux-src/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
cinttypes.patch)
sha256sums=('b96b6f1f36618d7516af71be19d36ce1fe9f65558b3c95d229399ad91a43b7ec'
'7435708ea725f2a916cda116a88c76b1a72f4136295ee2dc88374a1efc5d70d3')
prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../cinttypes.patch # Add missing include
}
build() {
# Fix build with glog 0.7
CXXFLAGS+=" -DGLOG_USE_GLOG_EXPORT -DGLOG_USE_GFLAGS" \
arch-meson $pkgname-$pkgver build
meson compile -C build
}
......
diff --git a/src/iptux/UiModels.cpp b/src/iptux/UiModels.cpp
index 18438a1..15add9c 100644
--- a/src/iptux/UiModels.cpp
+++ b/src/iptux/UiModels.cpp
@@ -1,6 +1,7 @@
#include "config.h"
#include "UiModels.h"
+#include <cinttypes>
#include <cstring>
#include <glib/gi18n.h>
#include <glog/logging.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment