pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/go-smartcrop graphics/go-smartcrop: Import ve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45299ccb2108
branches:  trunk
changeset: 310597:45299ccb2108
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jul 19 12:36:17 2018 +0000

description:
graphics/go-smartcrop: Import version 0.2.0.20180227

smartcrop finds good image crops for arbitrary sizes. It is a pure Go
implementation, based on Jonas Wagner's smartcrop.js.

diffstat:

 graphics/go-smartcrop/DESCR         |   2 ++
 graphics/go-smartcrop/Makefile      |  21 +++++++++++++++++++++
 graphics/go-smartcrop/PLIST         |  13 +++++++++++++
 graphics/go-smartcrop/buildlink3.mk |  18 ++++++++++++++++++
 graphics/go-smartcrop/distinfo      |   6 ++++++
 5 files changed, 60 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 42f5dfae7122 -r 45299ccb2108 graphics/go-smartcrop/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-smartcrop/DESCR       Thu Jul 19 12:36:17 2018 +0000
@@ -0,0 +1,2 @@
+smartcrop finds good image crops for arbitrary sizes. It is a pure Go
+implementation, based on Jonas Wagner's smartcrop.js.
diff -r 42f5dfae7122 -r 45299ccb2108 graphics/go-smartcrop/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-smartcrop/Makefile    Thu Jul 19 12:36:17 2018 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2018/07/19 12:36:17 minskim Exp $
+
+DISTNAME=      smartcrop-0.2.0.20180227
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=muesli/}
+CATEGORIES=    graphics
+GITHUB_PROJECT=        ${PKGBASE:S/^go-//}
+GITHUB_TAG=    f6ebaa786a12a0fdb2d7c6dee72808e68c296464
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/muesli/smartcrop
+COMMENT=       Tool to find good image crops for arbitrary crop sizes
+LICENSE=       mit
+
+GO_DIST_BASE=  ${PKGBASE:S/go-//}-${GITHUB_TAG}
+GO_SRCPATH=    ${HOMEPAGE:S,https://,,}
+
+.include "../../graphics/go-image/buildlink3.mk"
+.include "../../graphics/go-resize/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 42f5dfae7122 -r 45299ccb2108 graphics/go-smartcrop/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-smartcrop/PLIST       Thu Jul 19 12:36:17 2018 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/19 12:36:17 minskim Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/muesli/smartcrop.a
+gopkg/pkg/${GO_PLATFORM}/github.com/muesli/smartcrop/nfnt.a
+gopkg/pkg/${GO_PLATFORM}/github.com/muesli/smartcrop/options.a
+gopkg/src/github.com/muesli/smartcrop/LICENSE
+gopkg/src/github.com/muesli/smartcrop/README.md
+gopkg/src/github.com/muesli/smartcrop/debug.go
+gopkg/src/github.com/muesli/smartcrop/examples/goodtimes.jpg
+gopkg/src/github.com/muesli/smartcrop/examples/gopher.jpg
+gopkg/src/github.com/muesli/smartcrop/nfnt/resizer.go
+gopkg/src/github.com/muesli/smartcrop/options/resizer.go
+gopkg/src/github.com/muesli/smartcrop/smartcrop.go
+gopkg/src/github.com/muesli/smartcrop/smartcrop_test.go
diff -r 42f5dfae7122 -r 45299ccb2108 graphics/go-smartcrop/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-smartcrop/buildlink3.mk       Thu Jul 19 12:36:17 2018 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/07/19 12:36:17 minskim Exp $
+
+BUILDLINK_TREE+=       go-smartcrop
+
+.if !defined(GO_SMARTCROP_BUILDLINK3_MK)
+GO_SMARTCROP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-smartcrop=        ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-smartcrop?=     build
+
+BUILDLINK_API_DEPENDS.go-smartcrop+=   go-smartcrop>=0.2.0.20180227
+BUILDLINK_PKGSRCDIR.go-smartcrop?=     ../../graphics/go-smartcrop
+
+.include "../../graphics/go-image/buildlink3.mk"
+.include "../../graphics/go-resize/buildlink3.mk"
+.endif # GO_SMARTCROP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-smartcrop
diff -r 42f5dfae7122 -r 45299ccb2108 graphics/go-smartcrop/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-smartcrop/distinfo    Thu Jul 19 12:36:17 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/19 12:36:17 minskim Exp $
+
+SHA1 (smartcrop-0.2.0.20180227-f6ebaa786a12a0fdb2d7c6dee72808e68c296464.tar.gz) = 7d57d0be97d6ed679bb2a1fa39d6cda1ce45377f
+RMD160 (smartcrop-0.2.0.20180227-f6ebaa786a12a0fdb2d7c6dee72808e68c296464.tar.gz) = f5fe79464d63a8299ae1de43dfc7ee2a97ef921f
+SHA512 (smartcrop-0.2.0.20180227-f6ebaa786a12a0fdb2d7c6dee72808e68c296464.tar.gz) = 
04b38117087f540a03f9da9070a16010d7ef4cb6c321c94df3d3dc95faf57dc3a44f5e36055ce0a6a1c3d924ba01d8bdee40b0c1b457e6f03c650f91663c91cb
+Size (smartcrop-0.2.0.20180227-f6ebaa786a12a0fdb2d7c6dee72808e68c296464.tar.gz) = 448097 bytes



Home | Main Index | Thread Index | Old Index