pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/go-smartcrop
Module Name: pkgsrc
Committed By: minskim
Date: Thu Jul 19 12:36:17 UTC 2018
Added Files:
pkgsrc/graphics/go-smartcrop: DESCR Makefile PLIST buildlink3.mk
distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/go-smartcrop/DESCR \
pkgsrc/graphics/go-smartcrop/Makefile pkgsrc/graphics/go-smartcrop/PLIST \
pkgsrc/graphics/go-smartcrop/buildlink3.mk \
pkgsrc/graphics/go-smartcrop/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/go-smartcrop/DESCR
diff -u /dev/null pkgsrc/graphics/go-smartcrop/DESCR:1.1
--- /dev/null Thu Jul 19 12:36:17 2018
+++ pkgsrc/graphics/go-smartcrop/DESCR Thu Jul 19 12:36:17 2018
@@ -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.
Index: pkgsrc/graphics/go-smartcrop/Makefile
diff -u /dev/null pkgsrc/graphics/go-smartcrop/Makefile:1.1
--- /dev/null Thu Jul 19 12:36:17 2018
+++ pkgsrc/graphics/go-smartcrop/Makefile Thu Jul 19 12:36:17 2018
@@ -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"
Index: pkgsrc/graphics/go-smartcrop/PLIST
diff -u /dev/null pkgsrc/graphics/go-smartcrop/PLIST:1.1
--- /dev/null Thu Jul 19 12:36:17 2018
+++ pkgsrc/graphics/go-smartcrop/PLIST Thu Jul 19 12:36:17 2018
@@ -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
Index: pkgsrc/graphics/go-smartcrop/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/go-smartcrop/buildlink3.mk:1.1
--- /dev/null Thu Jul 19 12:36:17 2018
+++ pkgsrc/graphics/go-smartcrop/buildlink3.mk Thu Jul 19 12:36:17 2018
@@ -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
Index: pkgsrc/graphics/go-smartcrop/distinfo
diff -u /dev/null pkgsrc/graphics/go-smartcrop/distinfo:1.1
--- /dev/null Thu Jul 19 12:36:17 2018
+++ pkgsrc/graphics/go-smartcrop/distinfo Thu Jul 19 12:36:17 2018
@@ -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