diff options
author | miwi <miwi@FreeBSD.org> | 2008-01-13 00:30:57 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-01-13 00:30:57 +0800 |
commit | 8cdaecebc259a9328de50ecfe0b27b3e1cb4d82d (patch) | |
tree | 9cb5651e0715b455a43456b94457d114da822767 | |
parent | 8c46570c3c1e06ea5d0d2e43fecff1c4dad9a72e (diff) | |
download | freebsd-ports-gnome-8cdaecebc259a9328de50ecfe0b27b3e1cb4d82d.tar.gz freebsd-ports-gnome-8cdaecebc259a9328de50ecfe0b27b3e1cb4d82d.tar.zst freebsd-ports-gnome-8cdaecebc259a9328de50ecfe0b27b3e1cb4d82d.zip |
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>
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/subtitlecomposer-kde4/Makefile | 28 | ||||
-rw-r--r-- | multimedia/subtitlecomposer-kde4/distinfo | 3 | ||||
-rw-r--r-- | multimedia/subtitlecomposer-kde4/files/patch-src__core__subtitleline.cpp | 11 | ||||
-rw-r--r-- | multimedia/subtitlecomposer-kde4/pkg-descr | 6 | ||||
-rw-r--r-- | multimedia/subtitlecomposer-kde4/pkg-plist | 27 | ||||
-rw-r--r-- | multimedia/subtitlecomposer/Makefile | 28 | ||||
-rw-r--r-- | multimedia/subtitlecomposer/distinfo | 3 | ||||
-rw-r--r-- | multimedia/subtitlecomposer/files/patch-src__core__subtitleline.cpp | 11 | ||||
-rw-r--r-- | multimedia/subtitlecomposer/pkg-descr | 6 | ||||
-rw-r--r-- | multimedia/subtitlecomposer/pkg-plist | 27 |
11 files changed, 151 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index b39737174578..f39b69c6b78b 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -206,6 +206,7 @@ SUBDIR += streamanalyze SUBDIR += streamdvd SUBDIR += subconv + SUBDIR += subtitlecomposer SUBDIR += subtitleeditor SUBDIR += subtitleripper SUBDIR += subtools diff --git a/multimedia/subtitlecomposer-kde4/Makefile b/multimedia/subtitlecomposer-kde4/Makefile new file mode 100644 index 000000000000..f55037b8f3e0 --- /dev/null +++ b/multimedia/subtitlecomposer-kde4/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-kde4/distinfo b/multimedia/subtitlecomposer-kde4/distinfo new file mode 100644 index 000000000000..2af33cbf3150 --- /dev/null +++ b/multimedia/subtitlecomposer-kde4/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-kde4/files/patch-src__core__subtitleline.cpp b/multimedia/subtitlecomposer-kde4/files/patch-src__core__subtitleline.cpp new file mode 100644 index 000000000000..8609e8364c54 --- /dev/null +++ b/multimedia/subtitlecomposer-kde4/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-kde4/pkg-descr b/multimedia/subtitlecomposer-kde4/pkg-descr new file mode 100644 index 000000000000..bffdd05e5b93 --- /dev/null +++ b/multimedia/subtitlecomposer-kde4/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-kde4/pkg-plist b/multimedia/subtitlecomposer-kde4/pkg-plist new file mode 100644 index 000000000000..ebb8aa982623 --- /dev/null +++ b/multimedia/subtitlecomposer-kde4/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 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 |