2013-09-20 22:57:48 +02:00
|
|
|
# Created by: se@FreeBSD.org
|
2005-12-29 01:18:05 +01:00
|
|
|
|
|
|
|
PORTNAME= dvbcut
|
2018-09-02 08:58:17 +02:00
|
|
|
PORTVERSION= 0.7.3
|
2018-09-02 17:01:24 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2021-06-19 22:16:08 +02:00
|
|
|
PORTREVISION= 6
|
2005-12-29 01:18:05 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
|
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
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS= mplayer:multimedia/mplayer \
|
|
|
|
ffmpeg:multimedia/ffmpeg
|
|
|
|
LIB_DEPENDS= liba52.so:audio/liba52 \
|
|
|
|
libao.so:audio/libao \
|
|
|
|
libmad.so:audio/libmad \
|
|
|
|
libavutil.so:multimedia/ffmpeg
|
2009-04-03 10:52:31 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2005-12-29 01:18:05 +01:00
|
|
|
|
2019-11-06 19:07:22 +01:00
|
|
|
USES= compiler:c++11-lang desktop-file-utils gl pkgconfig \
|
2019-03-24 11:26:46 +01:00
|
|
|
qmake:outsource qt:5 shared-mime-info
|
2019-03-12 05:08:20 +01:00
|
|
|
|
2019-03-24 11:26:46 +01:00
|
|
|
USE_QT= core gui widgets xml buildtools_build linguisttools_build
|
|
|
|
USE_GL= gl
|
2013-12-02 09:29:54 +01:00
|
|
|
USE_GITHUB= yes
|
2016-11-14 08:51:32 +01:00
|
|
|
GH_ACCOUNT= bernhardu
|
|
|
|
GH_PROJECT= dvbcut-deb
|
2013-12-02 09:29:54 +01:00
|
|
|
|
2013-10-09 19:11:49 +02:00
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libavcodec \
|
|
|
|
-I${LOCALBASE}/include/libavformat \
|
2016-11-14 08:51:32 +01:00
|
|
|
-I${LOCALBASE}/include/libswscale \
|
2018-09-02 08:58:17 +02:00
|
|
|
-D DVBCUT_VERSION=${PORTVERSION}
|
2005-12-29 01:18:05 +01:00
|
|
|
|
2016-11-14 08:51:32 +01:00
|
|
|
QMAKE_SOURCE_PATH=${WRKSRC}/src
|
|
|
|
QMAKE_ARGS= LRELEASE="${LRELEASE}"
|
|
|
|
|
2020-02-16 19:41:24 +01:00
|
|
|
PORTSCOUT= limit:^[^-]*$$
|
|
|
|
|
2013-10-09 19:11:49 +02:00
|
|
|
post-build:
|
2015-08-03 22:11:06 +02:00
|
|
|
@${SED} -e 's;@prefix@;${PREFIX};' \
|
2013-10-09 19:11:49 +02:00
|
|
|
< ${WRKSRC}/dvbcut.desktop.in \
|
|
|
|
> ${WRKSRC}/dvbcut.desktop
|
|
|
|
|
2005-12-29 01:18:05 +01:00
|
|
|
do-install:
|
2016-11-14 08:51:32 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/.build/dvbcut ${STAGEDIR}${PREFIX}/bin/
|
2013-10-09 19:11:49 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/dvbcut.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
2015-08-03 22:11:06 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dvbcut.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
2017-05-06 22:37:11 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/dvbcut/icons/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dvbcut.svg ${STAGEDIR}${PREFIX}/share/dvbcut/icons/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/* ${STAGEDIR}${PREFIX}/share/dvbcut/icons/
|
2015-08-03 22:11:06 +02:00
|
|
|
${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>
|