freebsd-ports/multimedia/omxplayer/Makefile
Jan Beich c400a2c8b6 multimedia/ffmpeg: update to 4.0
- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		227726
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15175
2018-05-02 15:07:27 +00:00

56 lines
1.3 KiB
Makefile

# Created by: mikael.urankar@gmail.com
# $FreeBSD$
PORTNAME= omxplayer
PORTVERSION= 20161004
PORTREVISION= 8
CATEGORIES= multimedia
MAINTAINER= mikael.urankar@gmail.com
COMMENT= Raspberry Pi video player
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libboost_thread.so:devel/boost-libs \
libdbus-1.so:devel/dbus \
libpcre.so:devel/pcre \
libEGL.so:misc/raspberrypi-userland \
libavcodec.so:multimedia/ffmpeg \
libfreetype.so:print/freetype2
RUN_DEPENDS= bash:shells/bash \
${LOCALBASE}/share/fonts/freefont-ttf/FreeSans.ttf:x11-fonts/freefont-ttf
ONLY_FOR_ARCHS= armv6 armv7
CFLAGS+= -Dfopen64=fopen -Dfseeko64=fseeko -Dftello64=ftello
ALL_TARGET= omxplayer.bin
USE_GITHUB= yes
GH_ACCOUNT= popcornmix
GH_TAGNAME= 12b472e
USES= gmake shebangfix
SHEBANG_FILES= omxplayer
PLIST_FILES= bin/omxplayer bin/omxplayer.bin
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|LOCALBASE|${LOCALBASE}|g' ${WRKSRC}/omxplayer.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/omxplayer.bin ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/omxplayer ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} -p ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>