New package: djvulibre-3.5.24.

This commit is contained in:
Juan RP 2011-10-21 22:01:45 +02:00
parent 48259e0011
commit bcdeb674ee
8 changed files with 81 additions and 0 deletions

1
srcpkgs/djvulibre-devel Symbolic link
View File

@ -0,0 +1 @@
djvulibre

View File

@ -0,0 +1,2 @@
abi_depends=">=3.5.24"
api_depends="${abi_depends}"

View File

@ -0,0 +1,15 @@
# Template file for 'djvulibre-devel'.
#
short_desc="Development files for the DjVu image format"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run jpeg-devel
Add_dependency run libdjvulibre
do_install()
{
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -0,0 +1,15 @@
# Template file for 'libdjvulibre'.
#
short_desc="Runtime support for the DjVu image format"
long_desc="${long_desc}
This package contains the DjVu runtime library."
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
do_install()
{
vmove "usr/lib/*.so*" usr/lib
}

View File

@ -0,0 +1,12 @@
--- libdjvu/GSmartPointer.h~ 2011-03-29 12:35:05.000000000 +0400
+++ libdjvu/GSmartPointer.h 2011-03-29 12:35:25.000000000 +0400
@@ -58,6 +58,9 @@
#ifndef _GSMARTPOINTER_H_
#define _GSMARTPOINTER_H_
+
+#include <cstring>
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@ -0,0 +1,34 @@
# Template file for 'djvulibre'
pkgname=djvulibre
version=3.5.24
homepage="http://djvu.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/djvu/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-desktopfiles"
short_desc="Utilities for the DjVu image format"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=c0734c81d22a0e458c3fb5efd4c3eab051bcb6ad8740f5a5784c1f5699482534
long_desc="
DjVu is a set of compression technologies, a file format, and a software
platform for the delivery over the Web of digital documents, scanned
documents, and high resolution images.
DjVu documents download and display extremely quickly, and look exactly the
same on all platforms. DjVu can be seen as a superior alternative to PDF
and Postscript for digital documents, to TIFF (and PDF) for scanned documents,
to JPEG for photographs and pictures, and to GIF for large palettized images.
DjVu is the only Web format that is practical for distributing high-resolution
scanned documents in color."
subpackages="lib${pkgname} ${pkgname}-devel"
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run tiff
Add_dependency run libdjvulibre
Add_dependency build pkg-config
Add_dependency build tiff-devel

1
srcpkgs/libdjvulibre Symbolic link
View File

@ -0,0 +1 @@
djvulibre

View File

@ -892,3 +892,4 @@ libdmapsharing-3.0.so.2 libdmapsharing libdmapsharing-devel
libgexiv2.so.0 libgexiv2 libgexiv2-devel
libraw.so.5 libraw libraw-devel
libraw_r.so.5 libraw libraw-devel
libdjvulibre.so.21 libdjvulibre djvulibre-devel