[arch-commits] Commit in librsvg/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Sat Apr 2 13:41:26 UTC 2022
Date: Saturday, April 2, 2022 @ 13:41:25
Author: heftig
Revision: 441248
archrelease: copy trunk to extra-x86_64
Added:
librsvg/repos/extra-x86_64/PKGBUILD
(from rev 441247, librsvg/trunk/PKGBUILD)
Deleted:
librsvg/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 128 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 66 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 13:41:04 UTC (rev 441247)
+++ PKGBUILD 2022-04-02 13:41:25 UTC (rev 441248)
@@ -1,62 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=librsvg
-pkgname=(librsvg librsvg-docs)
-pkgver=2.54.0
-pkgrel=1
-epoch=2
-pkgdesc="SVG rendering library"
-url="https://wiki.gnome.org/Projects/LibRsvg"
-arch=(x86_64)
-license=(LGPL)
-depends=(cairo freetype2 gdk-pixbuf2 glib2 harfbuzz libxml2 pango)
-makedepends=(gobject-introspection vala git rust gi-docgen python-docutils)
-checkdepends=(ttf-dejavu)
-_commit=bad722eb736b84e043d824df1683b63d73421ca7 # tags/2.54.0^0
-source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd librsvg
- git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
- cd librsvg
- NOCONFIGURE=1 ./autogen.sh
-}
-
-# Use LTO
-export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-
-build() {
- cd librsvg
- ./configure --prefix=/usr --disable-static --enable-vala
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
- make
-}
-
-check() {
- # Test suite is very dependent on the versions of
- # Cairo, Pango, FreeType and HarfBuzz
- make -C librsvg check || :
-}
-
-package_librsvg() {
- provides=(librsvg-${pkgver%%.*}.so)
-
- make -C librsvg DESTDIR="$pkgdir" install
-
- mkdir -p doc/usr/share
- mv {"$pkgdir",doc}/usr/share/doc
-}
-
-package_librsvg-docs() {
- pkgdesc+=" (documentation)"
- depends=()
-
- mv doc/* "$pkgdir"
-}
-
-# vim:set sw=2 et:
Copied: librsvg/repos/extra-x86_64/PKGBUILD (from rev 441247, librsvg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-02 13:41:25 UTC (rev 441248)
@@ -0,0 +1,66 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=librsvg
+pkgname=(librsvg librsvg-docs)
+pkgver=2.54.0
+pkgrel=2
+epoch=2
+pkgdesc="SVG rendering library"
+url="https://wiki.gnome.org/Projects/LibRsvg"
+arch=(x86_64)
+license=(LGPL)
+depends=(cairo freetype2 gdk-pixbuf2 glib2 harfbuzz libxml2 pango)
+makedepends=(gobject-introspection vala git rust gi-docgen python-docutils)
+checkdepends=(ttf-dejavu)
+options=(debug)
+_commit=bad722eb736b84e043d824df1683b63d73421ca7 # tags/2.54.0^0
+source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd librsvg
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd librsvg
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+# Use LTO
+export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
+# Use debug
+export CARGO_PROFILE_RELEASE_DEBUG=2
+
+build() {
+ cd librsvg
+ ./configure --prefix=/usr --disable-static --enable-vala
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+ make
+}
+
+check() {
+ # Test suite is very dependent on the versions of
+ # Cairo, Pango, FreeType and HarfBuzz
+ make -C librsvg check || :
+}
+
+package_librsvg() {
+ provides=(librsvg-${pkgver%%.*}.so)
+
+ make -C librsvg DESTDIR="$pkgdir" install
+
+ mkdir -p doc/usr/share
+ mv {"$pkgdir",doc}/usr/share/doc
+}
+
+package_librsvg-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ mv doc/* "$pkgdir"
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list