summaryrefslogtreecommitdiff
path: root/repo/media/librsvg/librsvg.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/media/librsvg/librsvg.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/media/librsvg/librsvg.xibuild')
-rw-r--r--repo/media/librsvg/librsvg.xibuild40
1 files changed, 0 insertions, 40 deletions
diff --git a/repo/media/librsvg/librsvg.xibuild b/repo/media/librsvg/librsvg.xibuild
deleted file mode 100644
index 7e29f04..0000000
--- a/repo/media/librsvg/librsvg.xibuild
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-NAME="librsvg"
-DESC="SAX-based renderer for SVG files into a GdkPixbuf"
-
-MAKEDEPS="make rust cargo vala"
-DEPS="cairo gdk-pixbuf glib libxml2 musl pango "
-
-PKG_VER=2.54.1
-SOURCE="https://download.gnome.org/sources/librsvg/${PKG_VER%.*}/librsvg-$PKG_VER.tar.xz"
-ADDITIONAL="target.patch"
-
-prepare () {
- apply_patches
- export RUSTFLAGS="$RUSTFLAGS -C debuginfo=2"
- export CARGO_PROFILE_RELEASE_LTO=true
- export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-}
-
-
-build () {
- export CFLAGS="-fPIC" CXXFLAGS="-fPIC"
-
- ./configure --prefix=/usr \
- --libexecdir=/usr/lib/librsvg \
- --disable-static \
- --enable-vala
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
-
- make -j1
-
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
-}
-
-postinstall () {
- gdk-pixbuf-query-loaders --update-cache
-}