From 99c930adf8ef7f9ccd7fc171cfc072604ac74c30 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Mon, 2 Oct 2023 13:54:13 +0200 Subject: [PATCH] libppd: initial release, version 2.0.0 --- libppd/.footprint | 23 +++++++++++++++++++++++ libppd/.signature | 5 +++++ libppd/Pkgfile | 23 +++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 libppd/.footprint create mode 100644 libppd/.signature create mode 100644 libppd/Pkgfile diff --git a/libppd/.footprint b/libppd/.footprint new file mode 100644 index 000000000..365f4ab50 --- /dev/null +++ b/libppd/.footprint @@ -0,0 +1,23 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/ppd/ +-rw-r--r-- root/root usr/include/ppd/ppd-filter.h +-rw-r--r-- root/root usr/include/ppd/ppd.h +-rw-r--r-- root/root usr/include/ppd/ppdc.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libppd.a +-rwxr-xr-x root/root usr/lib/libppd.la +lrwxrwxrwx root/root usr/lib/libppd.so -> libppd.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libppd.so.2 -> libppd.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libppd.so.2.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libppd.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/ppdc/ +-rw-r--r-- root/root usr/share/ppdc/epson.h +-rw-r--r-- root/root usr/share/ppdc/font.defs +-rw-r--r-- root/root usr/share/ppdc/hp.h +-rw-r--r-- root/root usr/share/ppdc/label.h +-rw-r--r-- root/root usr/share/ppdc/media.defs +-rw-r--r-- root/root usr/share/ppdc/raster.defs diff --git a/libppd/.signature b/libppd/.signature new file mode 100644 index 000000000..12f759c37 --- /dev/null +++ b/libppd/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/Ub73n9loETcbzhKwUe3qFzbUtFKnRmHVM3+YfComJvGleWlwHFJsiVH45qOsyHviGHw/cAglC+imK5jYDER2QQ= +SHA256 (Pkgfile) = a3b4817f3413eb5002866bb3e401c80ebef6427dea6bdc28505a6881b82bf68e +SHA256 (.footprint) = 91b1a06dcad6d872a37868facb4fadc6cdb222c3b3177dd0c585cf272fbb5c87 +SHA256 (libppd-2.0.0.tar.xz) = 882d3c659a336e91559de8f3c76fc26197fe6e5539d9b484a596e29a5a4e0bc8 diff --git a/libppd/Pkgfile b/libppd/Pkgfile new file mode 100644 index 000000000..74c4ee77a --- /dev/null +++ b/libppd/Pkgfile @@ -0,0 +1,23 @@ +# Description: legacy support library for PPD files +# URL: https://github.com/OpenPrinting/libppd +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: libcupsfilters +# Optional: mupdf poppler + +name=libppd +version=2.0.0 +release=1 +source=(https://github.com/OpenPrinting/libppd/releases/download/$version/$name-$version.tar.xz) + +build() { + cd $name-$version + + prt-get isinst mupdf || PKGMK_LIBPPD+=' --disable-mutool' + prt-get isinst poppler || PKGMK_LIBPPD+=' --disable-pdftops' + + ./configure $PKGMK_LIBPPD --prefix=/usr + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/share/doc +}