37 lines
969 B
Bash
37 lines
969 B
Bash
#!/usr/bin/env bash
|
|
name='librsvg'
|
|
release='4'
|
|
version='2.59.2'
|
|
url='https://github.com/oaken-source/librsvg-og'
|
|
description='Scalable Vector Graphics (SVG) rendering library '
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
#source=("https://github.com/oaken-source/librsvg-og/archive/refs/tags/$version.tar.gz")
|
|
source=("https://download.gnome.org/sources/librsvg/${version%.*}/librsvg-${version}.tar.xz")
|
|
depends=(libcroco gobject-introspection pango cairo fontconfig libX11 libXext libXrender libxcb gdk-pixbuf)
|
|
makedepends=(rust)
|
|
sha256sums=('ecd293fb0cc338c170171bbc7bcfbea6725d041c95f31385dc935409933e4597')
|
|
group=(gnome.base)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build \
|
|
--prefix=/usr \
|
|
-Dintrospection=enabled \
|
|
-Dpixbuf=enabled\
|
|
-Dpixbuf-loader=enabled \
|
|
-Dvala=enabled
|
|
}
|
|
build(){
|
|
ninja -C build $jobs
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install DESTDIR="$DESTDIR" $jobs
|
|
}
|
|
|