summaryrefslogblamecommitdiff
path: root/user/libpeas/APKBUILD
blob: ed8bb27f2d0f8521d1838ad92d3a3a5209f6ad60 (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.0
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="b4baa03ded9d787e7a1ee2be943617f5c84564bf299699934c47ded6c60ff62a7f27ab2594cd0ffba2d8979d8b72113d1b5e910eebd80305f3aa538db0d45314  libpeas-1.24.0.tar.xz"