aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kplayer-kde4
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2003-04-11 15:38:01 +0000
committerStefan Eßer <se@FreeBSD.org>2003-04-11 15:38:01 +0000
commitc1185d9b1bc9101c6e023213726bec01483553d9 (patch)
treef8093e59a9392b3635612a761dff25c9823bcf4a /multimedia/kplayer-kde4
parentee622c47f0c5bd63dd68a5f04ad1b89360597564 (diff)
downloadports-c1185d9b1bc9101c6e023213726bec01483553d9.tar.gz
ports-c1185d9b1bc9101c6e023213726bec01483553d9.zip
Notes
Diffstat (limited to 'multimedia/kplayer-kde4')
-rw-r--r--multimedia/kplayer-kde4/Makefile26
-rw-r--r--multimedia/kplayer-kde4/distinfo2
-rw-r--r--multimedia/kplayer-kde4/files/patch-configure11
-rw-r--r--multimedia/kplayer-kde4/files/patch-kplayer.cpp18
-rw-r--r--multimedia/kplayer-kde4/pkg-descr12
-rw-r--r--multimedia/kplayer-kde4/pkg-plist79
6 files changed, 148 insertions, 0 deletions
diff --git a/multimedia/kplayer-kde4/Makefile b/multimedia/kplayer-kde4/Makefile
new file mode 100644
index 000000000000..1bd6dafa22ee
--- /dev/null
+++ b/multimedia/kplayer-kde4/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-kde4/distinfo b/multimedia/kplayer-kde4/distinfo
new file mode 100644
index 000000000000..da800681d8e0
--- /dev/null
+++ b/multimedia/kplayer-kde4/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-kde4/files/patch-configure b/multimedia/kplayer-kde4/files/patch-configure
new file mode 100644
index 000000000000..921804625c1a
--- /dev/null
+++ b/multimedia/kplayer-kde4/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-kde4/files/patch-kplayer.cpp b/multimedia/kplayer-kde4/files/patch-kplayer.cpp
new file mode 100644
index 000000000000..15cc1c84965b
--- /dev/null
+++ b/multimedia/kplayer-kde4/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-kde4/pkg-descr b/multimedia/kplayer-kde4/pkg-descr
new file mode 100644
index 000000000000..ba9cd08fb507
--- /dev/null
+++ b/multimedia/kplayer-kde4/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-kde4/pkg-plist b/multimedia/kplayer-kde4/pkg-plist
new file mode 100644
index 000000000000..faa20ab4495f
--- /dev/null
+++ b/multimedia/kplayer-kde4/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