2013-09-20 22:57:48 +02:00
|
|
|
# Created by: se@FreeBSD.org
|
2005-12-29 01:18:05 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dvbcut
|
2011-06-27 14:34:09 +02:00
|
|
|
PORTVERSION= 0.6.1
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 2
|
2005-12-29 01:18:05 +01:00
|
|
|
CATEGORIES= multimedia
|
2009-04-03 10:52:31 +02:00
|
|
|
MASTER_SITES= http://www.mr511.de/dvbcut/
|
2005-12-29 01:18:05 +01:00
|
|
|
|
2011-07-03 16:45:40 +02:00
|
|
|
MAINTAINER= se@FreeBSD.org
|
2005-12-29 01:18:05 +01:00
|
|
|
COMMENT= Qt application for cutting of MPEG PS and MPEG TS streams (DVB)
|
|
|
|
|
2012-06-04 14:06:17 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2009-04-03 10:52:31 +02:00
|
|
|
BUILD_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
|
2012-06-04 14:06:17 +02:00
|
|
|
LIB_DEPENDS= a52:${PORTSDIR}/audio/liba52 \
|
|
|
|
ao:${PORTSDIR}/audio/libao \
|
|
|
|
mad:${PORTSDIR}/audio/libmad \
|
|
|
|
avutil:${PORTSDIR}/multimedia/ffmpeg
|
2011-06-27 14:34:09 +02:00
|
|
|
|
2009-04-03 10:52:31 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2005-12-29 01:18:05 +01:00
|
|
|
|
2013-07-10 13:42:20 +02:00
|
|
|
USE_GCC= any
|
2013-03-22 21:06:14 +01:00
|
|
|
USES= cmake
|
2013-10-04 18:20:34 +02:00
|
|
|
USE_QT4= gui qt3support xml moc_build qmake_build rcc_build uic_build
|
2013-10-09 19:11:49 +02:00
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libavcodec \
|
|
|
|
-I${LOCALBASE}/include/libavformat \
|
|
|
|
-I${LOCALBASE}/include/libswscale
|
2005-12-29 01:18:05 +01:00
|
|
|
|
2013-10-29 11:48:56 +01:00
|
|
|
BROKEN= Does not compile due to FFMPEG update - will be fixed soon
|
2011-06-27 14:34:09 +02:00
|
|
|
|
|
|
|
pre-patch:
|
2012-02-24 13:59:30 +01:00
|
|
|
cd ${WRKSRC} && ${BZCAT} ${FILESDIR}/use-qt4.diff.bz2 | ${PATCH} -p2
|
2009-04-03 10:52:31 +02:00
|
|
|
|
2013-10-09 19:11:49 +02:00
|
|
|
post-build:
|
|
|
|
$(SED) -e 's;@prefix@/dvbcut/share/icons;'${PREFIX}/share/icons/dvbcut';' \
|
|
|
|
< ${WRKSRC}/dvbcut.desktop.in \
|
|
|
|
> ${WRKSRC}/dvbcut.desktop
|
|
|
|
|
2005-12-29 01:18:05 +01:00
|
|
|
do-install:
|
2013-10-09 19:11:49 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dvbcut ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/dvbcut.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
|
|
|
${MKDIR} $(STAGEDIR)$(PREFIX)/share/applications
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/dvbcut.desktop $(STAGEDIR)$(PREFIX)/share/applications/
|
|
|
|
${MKDIR} $(STAGEDIR)$(PREFIX)/share/icons/dvbcut
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/dvbcut.svg $(STAGEDIR)$(PREFIX)/share/icons/dvbcut/
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/icons/* $(STAGEDIR)$(PREFIX)/share/icons/dvbcut/
|
|
|
|
${MKDIR} $(STAGEDIR)$(PREFIX)/share/mime/packages
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/dvbcut.xml $(STAGEDIR)$(PREFIX)/share/mime/packages/
|
2005-12-29 01:18:05 +01:00
|
|
|
|
2012-06-04 14:06:17 +02:00
|
|
|
.include <bsd.port.mk>
|