Browse Source

[trunk] -> [extra] 'gtkmm3-3.24.5-2' add

master
Dudemanguy 6 months ago
parent
commit
712b1e99b9
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 17
      gtkmm3/trunk/PKGBUILD
  2. 17
      gtkmm3/x86_64/extra/PKGBUILD

17
gtkmm3/trunk/PKGBUILD

@ -4,13 +4,14 @@
pkgbase=gtkmm3
pkgname=(gtkmm3 gtkmm3-docs)
pkgver=3.24.5
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for GTK+ 3"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(gtk3 pangomm atkmm)
makedepends=(git mm-common glibmm-docs cairomm-docs pangomm-docs atkmm-docs meson)
makedepends=(git meson mm-common glibmm-docs cairomm-docs pangomm-docs
atkmm-docs)
checkdepends=(xorg-server-xvfb)
options=(!emptydirs)
_commit=46ba619fae503e361d088991f5eb8cf0b2c343fc # tags/3.24.5^0
@ -32,15 +33,19 @@ build() {
}
check() {
xvfb-run -s '-nolisten local' \
meson test -C build --print-errorlogs
xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
}
package_gtkmm3() {
depends+=(libsigc-2.0.so libglibmm-2.4.so libcairomm-1.0.so libpangomm-1.4.so
libatkmm-1.6.so)
provides=(libgtkmm-3.0.so)
meson install -C build --destdir "$pkgdir"
# Split -docs
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_gtkmm3-docs() {
@ -48,5 +53,5 @@ package_gtkmm3-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

17
gtkmm3/x86_64/extra/PKGBUILD

@ -4,13 +4,14 @@
pkgbase=gtkmm3
pkgname=(gtkmm3 gtkmm3-docs)
pkgver=3.24.5
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for GTK+ 3"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(gtk3 pangomm atkmm)
makedepends=(git mm-common glibmm-docs cairomm-docs pangomm-docs atkmm-docs meson)
makedepends=(git meson mm-common glibmm-docs cairomm-docs pangomm-docs
atkmm-docs)
checkdepends=(xorg-server-xvfb)
options=(!emptydirs)
_commit=46ba619fae503e361d088991f5eb8cf0b2c343fc # tags/3.24.5^0
@ -32,15 +33,19 @@ build() {
}
check() {
xvfb-run -s '-nolisten local' \
meson test -C build --print-errorlogs
xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
}
package_gtkmm3() {
depends+=(libsigc-2.0.so libglibmm-2.4.so libcairomm-1.0.so libpangomm-1.4.so
libatkmm-1.6.so)
provides=(libgtkmm-3.0.so)
meson install -C build --destdir "$pkgdir"
# Split -docs
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_gtkmm3-docs() {
@ -48,5 +53,5 @@ package_gtkmm3-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save