2013-04-26 12:35:50 +00:00
|
|
|
# Created by: oz@nixil.net
|
2004-05-13 16:49:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qdvdauthor
|
2008-05-03 08:46:20 +00:00
|
|
|
PORTVERSION= 1.1.0
|
2013-01-23 15:00:18 +00:00
|
|
|
PORTREVISION= 11
|
2004-05-13 16:49:52 +00:00
|
|
|
CATEGORIES= multimedia
|
2008-01-24 15:24:30 +00:00
|
|
|
MASTER_SITES= SF
|
2004-05-13 16:49:52 +00:00
|
|
|
|
|
|
|
MAINTAINER= oz@nixil.net
|
2013-01-22 23:13:41 +00:00
|
|
|
COMMENT= Qt graphical frontend for dvdauthor
|
2004-05-13 16:49:52 +00:00
|
|
|
|
2006-12-29 23:21:41 +00:00
|
|
|
BUILD_DEPENDS= dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
|
|
|
mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \
|
|
|
|
dvd-slideshow:${PORTSDIR}/multimedia/dvd-slideshow \
|
|
|
|
qmake:${PORTSDIR}/devel/qmake
|
|
|
|
|
2004-05-13 16:49:52 +00:00
|
|
|
RUN_DEPENDS= dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
2006-01-07 01:03:35 +00:00
|
|
|
mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \
|
2006-12-29 23:21:41 +00:00
|
|
|
dvd-slideshow:${PORTSDIR}/multimedia/dvd-slideshow \
|
2008-01-24 15:24:30 +00:00
|
|
|
dv2sub:${PORTSDIR}/multimedia/dv2sub \
|
2006-12-29 23:21:41 +00:00
|
|
|
bash:${PORTSDIR}/shells/bash
|
2004-05-13 16:49:52 +00:00
|
|
|
|
2007-03-01 10:14:52 +00:00
|
|
|
DATA_FILES= silence.mp2 html/en/audio_streams.html html/en/system_register.html \
|
2008-01-24 15:24:30 +00:00
|
|
|
qdvdauthor_ca.qm qdvdauthor_de.qm qdvdauthor_eo.qm \
|
|
|
|
qdvdauthor_es.qm qdvdauthor_fr.qm qdvdauthor_it.qm \
|
|
|
|
qdvdauthor_pl.qm qplayer_ca.qm qplayer_de.qm \
|
|
|
|
qplayer_es.qm qplayer_fr.qm qslideshow_ca.qm \
|
2008-05-03 08:46:20 +00:00
|
|
|
qslideshow_de.qm qslideshow_es.qm qslideshow_fr.qm \
|
|
|
|
qslideshow_it.qm qrender_ca.qm qrender_de.qm \
|
|
|
|
qrender_es.qm
|
2007-03-01 10:14:52 +00:00
|
|
|
|
2004-11-09 08:15:10 +00:00
|
|
|
PLIST_FILES= bin/qdvdauthor \
|
|
|
|
bin/qslideshow \
|
2007-03-01 10:14:52 +00:00
|
|
|
bin/qplayer \
|
2008-05-03 08:46:20 +00:00
|
|
|
bin/qrender \
|
2008-01-24 15:24:30 +00:00
|
|
|
share/pixmaps/qdvdauthor.png \
|
2007-03-01 10:14:52 +00:00
|
|
|
${DATA_FILES:S,^,%%DATADIR%%/,}
|
|
|
|
PLIST_DIRS= %%DATADIR%%/html/en %%DATADIR%%/html %%DATADIR%%
|
2004-11-09 08:15:10 +00:00
|
|
|
|
2008-01-24 15:24:30 +00:00
|
|
|
DESKTOP_ENTRIES="QDVDAuthor" \
|
|
|
|
"DVD Author GUI" \
|
|
|
|
"${PREFIX}/share/pixmaps/qdvdauthor.png" \
|
|
|
|
"QDVDAuthor" \
|
2013-01-22 23:13:41 +00:00
|
|
|
"AudioVideo;Qt;" \
|
2008-01-24 15:24:30 +00:00
|
|
|
"false"
|
|
|
|
|
2004-05-13 16:49:52 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_QT_VER= 3
|
|
|
|
QT_NONSTANDARD= yes
|
|
|
|
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --qt-dir=${LOCALBASE} --with-qt-lib=qt-mt \
|
2004-11-09 08:15:10 +00:00
|
|
|
--build-qslideshow --build-qplayer
|
2004-05-13 16:49:52 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2013-04-26 12:35:50 +00:00
|
|
|
OPTIONS_DEFINE= NETPBM MJPEGTOOLS CDRTOOLS TRANSCODE DVDRWTOOLS MPLAYER TOOLAME MCTOOLAME
|
|
|
|
OPTIONS_DEFAULT= NETPBM MJPEGTOOLS CDRTOOLS TRANSCODE
|
|
|
|
NETPBM_DESC= Create mpeg2 streams for movie menus
|
|
|
|
MJPEGTOOLS_DESC= Convert background images into mpeg2 movie
|
|
|
|
CDRTOOLS_DESC= Create iso images of DVD on the Hard Drive
|
|
|
|
TRANSCODE_DESC= Support for movie format conversion
|
|
|
|
DVDRWTOOLS_DESC= Optional DVD recording/burning prog
|
|
|
|
MPLAYER_DESC= Optional support for mplayer playback
|
|
|
|
TOOLAME_DESC= Optional support for audio conversion
|
|
|
|
MCTOOLAME_DESC= Optional support for audio conversion
|
2005-02-25 23:52:10 +00:00
|
|
|
|
2013-04-26 12:35:50 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2005-02-25 23:52:10 +00:00
|
|
|
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MNETPBM}
|
2005-02-25 23:52:10 +00:00
|
|
|
RUN_DEPENDS+= pngtopnm:${PORTSDIR}/graphics/netpbm
|
|
|
|
.endif
|
2013-04-26 13:42:00 +00:00
|
|
|
.if ${PORT_OPTIONS:MMJPEGTOOLS}
|
2005-02-25 23:52:10 +00:00
|
|
|
RUN_DEPENDS+= mpeg2enc:${PORTSDIR}/multimedia/mjpegtools
|
|
|
|
.endif
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MCDRTOOLS}
|
|
|
|
RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools
|
2005-02-25 23:52:10 +00:00
|
|
|
.endif
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MDVDRWTOOLS}
|
2005-02-25 23:52:10 +00:00
|
|
|
RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
|
|
|
|
.endif
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MLIBXINE}
|
- Update multimedia/libxine to 1.2.1 with a commit merged from hg
to fix DVB support. (which still is broken for tuners using
hardware pid filtering, like when running webcamd with
"-m dvb-usb-init.force_pid_filter_usage=1".)
- Add patches to fix build of ports depending on libxine to:
audio/amarok,
graphics/gimageview [1], graphics/pornview [1],
graphics/osg [2], graphics/osg-devel [2],
multimedia/emotion,
x11/kdelibs4 [3],
multimedia/kmplayer,
multimedia/konverter,
multimedia/qdvdauthor [4],
multimedia/vdr-plugin-xineliboutput,
multimedia/xfce4-media [5],
multimedia/xine_artsplugin,
multimedia/k9copy-kde4 [6]
- Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7]
- Mark multimedia/phonon-xine BROKEN which refuses to build with
libxine 1.2.x and is deprecated upstream. [3]
- Disable XINE knob for x11/eaglemode for which I don't have a fix. [2]
- Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix,
but it only shows a green window at least with mp4 or ts files.
(avi files and audio still work.) It seems the kaffeine developers
have found this too and are now switching away from libxine in
their git repo - so I guess we'll have a broken kaffeine at least
until they release a new version.
- Bump PORTREVISIONs for ports depending on libxine by default.
- Add optional libbluray support to multimedia/libxine and
multimedia/vdr-plugin-xineliboutput.
PR: ports/165057 [6]
Submitted by: nox (self) [6], rakuco [3]
Approved by: dinoex (maintainer, via irc) [1],
amdmi3 (maintainer, via private email) [2],
kde@ (rakuco, via irc) [3],
Phil Oleson <oz@nixil.net> (maintainer, via private email) [4],
xfce@ (rene, via irc) [5],
Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6],
lme (maintainer, via irc) [7]
Thanx to: Darren Salt (upstream libxine maintainer) for a few
hints on irc to help with patching ports depending
on deprecated libxine features
2012-02-26 15:22:37 +00:00
|
|
|
LIB_DEPENDS+= xine.2:${PORTSDIR}/multimedia/libxine
|
2005-02-25 23:52:10 +00:00
|
|
|
CONFIGURE_ARGS+=--with-xine-support
|
|
|
|
.endif
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MMPLAYER}
|
2005-02-25 23:52:10 +00:00
|
|
|
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
|
|
|
|
CONFIGURE_ARGS+=--with-mplayer-support
|
|
|
|
.endif
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MTRANSCODE}
|
2005-02-25 23:52:10 +00:00
|
|
|
RUN_DEPENDS+= transcode:${PORTSDIR}/multimedia/transcode
|
|
|
|
.endif
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MTOOLAME}
|
2005-02-25 23:52:10 +00:00
|
|
|
RUN_DEPENDS+= toolame:${PORTSDIR}/audio/toolame
|
|
|
|
.endif
|
2013-04-26 12:35:50 +00:00
|
|
|
.if ${PORT_OPTIONS:MMCTOOLAME}
|
2005-02-25 23:52:10 +00:00
|
|
|
RUN_DEPENDS+= mctoolame:${PORTSDIR}/audio/mctoolame-encoder
|
|
|
|
.endif
|
|
|
|
|
2004-05-13 16:49:52 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/qdvdauthor ${PREFIX}/bin/qdvdauthor
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/qslideshow ${PREFIX}/bin/qslideshow
|
2004-11-09 08:15:10 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/qplayer ${PREFIX}/bin/qplayer
|
2008-05-03 08:46:20 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/qrender ${PREFIX}/bin/qrender
|
2004-05-13 16:49:52 +00:00
|
|
|
|
2008-01-24 15:24:30 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/pixmaps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qdvdauthor.png ${PREFIX}/share/pixmaps
|
|
|
|
|
|
|
|
@${MKDIR} ${DATADIR}
|
2007-03-01 10:14:52 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/silence.mp2 ${DATADIR}
|
|
|
|
|
2008-01-24 15:24:30 +00:00
|
|
|
@${MKDIR} ${DATADIR}/html/en
|
2007-03-01 10:14:52 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/en/audio_streams.html ${DATADIR}/html/en
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/en/system_register.html ${DATADIR}/html/en
|
2008-01-24 15:24:30 +00:00
|
|
|
|
|
|
|
.for locale in ca de eo es fr it pl
|
2007-03-01 10:14:52 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/qdvdauthor/i18n/qdvdauthor_${locale}.qm ${DATADIR}
|
2008-01-24 15:24:30 +00:00
|
|
|
.endfor
|
|
|
|
.for locale in ca de es fr
|
2007-03-01 10:14:52 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/qdvdauthor/i18n/qplayer_${locale}.qm ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qdvdauthor/i18n/qslideshow_${locale}.qm ${DATADIR}
|
2008-05-03 08:46:20 +00:00
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qdvdauthor/i18n/qslideshow_it.qm ${DATADIR}
|
|
|
|
.for locale in ca de es
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qdvdauthor/i18n/qrender_${locale}.qm ${DATADIR}
|
2007-03-01 10:14:52 +00:00
|
|
|
.endfor
|
2013-04-26 12:35:50 +00:00
|
|
|
.include <bsd.port.mk>
|