summaryrefslogtreecommitdiff
path: root/libs/gdk-pixbuf/MAKEPKG
blob: 5002d96161d8d21fcd7145de21bb4343f39410c3 (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
43
#!/bin/mkpkg
# description: An image loading library for GTK+
# url: https://wiki.gnome.org/Projects/GdkPixbuf

name=gdk-pixbuf
version=2.44.8
release=2
_short=2.44
depends=(glib libpng libjpeg-turbo tiff shared-mime-info)
makedeps=(meson)
source=(https://download.gnome.org/sources/$name/$_short/$name-$version.tar.xz)

sha256sums=(
    "919f529512961a12e81cd4b4b466a48c3933469e7f9a310c6513cd4fb252ba3c"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --buildtype=plain \
        -D glycin=disabled \
        -D png=enabled \
        -D jpeg=enabled \
        -D tiff=enabled \
        -D gif=enabled \
        -D others=disabled \
        -D tests=false \
        -D installed_tests=false \
        -D man=false

    meson compile -C build
    DESTDIR=$PKG meson install -C build

    rm -rf $PKG/usr/share/locale
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh