From 4618609e29904f6783498ee21aa409ff88c197db Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 5 Apr 2008 02:00:39 +0000 Subject: Import liblqr-0.1.0.2 as graphics/liblqr. This is the liquid rescale algorithm library from graphics/gimp-liquid-rescale. For the 0.4.0 release it was split off as a standalone library. --- graphics/liblqr/DESCR | 7 +++++++ graphics/liblqr/Makefile | 21 +++++++++++++++++++++ graphics/liblqr/PLIST | 15 +++++++++++++++ graphics/liblqr/buildlink3.mk | 21 +++++++++++++++++++++ graphics/liblqr/distinfo | 5 +++++ 5 files changed, 69 insertions(+) create mode 100644 graphics/liblqr/DESCR create mode 100644 graphics/liblqr/Makefile create mode 100644 graphics/liblqr/PLIST create mode 100644 graphics/liblqr/buildlink3.mk create mode 100644 graphics/liblqr/distinfo (limited to 'graphics/liblqr') diff --git a/graphics/liblqr/DESCR b/graphics/liblqr/DESCR new file mode 100644 index 00000000000..dcc6a34511e --- /dev/null +++ b/graphics/liblqr/DESCR @@ -0,0 +1,7 @@ +Liquid Rescale is a free, open source implementation of the algorithm +described in the paper entitled "Seam Carving for Content-Aware Image Resizing" +by Shai Avidan and Ariel Shamir. +It aims at resizing pictures non-uniformly while preserving their features, +i.e. avoiding distortion of the important parts. It supports manual feature +selection, and can also be used to remove portions of the picture in a +consistent way. diff --git a/graphics/liblqr/Makefile b/graphics/liblqr/Makefile new file mode 100644 index 00000000000..657d6dc6997 --- /dev/null +++ b/graphics/liblqr/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/04/05 02:00:39 tnn Exp $ +# + +DISTNAME= liblqr-1-0.1.0-2 +PKGNAME= liblqr-0.1.0.2 +CATEGORIES= graphics +MASTER_SITES= http://liblqr.wikidot.com/local--files/en:download-page/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://liblqr.wikidot.com/ +COMMENT= Content-aware image resizing library + +PKG_DESTDIR_SUPPORT= user-destdir +GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config +USE_LIBTOOL= yes +WRKSRC= ${WRKDIR}/liblqr-1-0.1.0 +PKGCONFIG_OVERRIDE= lqr-1.pc.in + +.include "../../devel/glib2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/liblqr/PLIST b/graphics/liblqr/PLIST new file mode 100644 index 00000000000..a98dab82069 --- /dev/null +++ b/graphics/liblqr/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/05 02:00:39 tnn Exp $ +include/lqr-1/lqr.h +include/lqr-1/lqr/lqr_base.h +include/lqr-1/lqr/lqr_carver_bias_pub.h +include/lqr-1/lqr/lqr_carver_list_pub.h +include/lqr-1/lqr/lqr_carver_pub.h +include/lqr-1/lqr/lqr_cursor_pub.h +include/lqr-1/lqr/lqr_gradient_pub.h +include/lqr-1/lqr/lqr_progress_pub.h +include/lqr-1/lqr/lqr_vmap_list_pub.h +include/lqr-1/lqr/lqr_vmap_pub.h +lib/liblqr-1.la +lib/pkgconfig/lqr-1.pc +@dirrm include/lqr-1/lqr +@dirrm include/lqr-1 diff --git a/graphics/liblqr/buildlink3.mk b/graphics/liblqr/buildlink3.mk new file mode 100644 index 00000000000..c0f1d614e1d --- /dev/null +++ b/graphics/liblqr/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/04/05 02:00:39 tnn Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBLQR_BUILDLINK3_MK:= ${LIBLQR_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= liblqr +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nliblqr} +BUILDLINK_PACKAGES+= liblqr +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}liblqr + +.if ${LIBLQR_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.liblqr+= liblqr>=0.1.0.2 +BUILDLINK_PKGSRCDIR.liblqr?= ../../graphics/liblqr +.endif # LIBLQR_BUILDLINK3_MK + +.include "../../devel/glib2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/liblqr/distinfo b/graphics/liblqr/distinfo new file mode 100644 index 00000000000..bbfc1165ae8 --- /dev/null +++ b/graphics/liblqr/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/04/05 02:00:39 tnn Exp $ + +SHA1 (liblqr-1-0.1.0-2.tar.gz) = 0cfe35c404b36e50b122937d189b7608bb4f1e89 +RMD160 (liblqr-1-0.1.0-2.tar.gz) = 9f196e89f165b25806cd60fbec859d6b8ed7fc89 +Size (liblqr-1-0.1.0-2.tar.gz) = 369098 bytes -- cgit v1.2.3