summaryrefslogblamecommitdiff
path: root/user/libpeas/APKBUILD
blob: 09d588dcd8cdef59bfe606b4200b50c890a94526 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                           
             
        

                                        
                                                                   
                   

                                                                

                                                                                       
                                 

         
                                    

           
                                                
 
                                                                                                                                                                    
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libpeas
pkgver=1.24.1
pkgrel=0
pkgdesc="GObject-based plugin framework"
url="https://gnome.org"
arch="all"
options="!check"  # With Meson, you can't disable individual tests.
                  # Three require X11.  Complain to Meson, not me.
license="LGPL-2.1+"
depends=""
makedepends="glib-dev gobject-introspection-dev gtk+3.0-dev
	meson ninja py3-pygobject py3-pygobject-dev python3-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/libpeas/${pkgver%.*}/libpeas-$pkgver.tar.xz"

build() {
	meson -Dprefix=/usr build
	ninja -C build
}

check() {
	DISPLAY= ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="9e2f2f3e7208baa7e72f6b963ad2bca7bf2789ffb2656151bd913be10d45f3e0d40379d69513d2ecf597cc6d211d157c273cc841dfd445829d0cb57d24275e1b  libpeas-1.24.1.tar.xz"