Browse Source

[trunk] -> [extra] 'gtkmm-4.0-4.2.0-2' add

master
Dudemanguy 8 months ago
parent
commit
505090c92e
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 20
      gtkmm-4.0/trunk/PKGBUILD
  2. 20
      gtkmm-4.0/x86_64/extra/PKGBUILD

20
gtkmm-4.0/trunk/PKGBUILD

@ -4,14 +4,14 @@
pkgbase=gtkmm-4.0
pkgname=(gtkmm-4.0 gtkmm-4.0-docs)
pkgver=4.2.0
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for GTK 4"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(gtk4 pangomm-2.48 atkmm-2.36)
makedepends=(git mm-common glibmm-2.68-docs cairomm-1.16-docs pangomm-2.48-docs
atkmm-2.36-docs meson)
depends=(gtk4 pangomm-2.48)
makedepends=(git meson mm-common glibmm-2.68-docs cairomm-1.16-docs
pangomm-2.48-docs meson)
checkdepends=(xorg-server-xvfb)
options=(!emptydirs)
_commit=e0e280baf48b9899b1870a3308ea8fb31c83ebb5 # tags/4.2.0^0
@ -33,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_gtkmm-4.0() {
depends+=(libsigc-3.0.so libglibmm-2.68.so libcairomm-1.16.so
libpangomm-2.48.so)
provides=(libgtkmm-4.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_gtkmm-4.0-docs() {
@ -49,5 +53,5 @@ package_gtkmm-4.0-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

20
gtkmm-4.0/x86_64/extra/PKGBUILD

@ -4,14 +4,14 @@
pkgbase=gtkmm-4.0
pkgname=(gtkmm-4.0 gtkmm-4.0-docs)
pkgver=4.2.0
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for GTK 4"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(gtk4 pangomm-2.48 atkmm-2.36)
makedepends=(git mm-common glibmm-2.68-docs cairomm-1.16-docs pangomm-2.48-docs
atkmm-2.36-docs meson)
depends=(gtk4 pangomm-2.48)
makedepends=(git meson mm-common glibmm-2.68-docs cairomm-1.16-docs
pangomm-2.48-docs meson)
checkdepends=(xorg-server-xvfb)
options=(!emptydirs)
_commit=e0e280baf48b9899b1870a3308ea8fb31c83ebb5 # tags/4.2.0^0
@ -33,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_gtkmm-4.0() {
depends+=(libsigc-3.0.so libglibmm-2.68.so libcairomm-1.16.so
libpangomm-2.48.so)
provides=(libgtkmm-4.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_gtkmm-4.0-docs() {
@ -49,5 +53,5 @@ package_gtkmm-4.0-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save