diff options
author | John Marino <marino@FreeBSD.org> | 2014-07-08 06:21:34 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-07-08 06:21:34 +0000 |
commit | 6f02dc66e0dcd16626626ef19cbd6152de9de5cb (patch) | |
tree | 369271545237516d1d5909be2b5603f4e03fcf22 /multimedia/kplayer-kde4 | |
parent | f65fa24f44009ed39e210cb4d515c86cf53b9fbc (diff) | |
download | ports-6f02dc66e0dcd16626626ef19cbd6152de9de5cb.tar.gz ports-6f02dc66e0dcd16626626ef19cbd6152de9de5cb.zip |
Notes
Diffstat (limited to 'multimedia/kplayer-kde4')
-rw-r--r-- | multimedia/kplayer-kde4/Makefile | 9 | ||||
-rw-r--r-- | multimedia/kplayer-kde4/files/patch-kplayer_kplayernode.cpp | 15 |
2 files changed, 19 insertions, 5 deletions
diff --git a/multimedia/kplayer-kde4/Makefile b/multimedia/kplayer-kde4/Makefile index af95648d73ac..ff038ab016b5 100644 --- a/multimedia/kplayer-kde4/Makefile +++ b/multimedia/kplayer-kde4/Makefile @@ -3,23 +3,22 @@ PORTNAME= kplayer PORTVERSION= 0.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia kde MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Movie player based on mplayer RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer LATEST_LINK= ${PORTNAME}-kde4 -USE_BZIP2= yes -USES= cmake gettext +USES= cmake gettext tar:bzip2 USE_QT4= corelib qmake_build moc_build rcc_build uic_build USE_KDE4= kdehier kdeprefix kdelibs automoc4 +LDFLAGS+= -L${LOCALBASE}/lib -lX11 -L${LOCALBASE}/kde4/lib -lsolid -NO_STAGE= yes post-patch: .for lang in da en es it pt sv ${REINPLACE_CMD} -e "s,HTML_INSTALL_DIR},HTML_INSTALL_DIR}/${lang} SUBDIR kplayer,g" \ diff --git a/multimedia/kplayer-kde4/files/patch-kplayer_kplayernode.cpp b/multimedia/kplayer-kde4/files/patch-kplayer_kplayernode.cpp new file mode 100644 index 000000000000..f18aed32de6a --- /dev/null +++ b/multimedia/kplayer-kde4/files/patch-kplayer_kplayernode.cpp @@ -0,0 +1,15 @@ +--- kplayer/kplayernode.cpp.orig 2008-01-11 13:27:11.000000000 +0000 ++++ kplayer/kplayernode.cpp +@@ -2397,8 +2397,10 @@ KPlayerContainerNode* KPlayerDevicesNode + { + QMap<QString, QString>::ConstIterator iterator = m_type_map.find (id); + QString type (iterator == m_type_map.end() ? media() -> type (id) : iterator.value()); +- KPlayerDeviceNode* node = type == "TV" ? (KPlayerDeviceNode*) new KPlayerTVNode +- : type == "DVB" ? (KPlayerDeviceNode*) new KPlayerDVBNode : (KPlayerDeviceNode*) new KPlayerDiskNode; ++ KPlayerDeviceNode* node; ++ if (type == "TV") { node = (KPlayerDeviceNode*) new KPlayerTVNode; } ++ else if (type == "DVB") { node = (KPlayerDeviceNode*) new KPlayerDVBNode; } ++ else { node = (KPlayerDeviceNode*) new KPlayerDiskNode; } + node -> setup (this, id, origin); + return node; + } |