summaryrefslogtreecommitdiff
path: root/multimedia/subtitlecomposer
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-01-12 16:30:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-01-12 16:30:57 +0000
commit13140ca9286822d83dcc73f735186f70d96b0aa4 (patch)
tree329987d621ef0b1923e09b14ca670130e31ae6a1 /multimedia/subtitlecomposer
parent- Upgrade to 8.11-1; (diff)
Subtitle Composer supports the basic operations (text, time, and
style edition) as well as real time preview, spell checking and more; aiming to become an improved version of Subtitle Workshop for UNIX-like OSes. WWW: http://www.kde-apps.org/content/show.php?content=69822 PR: ports/119456 Submitted by: Max Brazhnikov <makc at issp.ac.ru>
Notes
Notes: svn path=/head/; revision=205544
Diffstat (limited to 'multimedia/subtitlecomposer')
-rw-r--r--multimedia/subtitlecomposer/Makefile28
-rw-r--r--multimedia/subtitlecomposer/distinfo3
-rw-r--r--multimedia/subtitlecomposer/files/patch-src__core__subtitleline.cpp11
-rw-r--r--multimedia/subtitlecomposer/pkg-descr6
-rw-r--r--multimedia/subtitlecomposer/pkg-plist27
5 files changed, 75 insertions, 0 deletions
diff --git a/multimedia/subtitlecomposer/Makefile b/multimedia/subtitlecomposer/Makefile
new file mode 100644
index 000000000000..f55037b8f3e0
--- /dev/null
+++ b/multimedia/subtitlecomposer/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: subtitlecomposer
+# Date created: 2008-01-08
+# Whom: Max Brazhnikov <makc@issp.ac.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= subtitlecomposer
+PORTVERSION= 0.3
+CATEGORIES= multimedia
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR=subcomposer
+
+MAINTAINER= makc@issp.ac.ru
+COMMENT= Subtitle editor for KDE
+
+LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib
+RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
+
+USE_BZIP2= yes
+USE_AUTOTOOLS= libtool:15
+USE_KDELIBS_VER=3
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-gstreamer
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/multimedia/subtitlecomposer/distinfo b/multimedia/subtitlecomposer/distinfo
new file mode 100644
index 000000000000..2af33cbf3150
--- /dev/null
+++ b/multimedia/subtitlecomposer/distinfo
@@ -0,0 +1,3 @@
+MD5 (subtitlecomposer-0.3.tar.bz2) = bca75b9c6679a6ed9cc2e802adfabdc5
+SHA256 (subtitlecomposer-0.3.tar.bz2) = 82cb3b37411e5fe2d2e6f83a8dfe509f9765f6032222d69404b77998afb41b6c
+SIZE (subtitlecomposer-0.3.tar.bz2) = 655837
diff --git a/multimedia/subtitlecomposer/files/patch-src__core__subtitleline.cpp b/multimedia/subtitlecomposer/files/patch-src__core__subtitleline.cpp
new file mode 100644
index 000000000000..8609e8364c54
--- /dev/null
+++ b/multimedia/subtitlecomposer/files/patch-src__core__subtitleline.cpp
@@ -0,0 +1,11 @@
+--- ./src/core/subtitleline.cpp.orig 2008-01-08 09:16:27.000000000 +0300
++++ ./src/core/subtitleline.cpp 2008-01-08 15:54:39.000000000 +0300
+@@ -41,7 +41,7 @@
+ if ( flag < 1 )
+ return ErrorUNKNOWN;
+
+- int id = (int)log2( flag );
++ int id = int( log( flag ) * M_LN2 );
+ return id < ErrorSIZE ? (ErrorID)id : ErrorUNKNOWN;
+ }
+
diff --git a/multimedia/subtitlecomposer/pkg-descr b/multimedia/subtitlecomposer/pkg-descr
new file mode 100644
index 000000000000..bffdd05e5b93
--- /dev/null
+++ b/multimedia/subtitlecomposer/pkg-descr
@@ -0,0 +1,6 @@
+Subtitle Composer supports the basic operations (text, time, and
+style edition) as well as real time preview, spell checking and
+more; aiming to become an improved version of Subtitle Workshop for
+UNIX-like OSes.
+
+WWW: http://www.kde-apps.org/content/show.php?content=69822
diff --git a/multimedia/subtitlecomposer/pkg-plist b/multimedia/subtitlecomposer/pkg-plist
new file mode 100644
index 000000000000..ebb8aa982623
--- /dev/null
+++ b/multimedia/subtitlecomposer/pkg-plist
@@ -0,0 +1,27 @@
+bin/subtitlecomposer
+share/applications/kde/subtitlecomposer.desktop
+share/apps/subtitlecomposer/gstreamer-32.png
+share/apps/subtitlecomposer/gstreamer.png
+share/apps/subtitlecomposer/input.conf
+share/apps/subtitlecomposer/linkcurrenttovideo.png
+share/apps/subtitlecomposer/mplayer-32.png
+share/apps/subtitlecomposer/mplayer.png
+share/apps/subtitlecomposer/sethidetime.png
+share/apps/subtitlecomposer/setshowtime.png
+share/apps/subtitlecomposer/subtitlecomposerui.rc
+share/apps/subtitlecomposer/video.png
+share/config/subtitlecomposerrc
+share/icons/hicolor/128x128/apps/subtitlecomposer.png
+share/icons/hicolor/16x16/apps/subtitlecomposer.png
+share/icons/hicolor/32x32/apps/subtitlecomposer.png
+share/icons/hicolor/64x64/apps/subtitlecomposer.png
+share/mimelnk/subtitle/x-advsubstationalpha.desktop
+share/mimelnk/subtitle/x-microdvd.desktop
+share/mimelnk/subtitle/x-mplayer.desktop
+share/mimelnk/subtitle/x-subrip.desktop
+share/mimelnk/subtitle/x-substationalpha.desktop
+share/mimelnk/subtitle/x-subviewer.desktop
+@dirrm share/mimelnk/subtitle
+@dirrmtry share/config
+@dirrm share/apps/subtitlecomposer
+@dirrmtry share/applications/kde