mirror of https://git.wownero.com/dsc/mxe.git
new package: librsvg
This commit is contained in:
parent
761b2a794d
commit
a963fe3cdb
|
@ -10,7 +10,7 @@ $(PKG)_SUBDIR := cairo-$($(PKG)_VERSION)
|
|||
$(PKG)_FILE := cairo-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_WEBSITE := http://cairographics.org/
|
||||
$(PKG)_URL := http://cairographics.org/releases/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc zlib libpng fontconfig freetype pixman
|
||||
$(PKG)_DEPS := gcc zlib libpng fontconfig freetype pixman librsvg
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://cairographics.org/releases/' | \
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
# This file is part of mingw-cross-env.
|
||||
# See doc/index.html for further information.
|
||||
|
||||
# librsvg
|
||||
PKG := librsvg
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.26.0
|
||||
$(PKG)_CHECKSUM := 61044be4bcd5945f5711f788e1aa303a80b69e32
|
||||
$(PKG)_SUBDIR := librsvg-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := librsvg-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_WEBSITE := http://librsvg.sourceforge.net/
|
||||
$(PKG)_URL := http://ftp.gnome.org/pub/GNOME/sources/librsvg/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc glib libgsf
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://git.gnome.org/browse/librsvg/log' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9][0-9.]*\)<.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
$(SED) 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' -i '$(1)'/Makefile.in
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--disable-shared \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--enable-pixbuf-loader \
|
||||
--disable-gtk-theme \
|
||||
--disable-mozilla-plugin \
|
||||
--disable-gtk-doc \
|
||||
--with-svgz \
|
||||
--without-croco \
|
||||
--without-x
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
endef
|
Loading…
Reference in New Issue