diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-25 00:39:19 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-25 01:42:00 +0100 |
commit | 7501c9916b1c1fc692ef990c33d9079044baf4b0 (patch) | |
tree | 1415a6dbe7add854d593e6460f1422553c658a93 | |
parent | 744e007a678107fc119ee377c3b7d17823129d10 (diff) | |
download | aports-7501c9916b1c1fc692ef990c33d9079044baf4b0.tar.bz2 aports-7501c9916b1c1fc692ef990c33d9079044baf4b0.tar.xz |
testing/lasem: install MathML headers
-rw-r--r-- | testing/lasem/APKBUILD | 6 | ||||
-rw-r--r-- | testing/lasem/install-mathml-headers.patch | 30 |
2 files changed, 34 insertions, 2 deletions
diff --git a/testing/lasem/APKBUILD b/testing/lasem/APKBUILD index c79d36d206..3831005345 100644 --- a/testing/lasem/APKBUILD +++ b/testing/lasem/APKBUILD @@ -11,7 +11,8 @@ license="LGPL2 GPL2" makedepends="intltool gdk-pixbuf-dev gobject-introspection-dev libxml2-dev pango-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-render" -source="http://download.gnome.org/sources/lasem/${pkgver%.*}/lasem-$pkgver.tar.xz" +source="http://download.gnome.org/sources/lasem/${pkgver%.*}/lasem-$pkgver.tar.xz + install-mathml-headers.patch" builddir="$srcdir/$pkgname-$pkgver" build() { @@ -54,4 +55,5 @@ render() { ln -s lasem-render-$_apiver "$subpkgdir"/usr/bin/lasem-render } -sha512sums="1ee92ea73550ee7b23394976c91e63d9dccbd76ba414d01a06cb75f65da0decf57c56a9121e4e120f1cf2311dc217d462ac361ca16f6b0d7410e1b886b6f4cd8 lasem-0.5.0.tar.xz" +sha512sums="1ee92ea73550ee7b23394976c91e63d9dccbd76ba414d01a06cb75f65da0decf57c56a9121e4e120f1cf2311dc217d462ac361ca16f6b0d7410e1b886b6f4cd8 lasem-0.5.0.tar.xz +bdfa5cd2b108d40ec77cee70f5bf2664a003b75249078fe57a8ddffb51a01f0ac8194fbec1ebc000a0aa4a65b08647874ed317bfa4523e24db59f49ca66d34eb install-mathml-headers.patch" diff --git a/testing/lasem/install-mathml-headers.patch b/testing/lasem/install-mathml-headers.patch new file mode 100644 index 0000000000..4283941ac4 --- /dev/null +++ b/testing/lasem/install-mathml-headers.patch @@ -0,0 +1,30 @@ +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Sat, 25 Mar 2017 00:35:00 +0100 +Subject: [PATCH] Install MathML headers + +To be honest, I have no clue why MathML headers are not installed by default. +However, ruby-mathematical needs them and I'm creating this aport for +ruby-mathematical, so I'm adding them. + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -269,7 +269,7 @@ + liblasem_@LASEM_API_VERSION@_la_SOURCES += $(LASEM_MATHML_HDRS) $(LASEM_SVG_HDRS) + liblasem_@LASEM_API_VERSION@_la_SOURCES += lsmmathmlenumtypes.h lsmsvgenumtypes.h + +-liblasem_@LASEM_API_VERSION@_la_HEADERS = $(LASEM_DOM_HDRS) ++liblasem_@LASEM_API_VERSION@_la_HEADERS = $(LASEM_DOM_HDRS) $(LASEM_MATHML_HDRS) + liblasem_@LASEM_API_VERSION@_la_HEADERS += lsmdomenumtypes.h + + liblasem_@LASEM_API_VERSION@_la_LDFLAGS = -version-info $(LASEM_LIBTOOL_VERSION) +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -710,7 +710,7 @@ + $(LASEM_MATHML_HDRS) $(LASEM_SVG_HDRS) lsmmathmlenumtypes.h \ + lsmsvgenumtypes.h + liblasem_@LASEM_API_VERSION@_la_HEADERS = $(LASEM_DOM_HDRS) \ +- lsmdomenumtypes.h ++ $(LASEM_MATHML_HDRS) lsmdomenumtypes.h + liblasem_@LASEM_API_VERSION@_la_LDFLAGS = -version-info $(LASEM_LIBTOOL_VERSION) + lasem_render_@LASEM_API_VERSION@_SOURCES = \ + lasemrender.c |