blob: f429c1492c2b83cba7d10d153877e0b018384e3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
pkgname=gdk-pixbuf-xlib
pkgver=2.40.2
pkgrel=2
pkgdesc="Deprecated Xlib integration for GdkPixbuf"
arch=('powerpc64le')
url="https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib"
license=(LGPL2.1)
depends=(gdk-pixbuf2 libx11)
makedepends=(gtk-doc git meson)
options=(debug)
_commit=c142b818801e0affceea4a2139cf5630a283e54e # tags/2.40.2^0
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build -D gtk_doc=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
depends+=(libgdk_pixbuf-2.0.so)
provides+=(libgdk_pixbuf_xlib-2.0.so)
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
|