summaryrefslogtreecommitdiffstats
path: root/multimedia/kplayer
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2003-04-11 15:38:01 +0000
committerse <se@FreeBSD.org>2003-04-11 15:38:01 +0000
commitf0b0d0bd1ce6fcc9c13131ac2c9de6213d8745a1 (patch)
tree1a2288f805c25611e965803289f404e043736ef7 /multimedia/kplayer
parent651564a776601d9c5ef82bcc4b6b0b818096ea47 (diff)
downloadFreeBSD-ports-f0b0d0bd1ce6fcc9c13131ac2c9de6213d8745a1.zip
FreeBSD-ports-f0b0d0bd1ce6fcc9c13131ac2c9de6213d8745a1.tar.gz
KDE wrapper for multimedia/mplayer.
Diffstat (limited to 'multimedia/kplayer')
-rw-r--r--multimedia/kplayer/Makefile26
-rw-r--r--multimedia/kplayer/distinfo2
-rw-r--r--multimedia/kplayer/files/patch-configure11
-rw-r--r--multimedia/kplayer/files/patch-kplayer.cpp18
-rw-r--r--multimedia/kplayer/pkg-descr12
-rw-r--r--multimedia/kplayer/pkg-plist79
6 files changed, 148 insertions, 0 deletions
diff --git a/multimedia/kplayer/Makefile b/multimedia/kplayer/Makefile
new file mode 100644
index 0000000..1bd6daf
--- /dev/null
+++ b/multimedia/kplayer/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: kplayer
+# Date created: Fri Apr 11 09:12:55 CEST 2003
+# Whom: Stefan Eßer <se@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kplayer
+PORTVERSION= 0.2.0
+CATEGORIES= multimedia kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= kplayer-0.2.0-src
+
+MAINTAINER= se@FreeBSD.org
+COMMENT= Movie player based on mplayer
+
+RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
+
+WRKSRC= ${WRKDIR}/kplayer-0.2/
+USE_KDELIBS_VER=3
+PREFIX= ${KDE_PREFIX}
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/multimedia/kplayer/distinfo b/multimedia/kplayer/distinfo
new file mode 100644
index 0000000..da80068
--- /dev/null
+++ b/multimedia/kplayer/distinfo
@@ -0,0 +1,2 @@
+MD5 (kplayer-0.2.0-src.tar.gz) = b8b3cb95a7379c2de60a586e67f1a9d5
+SIZE (kplayer-0.2.0-src.tar.gz) = 696934
diff --git a/multimedia/kplayer/files/patch-configure b/multimedia/kplayer/files/patch-configure
new file mode 100644
index 0000000..9218046
--- /dev/null
+++ b/multimedia/kplayer/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure~ Wed Mar 26 13:23:28 2003
++++ configure Fri Apr 11 10:12:48 2003
+@@ -1582,7 +1582,7 @@
+ test -n "$target_alias" &&
+ test "$program_prefix$program_suffix$program_transform_name" = \
+ NONENONEs,x,x, &&
+- program_prefix=${target_alias}-
++ program_prefix=NONE # {target_alias}-
+ test "$program_prefix" != NONE &&
+ program_transform_name="s,^,$program_prefix,;$program_transform_name"
+ # Use a double $ so make ignores it.
diff --git a/multimedia/kplayer/files/patch-kplayer.cpp b/multimedia/kplayer/files/patch-kplayer.cpp
new file mode 100644
index 0000000..15cc1c8
--- /dev/null
+++ b/multimedia/kplayer/files/patch-kplayer.cpp
@@ -0,0 +1,18 @@
+--- kplayer/kplayer.cpp~ Wed Mar 26 12:14:07 2003
++++ kplayer/kplayer.cpp Fri Apr 11 09:35:05 2003
+@@ -824,6 +824,15 @@
+ kPlayerProcess() -> stop();
+ }
+
++#ifdef __FreeBSD__
++int roundf(double number)
++{
++ if (number > 0.0)
++ return (int)(number + 0.5);
++ return (int)(number -0.5);
++}
++#endif
++
+ void KPlayer::onPlayerForward (void)
+ {
+ int seek = kPlayerProcess() -> length() == 0 ? 10 :
diff --git a/multimedia/kplayer/pkg-descr b/multimedia/kplayer/pkg-descr
new file mode 100644
index 0000000..ba9cd08
--- /dev/null
+++ b/multimedia/kplayer/pkg-descr
@@ -0,0 +1,12 @@
+KPlayer is a KDE media player based on MPlayer, www.mplayerhq.hu.
+
+Features include video, audio and subtitle playback from file, URL, DVD, VCD,
+audio CD, TV, etc.; volume, contrast, brightness, hue and saturation controls;
+zooming, full screen and fixed aspect options; status and progress display
+and seeking; user friendly interface.
+
+Among planned enhancements are configuration dialog, global and per-file
+options, playlist, further KDE integration, MPlayer config file handling,
+support for media encoding.
+
+WWW: http://sourceforge.net/projects/kplayer
diff --git a/multimedia/kplayer/pkg-plist b/multimedia/kplayer/pkg-plist
new file mode 100644
index 0000000..faa20ab
--- /dev/null
+++ b/multimedia/kplayer/pkg-plist
@@ -0,0 +1,79 @@
+bin/kplayer
+share/applnk/Multimedia/kplayer.desktop
+share/apps/kplayer/icons/hicolor/16x16/actions/brightness.png
+share/apps/kplayer/icons/hicolor/16x16/actions/contrast.png
+share/apps/kplayer/icons/hicolor/16x16/actions/fileopen.png
+share/apps/kplayer/icons/hicolor/16x16/actions/fileopenurl.png
+share/apps/kplayer/icons/hicolor/16x16/actions/hue.png
+share/apps/kplayer/icons/hicolor/16x16/actions/mute.png
+share/apps/kplayer/icons/hicolor/16x16/actions/next.png
+share/apps/kplayer/icons/hicolor/16x16/actions/player_fwd.png
+share/apps/kplayer/icons/hicolor/16x16/actions/player_pause.png
+share/apps/kplayer/icons/hicolor/16x16/actions/player_play.png
+share/apps/kplayer/icons/hicolor/16x16/actions/player_rew.png
+share/apps/kplayer/icons/hicolor/16x16/actions/player_stop.png
+share/apps/kplayer/icons/hicolor/16x16/actions/previous.png
+share/apps/kplayer/icons/hicolor/16x16/actions/saturation.png
+share/apps/kplayer/icons/hicolor/16x16/actions/viewmag+.png
+share/apps/kplayer/icons/hicolor/16x16/actions/viewmag-.png
+share/apps/kplayer/icons/hicolor/16x16/actions/viewmagfit.png
+share/apps/kplayer/icons/hicolor/16x16/actions/volume.png
+share/apps/kplayer/icons/hicolor/16x16/actions/window_fullscreen.png
+share/apps/kplayer/icons/hicolor/22x22/actions/brightness.png
+share/apps/kplayer/icons/hicolor/22x22/actions/contrast.png
+share/apps/kplayer/icons/hicolor/22x22/actions/fileopen.png
+share/apps/kplayer/icons/hicolor/22x22/actions/fileopenurl.png
+share/apps/kplayer/icons/hicolor/22x22/actions/hue.png
+share/apps/kplayer/icons/hicolor/22x22/actions/mute.png
+share/apps/kplayer/icons/hicolor/22x22/actions/next.png
+share/apps/kplayer/icons/hicolor/22x22/actions/player_fwd.png
+share/apps/kplayer/icons/hicolor/22x22/actions/player_pause.png
+share/apps/kplayer/icons/hicolor/22x22/actions/player_play.png
+share/apps/kplayer/icons/hicolor/22x22/actions/player_rew.png
+share/apps/kplayer/icons/hicolor/22x22/actions/player_stop.png
+share/apps/kplayer/icons/hicolor/22x22/actions/previous.png
+share/apps/kplayer/icons/hicolor/22x22/actions/saturation.png
+share/apps/kplayer/icons/hicolor/22x22/actions/viewmag+.png
+share/apps/kplayer/icons/hicolor/22x22/actions/viewmag-.png
+share/apps/kplayer/icons/hicolor/22x22/actions/viewmagfit.png
+share/apps/kplayer/icons/hicolor/22x22/actions/volume.png
+share/apps/kplayer/icons/hicolor/22x22/actions/window_fullscreen.png
+share/apps/kplayer/icons/hicolor/32x32/actions/brightness.png
+share/apps/kplayer/icons/hicolor/32x32/actions/contrast.png
+share/apps/kplayer/icons/hicolor/32x32/actions/fileopen.png
+share/apps/kplayer/icons/hicolor/32x32/actions/fileopenurl.png
+share/apps/kplayer/icons/hicolor/32x32/actions/hue.png
+share/apps/kplayer/icons/hicolor/32x32/actions/mute.png
+share/apps/kplayer/icons/hicolor/32x32/actions/next.png
+share/apps/kplayer/icons/hicolor/32x32/actions/player_fwd.png
+share/apps/kplayer/icons/hicolor/32x32/actions/player_pause.png
+share/apps/kplayer/icons/hicolor/32x32/actions/player_play.png
+share/apps/kplayer/icons/hicolor/32x32/actions/player_rew.png
+share/apps/kplayer/icons/hicolor/32x32/actions/player_stop.png
+share/apps/kplayer/icons/hicolor/32x32/actions/previous.png
+share/apps/kplayer/icons/hicolor/32x32/actions/saturation.png
+share/apps/kplayer/icons/hicolor/32x32/actions/viewmag+.png
+share/apps/kplayer/icons/hicolor/32x32/actions/viewmag-.png
+share/apps/kplayer/icons/hicolor/32x32/actions/viewmagfit.png
+share/apps/kplayer/icons/hicolor/32x32/actions/volume.png
+share/apps/kplayer/icons/hicolor/32x32/actions/window_fullscreen.png
+share/apps/kplayer/input.conf
+share/apps/kplayer/kplayerui.rc
+share/doc/HTML/en/kplayer/index.cache.bz2
+share/doc/HTML/en/kplayer/index.docbook
+share/icons/hicolor/16x16/apps/kplayer.png
+share/icons/hicolor/22x22/apps/kplayer.png
+share/icons/hicolor/32x32/apps/kplayer.png
+share/icons/locolor/16x16/apps/kplayer.png
+share/icons/locolor/32x32/apps/kplayer.png
+share/doc/HTML/en/kplayer/common
+@dirrm share/doc/HTML/en/kplayer
+@dirrm share/apps/kplayer/icons/hicolor/32x32/actions
+@dirrm share/apps/kplayer/icons/hicolor/32x32
+@dirrm share/apps/kplayer/icons/hicolor/22x22/actions
+@dirrm share/apps/kplayer/icons/hicolor/22x22
+@dirrm share/apps/kplayer/icons/hicolor/16x16/actions
+@dirrm share/apps/kplayer/icons/hicolor/16x16
+@dirrm share/apps/kplayer/icons/hicolor
+@dirrm share/apps/kplayer/icons
+@dirrm share/apps/kplayer
OpenPOWER on IntegriCloud