[arch-commits] Commit in libadwaita/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Tue Nov 2 22:59:18 UTC 2021


    Date: Tuesday, November 2, 2021 @ 22:59:17
  Author: heftig
Revision: 427019

archrelease: copy trunk to extra-x86_64

Added:
  libadwaita/repos/extra-x86_64/PKGBUILD
    (from rev 427018, libadwaita/trunk/PKGBUILD)
Deleted:
  libadwaita/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  127 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 69 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-02 22:58:46 UTC (rev 427018)
+++ PKGBUILD	2021-11-02 22:59:17 UTC (rev 427019)
@@ -1,58 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgbase=libadwaita
-pkgname=(libadwaita libadwaita-docs)
-pkgver=1.0.0.alpha.3
-pkgrel=1
-pkgdesc="Building blocks for modern GNOME applications"
-url="https://gitlab.gnome.org/GNOME/libadwaita"
-arch=(x86_64)
-license=(LGPL)
-depends=(gtk4)
-makedepends=(git meson gi-docgen sassc gobject-introspection vala)
-_commit=40c19ab2591763a482ebc79c82f1da32eea3bab6  # tags/1.0.0.alpha.3^0
-source=("git+https://gitlab.gnome.org/GNOME/libadwaita.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed -r 's/-([a-z])/\1/;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build -D gtk_doc=true
-  meson compile -C build
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-    d="$srcdir/$p/${f#$pkgdir/}"
-    mkdir -p "$(dirname "$d")"
-    mv "$f" "$d"
-    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-package_libadwaita() {
-  depends+=(libgtk-4.so)
-  provides+=(libadwaita-1.so)
-
-  meson install -C build --destdir "$pkgdir"
-
-  cd "$pkgdir"
-
-  _pick docs usr/share/doc
-}
-
-package_libadwaita-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-  mv docs/* "$pkgdir"
-}
-
-# vim:set sw=2 et:

Copied: libadwaita/repos/extra-x86_64/PKGBUILD (from rev 427018, libadwaita/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-02 22:59:17 UTC (rev 427019)
@@ -0,0 +1,69 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgbase=libadwaita
+pkgname=(libadwaita libadwaita-docs libadwaita-demos)
+pkgver=1.0.0.alpha.4
+pkgrel=1
+pkgdesc="Building blocks for modern GNOME applications"
+url="https://gitlab.gnome.org/GNOME/libadwaita"
+arch=(x86_64)
+license=(LGPL)
+depends=(gtk4)
+makedepends=(git meson gi-docgen sassc gobject-introspection vala)
+_commit=6b447fde8f270001a0dc29ef59d3e9bf6d32dae9  # tags/1.0.0.alpha.4^0
+source=("git+https://gitlab.gnome.org/GNOME/libadwaita.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -r 's/-([a-z])/\1/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  meson compile -C build
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package_libadwaita() {
+  depends+=(libgtk-4.so)
+  provides+=(libadwaita-1.so)
+
+  meson install -C build --destdir "$pkgdir"
+
+  cd "$pkgdir"
+
+  _pick docs usr/share/doc
+
+  _pick demo usr/bin/adwaita-1-demo
+  _pick demo usr/share/applications/org.gnome.Adwaita1.Demo.desktop
+  _pick demo usr/share/icons/hicolor/*/apps/org.gnome.Adwaita1.Demo[-.]*
+  _pick demo usr/share/metainfo/org.gnome.Adwaita1.Demo.metainfo.xml
+}
+
+package_libadwaita-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  mv docs/* "$pkgdir"
+}
+
+package_libadwaita-demos() {
+  pkgdesc+=" (demo applications)"
+  depends=(libadwaita)
+  mv demo/* "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list