restructure #3
46
media-libs/graphene-1.10.8.PKGBUILD
Normal file
46
media-libs/graphene-1.10.8.PKGBUILD
Normal file
@@ -0,0 +1,46 @@
|
||||
pkgname=graphene
|
||||
pkgver=1.10.8
|
||||
pkgrel=2
|
||||
pkgdesc="Thin layer of graphic data types"
|
||||
gomepage="https://ebassi.github.io/graphene/"
|
||||
arch=(x86_64)
|
||||
license=(MIT)
|
||||
depends=(
|
||||
glib:2
|
||||
glibc
|
||||
)
|
||||
makedepends=(
|
||||
gobject-introspection
|
||||
meson
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/ebassi/graphene/archive/refs/tags/${pkgver}.tar.gz")
|
||||
sha512sums=("526b0c17049459b687ceb7f6c26c9d982535e4048e74a0b6282704f9811d3c2e7e0e6cfef166aa953306b6cf77add6677bc600ae0c66cc052dc04c3d0345bd68")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D gtk_doc=false
|
||||
-D gobject_types=true
|
||||
-D introspection=enabled
|
||||
-D gcc_vector=true
|
||||
-D sse2=true
|
||||
-D tests=false
|
||||
-D installed_tests=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user