New package: paps-0.6.8

This commit is contained in:
Christian Neukirchen 2014-07-03 22:54:40 +02:00
parent 4090a4075d
commit 3a196eec78
3 changed files with 40 additions and 0 deletions

1
srcpkgs/paps-devel Symbolic link
View file

@ -0,0 +1 @@
paps

View file

@ -0,0 +1,14 @@
--- 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>

25
srcpkgs/paps/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'paps'
pkgname=paps
version=0.6.8
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pango-devel freetype-devel"
# Disable --as-needed.
make_build_args="LDFLAGS="
short_desc="UTF-8 to PostScript converter via Pango"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL"
homepage="http://paps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20
paps-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}