Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2020 12:26:46 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553192 - in head/devel: . easyexif easyexif/files
Message-ID:  <202010241226.09OCQk4F051140@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Sat Oct 24 12:26:45 2020
New Revision: 553192
URL: https://svnweb.freebsd.org/changeset/ports/553192

Log:
  new port: devel/easyexif
  
  EasyEXIF is a tiny, lightweight C++ library that parses basic information out of
  EXIF files. It uses only the std::string library and is otherwise pure C++.
  
  It is made of one .h file and one .cpp file.
  
  This is a new dependency for the upcoming update of devel/vcglib[1]
  
  [1] https://github.com/cnr-isti-vclab/vcglib/commit/dd8c26474dfa3ee2cde2e4c39366fe9df41e667d

Added:
  head/devel/easyexif/
  head/devel/easyexif/Makefile   (contents, props changed)
  head/devel/easyexif/distinfo   (contents, props changed)
  head/devel/easyexif/files/
  head/devel/easyexif/files/patch-Makefile   (contents, props changed)
  head/devel/easyexif/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Oct 24 12:14:02 2020	(r553191)
+++ head/devel/Makefile	Sat Oct 24 12:26:45 2020	(r553192)
@@ -504,6 +504,7 @@
     SUBDIR += e00compr
     SUBDIR += e2fsprogs-libss
     SUBDIR += eastl
+    SUBDIR += easyefix
     SUBDIR += easygit
     SUBDIR += easyloggingpp
     SUBDIR += ebnf2yacc

Added: head/devel/easyexif/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/easyexif/Makefile	Sat Oct 24 12:26:45 2020	(r553192)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	easyexif
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0
+CATEGORIES=	devel
+
+MAINTAINER=	fernape@FreeBSD.org
+COMMENT=	Tiny ISO-compliant C++ EXIF parsing library
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		compiler:c++11-lib shebangfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	mayanklahiri
+
+SHEBANG_FILES=	test.sh
+
+PLIST_FILES=	easyexif/bin/demo \
+		easyexif/src/demo.cpp \
+		easyexif/src/exif.cpp \
+		include/exif.h
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include
+	${CP} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/src
+	${CP} ${WRKSRC}/*.cpp ${STAGEDIR}${PREFIX}/${PORTNAME}/src
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin
+	${STRIP_CMD} ${WRKSRC}/demo
+	${CP} ${WRKSRC}/demo ${STAGEDIR}${PREFIX}/${PORTNAME}/bin
+
+do-test:
+	cd ${WRKSRC} && ./test.sh
+
+.include <bsd.port.mk>

Added: head/devel/easyexif/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/easyexif/distinfo	Sat Oct 24 12:26:45 2020	(r553192)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1603453365
+SHA256 (mayanklahiri-easyexif-v1.0_GH0.tar.gz) = e4251ae76a172bfd676e9e24a5a27b970a81d1731296822ef1afaeb4857f045a
+SIZE (mayanklahiri-easyexif-v1.0_GH0.tar.gz) = 7549061

Added: head/devel/easyexif/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/easyexif/files/patch-Makefile	Sat Oct 24 12:26:45 2020	(r553192)
@@ -0,0 +1,15 @@
+--- Makefile.orig	2015-11-14 20:31:28 UTC
++++ Makefile
+@@ -1,5 +1,4 @@
+-CXX=g++
+-CXXFLAGS=-O2 -pedantic -Wall -Wextra -ansi -std=c++11
++#CXXFLAGS+=-O2 -pedantic -Wall -Wextra -ansi -std=c++11
+ 
+ all: demo
+ 
+@@ -10,4 +9,4 @@ demo: exif.o demo.cpp
+ 	$(CXX) $(CXXFLAGS) -o demo exif.o demo.cpp
+ 
+ clean:
+-	rm -f *.o demo demo.exe
++	rm -f *.o demo

Added: head/devel/easyexif/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/easyexif/pkg-descr	Sat Oct 24 12:26:45 2020	(r553192)
@@ -0,0 +1,8 @@
+EasyEXIF is a tiny, lightweight C++ library that parses basic information out of
+JPEG files. It uses only the std::string library and is otherwise pure C++. You
+pass it the binary contents of a JPEG file, and it parses several of the most
+important EXIF fields for you.
+
+Why use this library? Include one .h file, compile one .cc file, and that's it.
+
+WWW: https://github.com/mayanklahiri/easyexif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010241226.09OCQk4F051140>