#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>
# Included in Slint by Didier Spaier didieratslintdotfr 
pkgname=libgdata
pkgver=0.18.1
_mainver=`echo $pkgver | cut -d'.' -f1,2`
pkgrel=1slint
source=("https://download-fallback.gnome.org/sources/libgdata/${_mainver}/libgdata-${pkgver}.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libgdata (Google GData library)"
"GData (Google data) is a set of Application Programming Interfaces"
"(APIs) for the Common Language Infrastructure (CLI) which provide a"
"simple protocol for reading and writing data on the web."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	meson build \
		-D prefix=/usr \
		-D libdir=/usr/lib${LIBDIRSUFFIX} \
		-D gtk=enabled \
		-D gnome=disabled \
		-D goa=disabled \
		-D gtk_doc=true
	meson compile -C build
	meson install -C build --destdir $startdir/pkg/
	
} 
