Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142276386
D41915.id127810.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
5 KB
Referenced Files
None
Subscribers
None
D41915.id127810.diff
View Options
Index: multimedia/motion/Makefile
===================================================================
--- multimedia/motion/Makefile
+++ multimedia/motion/Makefile
@@ -1,8 +1,7 @@
# PORTNAME block
PORTNAME= motion
-PORTVERSION= 4.3.2
-PORTREVISION= 8
DISTVERSIONPREFIX= release-
+DISTVERSION= 4.5.1
CATEGORIES= multimedia
# Maintainer block
@@ -12,14 +11,14 @@
# License block
LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/doc/COPYING
+LICENSE_FILE= ${WRKSRC}/LICENSE
# Dependencies
LIB_DEPENDS= libwebp.so:graphics/webp \
libmicrohttpd.so:www/libmicrohttpd
# USES block
-USES= autoreconf cpe gmake jpeg localbase pkgconfig gettext
+USES= autoreconf cpe gmake jpeg localbase pkgconfig
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
@@ -28,29 +27,16 @@
GNU_CONFIGURE= yes
-CFLAGS+= -I${LOCALBASE}/ffmpeg4/include
-LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib
-CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
-MAKE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
-
# Standard bsd.port.mk variables
SUB_FILES= pkg-message
-# Packaging list block
-PLIST_FILES= bin/motion \
- man/man1/motion.1.gz \
- "@sample ${ETCDIR}/motion.conf.sample" \
- "@dir ${ETCDIR}/conf.d"
-PORTDOCS= *
-
-PORTEXAMPLES= camera1-dist.conf camera2-dist.conf \
- camera3-dist.conf camera4-dist.conf
-
# Options definitions
-OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG MYSQL PGSQL SQLITE3
+OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG MYSQL PGSQL SQLITE3 NLS
+
OPTIONS_DEFAULT= WEBCAMD FFMPEG
OPTIONS_RADIO= VIDEO
OPTIONS_RADIO_VIDEO= BKTR PWCBSD WEBCAMD
+OPTIONS_SUB= yes
BKTR_DESC= BKTR based TV capture cards
@@ -61,14 +47,17 @@
BKTR_CONFIGURE_WITH= bktr
-FFMPEG_LIB_DEPENDS= libavformat.so.58:multimedia/ffmpeg4
-FFMPEG_CONFIGURE_ON= --with-ffmpeg=${LOCALBASE}/ffmpeg4
+FFMPEG_LIB_DEPENDS= libavformat.so.60:multimedia/ffmpeg
+FFMPEG_CONFIGURE_ON= --with-ffmpeg=${LOCALBASE}/ffmpeg
FFMPEG_CONFIGURE_OFF= --without-ffmpeg
MYSQL_USES= mysql
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/include/mysql
MYSQL_CONFIGURE_OFF= --without-mysql
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+
PGSQL_USES= pgsql
PGSQL_CONFIGURE_ON= --with-pgsql-lib=${LOCALBASE}/lib \
--with-pgsql-include=${LOCALBASE}/include
@@ -85,28 +74,4 @@
# note: all configure --with-pwcbsd does is not shut off v4l support
WEBCAMD_CONFIGURE_WITH= pwcbsd
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure.ac
-# Fix pidfile path
- @${REINPLACE_CMD} -e \
- 's|/run/motion|/run|' ${WRKSRC}/data/motion-dist.conf.in
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/motion ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/motion.1 ${STAGEDIR}${MANPREFIX}/man/man1
- @${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d
- ${INSTALL_DATA} ${WRKSRC}/data/motion-dist.conf \
- ${STAGEDIR}${ETCDIR}/motion.conf.sample
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
-
-do-install-EXAMPLES-on:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/data/|} ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: multimedia/motion/distinfo
===================================================================
--- multimedia/motion/distinfo
+++ multimedia/motion/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1695017850
-SHA256 (Motion-Project-motion-release-4.3.2_GH0.tar.gz) = dafa4264b2d8e4778f8be5871f09b6c0ec710d5a836182c583469c18db944d70
-SIZE (Motion-Project-motion-release-4.3.2_GH0.tar.gz) = 849378
-SHA256 (af632f831127499ee541d9c719a930321718f294.patch) = 85dc0562c7dc358084c8c9556ebb8ef1592527d79f576f035f356bbdadf40c6c
-SIZE (af632f831127499ee541d9c719a930321718f294.patch) = 890
+TIMESTAMP = 1694746910
+SHA256 (Motion-Project-motion-release-4.5.1_GH0.tar.gz) = 0c824276bb23565b7cf10409ebdcb46b85fb1f6abca957252e52290bb1fe473e
+SIZE (Motion-Project-motion-release-4.5.1_GH0.tar.gz) = 856665
Index: multimedia/motion/pkg-plist
===================================================================
--- /dev/null
+++ multimedia/motion/pkg-plist
@@ -0,0 +1,31 @@
+bin/motion
+man/man1/motion.1.gz
+%%ETCDIR%%/camera1-dist.conf
+%%ETCDIR%%/camera2-dist.conf
+%%ETCDIR%%/camera3-dist.conf
+%%ETCDIR%%/camera4-dist.conf
+%%ETCDIR%%/motion-dist.conf
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/mask1.png
+%%PORTDOCS%%%%DOCSDIR%%/motion_build.html
+%%PORTDOCS%%%%DOCSDIR%%/motion_config.html
+%%PORTDOCS%%%%DOCSDIR%%/motion_guide.html
+%%PORTDOCS%%%%DOCSDIR%%/motion_stylesheet.css
+%%PORTDOCS%%%%DOCSDIR%%/normal.jpg
+%%PORTDOCS%%%%DOCSDIR%%/outputmotion1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/outputnormal1.jpg
+%%NLS%%share/locale/da/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/de/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/es/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/it/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/li/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/no/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/motion.mo
+%%NLS%%share/locale/zh/LC_MESSAGES/motion.mo
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 2:12 AM (8 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27727262
Default Alt Text
D41915.id127810.diff (5 KB)
Attached To
Mode
D41915: multimedia/motion: Update to 4.5.1
Attached
Detach File
Event Timeline
Log In to Comment