paps: update to 0.7.0.

This commit is contained in:
Leah Neukirchen 2019-05-06 13:25:49 +02:00
parent 7a967085fe
commit 028ab51d5e
3 changed files with 8 additions and 33 deletions

View file

@ -1 +0,0 @@
paps

View file

@ -1,14 +0,0 @@
--- src/libpaps.c 2014-03-19 19:11:54.491351129 -1000
+++ src/libpaps.c 2014-03-19 19:14:37.795623928 -1000
@@ -25,8 +25,9 @@
#include <pango/pango.h>
#include <pango/pangoft2.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>

View file

@ -1,27 +1,17 @@
# Template file for 'paps'
pkgname=paps
version=0.6.8
revision=5
version=0.7.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
hostmakedepends="automake pkg-config"
makedepends="pango-devel freetype-devel"
short_desc="UTF-8 to PostScript converter via Pango"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-or-later"
homepage="http://paps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20
homepage="https://github.com/dov/paps"
distfiles="https://github.com/dov/paps/archive/${version}.tar.gz"
checksum=7a18e8096944a21e0d9fcfb389770d1e7672ba90569180cb5d45984914cedb13
post_configure() {
sed -i 's/_LDFLAGS =/_LDADD +=/' src/Makefile
pre_configure() {
autoreconf -fi
}
paps-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}