new blfs: dev-cpp/gtkmm-3.24.10
This commit is contained in:
50
dev-cpp/gtkmm-3.24.10.PKGBUILD
Normal file
50
dev-cpp/gtkmm-3.24.10.PKGBUILD
Normal file
@@ -0,0 +1,50 @@
|
||||
pkgname=gtkmm
|
||||
pkgver=3.24.10
|
||||
_ver=${pkgver%.*}
|
||||
slot="3.0"
|
||||
pkgdesc="C++ bindings for GTK+ 3"
|
||||
homepage="https://www.gtkmm.org/"
|
||||
arch=(x86_64)
|
||||
license=(LGPL-2.1-or-later)
|
||||
depends=(
|
||||
atkmm:0
|
||||
cairomm:0
|
||||
gcc
|
||||
gdk-pixbuf:2
|
||||
glib:2
|
||||
glibc
|
||||
glibmm:2
|
||||
gtk+:3
|
||||
libsigc++:2
|
||||
pangomm:1.4
|
||||
libepoxy
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
|
||||
sha512sums=("d7478b66b94924e1457b1a6b4a46ee8027361ae1db0b3e203019957e4e591220de3a12c11d34cc5d381e707435c0cfe5eae12d620cd8db0e56a0485c39bd7abb")
|
||||
|
||||
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-atkmm-api=true
|
||||
-D build-demos=false
|
||||
-D build-documentation=false
|
||||
-D build-tests=false
|
||||
-D build-x11-api=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