From 82869f06d6621bda00790a968fe5a921b8781c23 Mon Sep 17 00:00:00 2001 From: blue-devil Date: Sun, 19 Jan 2020 02:49:55 +0300 Subject: [PATCH] leptnica : version bump and moved from contrib --- multimedia/plugin/leptonica/actions.py | 21 +++++ .../leptonica/files/lept-pkgconfig.patch | 24 ++++++ multimedia/plugin/leptonica/pspec.xml | 83 +++++++++++++++++++ multimedia/plugin/leptonica/translations.xml | 16 ++++ 4 files changed, 144 insertions(+) create mode 100644 multimedia/plugin/leptonica/actions.py create mode 100644 multimedia/plugin/leptonica/files/lept-pkgconfig.patch create mode 100644 multimedia/plugin/leptonica/pspec.xml create mode 100644 multimedia/plugin/leptonica/translations.xml diff --git a/multimedia/plugin/leptonica/actions.py b/multimedia/plugin/leptonica/actions.py new file mode 100644 index 0000000000..823371030c --- /dev/null +++ b/multimedia/plugin/leptonica/actions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + shelltools.system("./autogen.sh") + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("leptonica-license.txt") \ No newline at end of file diff --git a/multimedia/plugin/leptonica/files/lept-pkgconfig.patch b/multimedia/plugin/leptonica/files/lept-pkgconfig.patch new file mode 100644 index 0000000000..c1d496e09b --- /dev/null +++ b/multimedia/plugin/leptonica/files/lept-pkgconfig.patch @@ -0,0 +1,24 @@ +--- lept.pc.in 2016-01-29 21:41:01.000000000 +0200 ++++ lept 2018-01-05 14:46:02.453185333 +0300 +@@ -1,12 +1,9 @@ +-prefix=@prefix@ +-exec_prefix=@exec_prefix@ +-libdir=@libdir@ +-includedir=@includedir@/leptonica +- +-Name: leptonica +-Description: An open source C library for efficient image processing and image analysis operations +-Version: @VERSION@ +-Libs: -L${libdir} -llept +-Libs.private: @ZLIB_LIBS@ @LIBPNG_LIBS@ @JPEG_LIBS@ @GIFLIB_LIBS@ @LIBTIFF_LIBS@ @LIBWEBP_LIBS@ +-Cflags: -I${includedir} +- ++libdir=@libdir@ ++includedir=@includedir@/leptonica ++ ++Name: leptonica ++Description: An open source C library for efficient image processing and image analysis operations ++Version: @VERSION@ ++Libs: -L${libdir} -llept ++Libs.private: @ZLIB_LIBS@ @LIBPNG_LIBS@ @JPEG_LIBS@ @GIFLIB_LIBS@ @LIBTIFF_LIBS@ @LIBWEBP_LIBS@ ++Cflags: -I${includedir} diff --git a/multimedia/plugin/leptonica/pspec.xml b/multimedia/plugin/leptonica/pspec.xml new file mode 100644 index 0000000000..1d46a77ff9 --- /dev/null +++ b/multimedia/plugin/leptonica/pspec.xml @@ -0,0 +1,83 @@ + + + + + leptonica + http://www.leptonica.org/ + + PisiLinux Community + admins@pisilinux.org + + Apache-2.0 + multimedia.plugin + app:console + Software that is broadly useful for image processing and image analysis applications + An open source C library for efficient image processing and image analysis operations. + https://github.com/DanBloomberg/leptonica/archive/1.79.0.tar.gz + + libjpeg-turbo-devel + giflib-devel + libpng-devel + tiff-devel + webp-devel + zlib-devel + + + + + + + + leptonica + Software that is broadly useful for image processing and image analysis applications + + libjpeg-turbo + giflib + libpng + webp + tiff + zlib + + + /usr/lib + /usr/share/doc + /usr/bin + + + + + leptonica-devel + Development file for leptonica + + leptonica + + + /usr/lib/pkgconfig + /usr/include/leptonica + + + + + + 2020-01-18 + 1.79.0 + Version bump. + Blue Devil + bluedevil@sctzine.com + + + 2018-01-04 + 1.74.4 + Version Bump. + Ali Cengiz Kurt(alick) + alicengizkurt@gmail.com + + + 2017-01-18 + 1.74.1 + First Release. + Stefan Gronewold(groni) + groni@pisilinux.org + + + \ No newline at end of file diff --git a/multimedia/plugin/leptonica/translations.xml b/multimedia/plugin/leptonica/translations.xml new file mode 100644 index 0000000000..abdf0c09a4 --- /dev/null +++ b/multimedia/plugin/leptonica/translations.xml @@ -0,0 +1,16 @@ + + + + leptonica + Leptonica açık kaynaklı görsel işleme ve analiz kitaplığıdır. + Daha verimli görüntü işleme ve görsel çözümleme operasyonları için açık kaynaklı bir C kitaplığıdır. + Leptonica Library + An open source C library for efficient image processing and image analysis operations. + + + + leptonica-devel + leptonica için geliştirme dosyaları + leptonica-devel, leptonica için geliştirme dosyaları içerir. + + \ No newline at end of file