ports/177838: New port: multimedia/openstopmotion Webcam capture program for creating stopmotion video

Patrick Fedick patrick at pfp.de
Sat Apr 13 16:00:01 UTC 2013


>Number:         177838
>Category:       ports
>Synopsis:       New port: multimedia/openstopmotion Webcam capture program for creating stopmotion video
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 13 16:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Fedick
>Release:        9.1-STABLE
>Organization:
>Environment:
FreeBSD server.pfp.de 9.1-STABLE FreeBSD 9.1-STABLE #0 r248870: Sun Mar 31 08:45:15 CEST 2013     root at server.pfp.de:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Hello,

I'm author of the program OpenStopMotion, which I developed on FreeBSD and Linux. I would like to add it to the FreeBSD ports collection.

OpenStopMotion is a capture program for creating stopmotion video clips. It
runs on Linux and FreeBSD and it can capture from all webcams supported by
the system. It's license is GPLv3.

This is my first port, so I hope I have done everything right. At least it builds with all dependencies on my workstation and a fresh installed FreeBSD 9.1, and "portlint -A" does not show me any errors :-)

Thanks and best regards,
Patrick Fedick
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openstopmotion
#	openstopmotion/files
#	openstopmotion/files/OpenStopMotion.desktop
#	openstopmotion/distinfo
#	openstopmotion/Makefile
#	openstopmotion/pkg-descr
#
echo c - openstopmotion
mkdir -p openstopmotion > /dev/null 2>&1
echo c - openstopmotion/files
mkdir -p openstopmotion/files > /dev/null 2>&1
echo x - openstopmotion/files/OpenStopMotion.desktop
sed 's/^X//' >openstopmotion/files/OpenStopMotion.desktop << '4e8adb88de5185d9562f48f2c8579f7d'
X[Desktop Entry]
XEncoding=UTF-8
XName=OpenStopMotion
XComment=Webcam capture program for creating stopmotion video
XExec=/usr/local/bin/OpenStopMotion
XTerminal=false
XType=Application
XCategories=GTK;GNOME;AudioVideo;
XIcon=/usr/local/share/pixmaps/OpenStopMotion.png
4e8adb88de5185d9562f48f2c8579f7d
echo x - openstopmotion/distinfo
sed 's/^X//' >openstopmotion/distinfo << '45f79cf7ecec7404b900abbf7a887ab9'
XSHA256 (OpenStopMotion-0.6.3-src.tar.bz2) = a912a2a7e42ef44df0f79de9d761d3009de1a1dfd258a2c289e4e98bdfba3ab9
XSIZE (OpenStopMotion-0.6.3-src.tar.bz2) = 3480384
45f79cf7ecec7404b900abbf7a887ab9
echo x - openstopmotion/Makefile
sed 's/^X//' >openstopmotion/Makefile << '62e7ce4d5f13c899e8af094cf27b6b4b'
X# $FreeBSD$
X
XPORTNAME=			OpenStopMotion
XPORTVERSION=	0.6.3
XCATEGORIES=			multimedia
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	openstopmotion
XEXTRACT_SUFX=		-src.tar.bz2
X
XMAINTAINER=			patrick at pfp.de
XCOMMENT=			Webcam capture program for creating stopmotion video
X
XLICENSE=			GPLv3
X
XLIB_DEPENDS=		jpeg:${PORTSDIR}/graphics/jpeg \
X					tiff:${PORTSDIR}/graphics/tiff \
X					png15:${PORTSDIR}/graphics/png \
X					freetype:${PORTSDIR}/print/freetype2 \
X					iconv:${PORTSDIR}/converters/libiconv \
X					pcre:${PORTSDIR}/devel/pcre \
X
XBUILD_DEPENDS=		v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat \
X					cuse4bsd-kmod>=0.1.24:${PORTSDIR}/multimedia/cuse4bsd-kmod \
X					webcamd:${PORTSDIR}/multimedia/webcamd \
X					nasm:${PORTSDIR}/devel/nasm
XLIB_DEPENDS+=		v4l1:${PORTSDIR}/multimedia/libv4l \
X					cuse4bsd:${PORTSDIR}/multimedia/cuse4bsd-kmod
X
XMAKE_JOBS_SAFE=		yes
X
XUSE_QT4=			corelib gui opengl qmake
X
XPLIST_FILES=		bin/OpenStopMotion \
X					share/pixmaps/OpenStopMotion.png \
X					share/applications/OpenStopMotion.desktop
X
X.include <bsd.port.pre.mk>
X
Xdo-configure:
X	cd ${WRKSRC}; ${MKDIR} bin include lib; cd  ${WRKSRC}/ppl7; \
X	./configure --with-pcre=${LOCALBASE} --with-libiconv-prefix=${LOCALBASE} \
X		--with-nasm --with-jpeg --with-png --with-libtiff=${LOCALBASE} \
X		--prefix=${WRKSRC} \
X		--without-libmicrohttpd --without-libmcrypt-prefix --without-libmhash \
X		--without-libidn --without-libcurl --without-mpg123 --without-lame \
X		--without-ogg --without-sdl-prefix --without-imlib \
X		--without-mysql --without-postgresql --without-freetds --without-libldns
X
Xdo-build:
X	@(cd ${WRKSRC}/ppl7; if ! ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}; then \
X		if [ x != x${BUILD_FAIL_MESSAGE} ] ; then \
X			${ECHO_MSG} "===> Compilation failed unexpectedly."; \
X			(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
X		fi; \
X		${FALSE}; \
X	fi)
X	@(PATH="${WRKSRC}/bin:${PATH}"; export PATH; cd ${WRKSRC}/osm; \
X	qmake-qt4; \
X	if ! ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}; then \
X		if [ x != x${BUILD_FAIL_MESSAGE} ] ; then \
X			${ECHO_MSG} "===> Compilation failed unexpectedly."; \
X			(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
X		fi; \
X		${FALSE}; \
X	fi)
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin ${PREFIX}/share/pixmaps ${PREFIX}/share/applications
X	${INSTALL_PROGRAM} ${WRKSRC}/osm/release/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/osm/resources/icon256x256.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
X	${INSTALL_DATA} ${FILESDIR}/OpenStopMotion.desktop ${PREFIX}/share/applications/${PORTNAME}.desktop
X
X.include <bsd.port.post.mk>
62e7ce4d5f13c899e8af094cf27b6b4b
echo x - openstopmotion/pkg-descr
sed 's/^X//' >openstopmotion/pkg-descr << '4017f97803add6c32285f0e82a6c694b'
XOpenStopMotion is a capture program for creating stopmotion video clips. It
Xruns on Linux and FreeBSD and it can capture from all webcams supported by
Xthe system. OpenStopMotion is written by Patrick Fedick <patrick at pfp.de>.
XFor more information, please visit http://www.pfp.de.
X
XFeatures:
X  - control webcam
X  - supported capture formats: MJPEG, YUYV (YUV 4:2:2)
X  - supports all frame sizes your webcam can handle, including full HD
X  - supported image formats: PNG, BMP, JPEG
X  - frame averaging: capture several frames and merge them together to reduce
X    grain
X  - onion skin (last frame shines through)
X  - capture additional background frame
X  - bluescreen / greenscreen with background image and preview in realtime
X  - transparent foreground image with preview in realtime
X  - save as raw image or composited with background and foreground image
X    or both
X  - Arduino support for controlling the LED lights in your scene
X  
XLICENSE: GPLv3
X
XWWW: http://www.pfp.de/
X     https://sourceforge.net/projects/openstopmotion
4017f97803add6c32285f0e82a6c694b
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list