new blfs: dev-cpp/cairomm-1.14.5
This commit is contained in:
42
dev-cpp/cairomm-1.14.5.PKGBUILD
Normal file
42
dev-cpp/cairomm-1.14.5.PKGBUILD
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
pkgname=cairomm
|
||||||
|
pkgver=1.14.5
|
||||||
|
slot="0"
|
||||||
|
pkgdesc="C++ bindings for Cairo"
|
||||||
|
homepage="https://www.cairographics.org/cairomm/"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(LGPL MPL)
|
||||||
|
depends=(
|
||||||
|
cairo
|
||||||
|
libsigc++:2
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
meson
|
||||||
|
)
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://www.cairographics.org/releases/${sources[0]}")
|
||||||
|
sha512sums=("19e5f84f6167c1641b27545c3af4e780b6a072513322adc6296577e2d0ebcffe933afd15c32117a203394e9f5f28734820aaf1802dfdeb35ff2a657f140570b0")
|
||||||
|
|
||||||
|
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 build-documentation=false
|
||||||
|
-D build-examples=false
|
||||||
|
-D build-tests=false
|
||||||
|
-D boost-shared=true
|
||||||
|
)
|
||||||
|
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