diff options
author | 2010-09-08 13:52:22 +0200 | |
---|---|---|
committer | 2010-09-08 13:52:22 +0200 | |
commit | 77c3836231b725f3699afd68f8f81e78db362465 (patch) | |
tree | 2001c96280310c2821742f3e2c3678e4e6eeca67 /media-video | |
parent | [kde-misc/dolphin] source mirrored on my server (diff) | |
download | kde-sunset-77c3836231b725f3699afd68f8f81e78db362465.tar.gz kde-sunset-77c3836231b725f3699afd68f8f81e78db362465.tar.bz2 kde-sunset-77c3836231b725f3699afd68f8f81e78db362465.zip |
[media-video/subtitlecomposer] Recovered ebuild and fixed "mysterious" crashes.
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/subtitlecomposer/Manifest | 3 | ||||
-rw-r--r-- | media-video/subtitlecomposer/files/replace-exceptions.patch | 18 | ||||
-rw-r--r-- | media-video/subtitlecomposer/subtitlecomposer-0.4.3-r1.ebuild | 42 |
3 files changed, 63 insertions, 0 deletions
diff --git a/media-video/subtitlecomposer/Manifest b/media-video/subtitlecomposer/Manifest new file mode 100644 index 00000000..0cd584b2 --- /dev/null +++ b/media-video/subtitlecomposer/Manifest @@ -0,0 +1,3 @@ +AUX replace-exceptions.patch 519 RMD160 af563046864f1320e3117eb2288812dc127850dd SHA1 f2922d441b6352113fe760c5eec2eaeb9fff7304 SHA256 ce64e338aea627df352568f6d2d012b6c7c4baebe6afc4a80854b9c4b74d0b88 +DIST subtitlecomposer-0.4.3.tar.bz2 842002 RMD160 a196746d63fc6228ffcc7de33535113aa93ea278 SHA1 dc9e82bfdc6f5bcee72e2c31f1f459f1a5584359 SHA256 9a39aac7b666eb67137c99f9f8885481f8a005cb04df14a071bf5c763d98c2b4 +EBUILD subtitlecomposer-0.4.3-r1.ebuild 855 RMD160 16bf3316f376c46f4b93990dd80c1471204a7df1 SHA1 673131ae2508a92f92c77280c7cff681a5ad5917 SHA256 fbe72ccccc3f8c45a81a098ad8cfca6dcc6e81d93cb7c754d197e8dd2223a0fe diff --git a/media-video/subtitlecomposer/files/replace-exceptions.patch b/media-video/subtitlecomposer/files/replace-exceptions.patch new file mode 100644 index 00000000..fd24b181 --- /dev/null +++ b/media-video/subtitlecomposer/files/replace-exceptions.patch @@ -0,0 +1,18 @@ +--- subtitlecomposer-0.4.3/src/core/action.h 2008-09-04 08:51:34.000000000 +0200 ++++ subtitlecomposer-0.4.3-b/src/core/action.h 2010-09-08 13:17:01.763018647 +0200 +@@ -80,14 +80,7 @@ + template <class T> + T* tryCastTo( Action* action ) + { +- try +- { +- return dynamic_cast<T*>( action ); +- } +- catch( const std::bad_cast& ) +- { +- return 0; +- } ++ return dynamic_cast<T*>( action ); + } + + /// when this method is called both the callee and the action parameter have been executed diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.4.3-r1.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.4.3-r1.ebuild new file mode 100644 index 00000000..7e21c4a2 --- /dev/null +++ b/media-video/subtitlecomposer/subtitlecomposer-0.4.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +ARTS_REQUIRED="never" + +EAPI=3 + +inherit kde kde-functions + +DESCRIPTION="Text-based subtitles editor." +HOMEPAGE="http://www.sourceforge.net/projects/${PN}" +SRC_URI="mirror://sourceforge/subcomposer/${P}.tar.bz2" + +LICENSE="GPL-2" + +SLOT="3.5" +KEYWORDS="amd64 x86" +IUSE="gstreamer xine mplayer" +RESTRICT="nomirror" + +DEPEND="|| ( kde-base/kate kde-base/kdebase ) + gstreamer? ( media-libs/gstreamer ) + xine? ( media-libs/xine-lib ) + mplayer? ( media-video/mplayer )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/replace-exceptions.patch" ) + +S=${WORKDIR}/${P} + +need-kde 3.5 + +src_compile() { + local myconf="$(use_with gstreamer) $(use_with xine) $(use_with mplayer)" + + kde_src_compile +} + +src_install() { + kde_src_install +} |