mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
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] dd8c26474d
This commit is contained in:
parent
228df9358a
commit
34f51c4f76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553192
@ -504,6 +504,7 @@
|
||||
SUBDIR += e00compr
|
||||
SUBDIR += e2fsprogs-libss
|
||||
SUBDIR += eastl
|
||||
SUBDIR += easyefix
|
||||
SUBDIR += easygit
|
||||
SUBDIR += easyloggingpp
|
||||
SUBDIR += ebnf2yacc
|
||||
|
37
devel/easyexif/Makefile
Normal file
37
devel/easyexif/Makefile
Normal file
@ -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>
|
3
devel/easyexif/distinfo
Normal file
3
devel/easyexif/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1603453365
|
||||
SHA256 (mayanklahiri-easyexif-v1.0_GH0.tar.gz) = e4251ae76a172bfd676e9e24a5a27b970a81d1731296822ef1afaeb4857f045a
|
||||
SIZE (mayanklahiri-easyexif-v1.0_GH0.tar.gz) = 7549061
|
15
devel/easyexif/files/patch-Makefile
Normal file
15
devel/easyexif/files/patch-Makefile
Normal file
@ -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
|
8
devel/easyexif/pkg-descr
Normal file
8
devel/easyexif/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user