From dc9d6a951e49f63cb659345699b581ca6f9a5836 Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Sun, 23 Aug 2009 14:59:11 +0000 Subject: Bump, bug 278286. Thanks to Pedro Castro for reporting. Patch which changes the build-system to use libtool to create plugin .so included, reported upstream at http://bugzilla.gnome.org/show_bug.cgi?id=592784 . (Portage version: 2.2_rc39/cvs/Linux x86_64) --- media-video/gnome-subtitles/ChangeLog | 12 +++- .../files/gnome-subtitles-0.9.1-as-needed.patch | 72 ++++++++++++++++++++++ .../gnome-subtitles/gnome-subtitles-0.9.1.ebuild | 40 ++++++++++++ 3 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 media-video/gnome-subtitles/files/gnome-subtitles-0.9.1-as-needed.patch create mode 100644 media-video/gnome-subtitles/gnome-subtitles-0.9.1.ebuild (limited to 'media-video') diff --git a/media-video/gnome-subtitles/ChangeLog b/media-video/gnome-subtitles/ChangeLog index 8b7d1f860c2b..4dcd637becf0 100644 --- a/media-video/gnome-subtitles/ChangeLog +++ b/media-video/gnome-subtitles/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for media-video/gnome-subtitles # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gnome-subtitles/ChangeLog,v 1.23 2009/05/10 09:09:27 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/gnome-subtitles/ChangeLog,v 1.24 2009/08/23 14:59:11 loki_val Exp $ + +*gnome-subtitles-0.9.1 (23 Aug 2009) + + 23 Aug 2009; Peter Alfredsen + +gnome-subtitles-0.9.1.ebuild, + +files/gnome-subtitles-0.9.1-as-needed.patch: + Bump, bug 278286. Thanks to Pedro Castro for + reporting. Patch which changes the build-system to use libtool to create + plugin .so included, reported upstream at + http://bugzilla.gnome.org/show_bug.cgi?id=592784 . 10 May 2009; Peter Alfredsen -gnome-subtitles-0.3.ebuild, -gnome-subtitles-0.6.ebuild: diff --git a/media-video/gnome-subtitles/files/gnome-subtitles-0.9.1-as-needed.patch b/media-video/gnome-subtitles/files/gnome-subtitles-0.9.1-as-needed.patch new file mode 100644 index 000000000000..e640bf103ece --- /dev/null +++ b/media-video/gnome-subtitles/files/gnome-subtitles-0.9.1-as-needed.patch @@ -0,0 +1,72 @@ +http://bugzilla.gnome.org/show_bug.cgi?id=592784 + +diff -NrU5 gnome-subtitles-0.9.1.orig/configure.ac gnome-subtitles-0.9.1/configure.ac +--- gnome-subtitles-0.9.1.orig/configure.ac 2009-08-23 03:15:48.000000000 +0200 ++++ gnome-subtitles-0.9.1/configure.ac 2009-08-23 03:32:40.000000000 +0200 +@@ -4,19 +4,20 @@ + GNOME_COMMON_INIT + + GNOME_DOC_INIT + GTK_DOC_CHECK([1.0]) + +- + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_SRCDIR([configure.ac]) + + AM_INIT_AUTOMAKE([1.9 tar-ustar]) + AM_MAINTAINER_MODE + + IT_PROG_INTLTOOL([0.35.0]) + ++AC_PROG_LIBTOOL ++ + AC_PROG_INSTALL + AC_PREFIX_PROGRAM(mono) + + dnl Gettext stuff. + +diff -NrU5 gnome-subtitles-0.9.1.orig/Makefile.am gnome-subtitles-0.9.1/Makefile.am +--- gnome-subtitles-0.9.1.orig/Makefile.am 2009-08-23 03:15:48.000000000 +0200 ++++ gnome-subtitles-0.9.1/Makefile.am 2009-08-23 03:35:59.000000000 +0200 +@@ -1,14 +1,10 @@ + SUBDIRS = src data po help + + ACLOCAL_AMFLAGS = -I m4 + + gstpbdir = $(pkglibdir) +-gstpb_SCRIPTS = build/libgstreamer_playbin.so +- +-$(gstpb_SCRIPTS): +- cp -f src/libgstreamer_playbin.so build + + dist-hook: + @if test -d "$(srcdir)/.git"; \ + then \ + echo Creating ChangeLog && \ +diff -NrU5 gnome-subtitles-0.9.1.orig/src/Makefile.am gnome-subtitles-0.9.1/src/Makefile.am +--- gnome-subtitles-0.9.1.orig/src/Makefile.am 2009-08-23 03:15:48.000000000 +0200 ++++ gnome-subtitles-0.9.1/src/Makefile.am 2009-08-23 04:03:41.000000000 +0200 +@@ -1,18 +1,20 @@ + gnomesubtitlesdir = $(pkglibdir) + gnomesubtitles_SCRIPTS = $(ASSEMBLY) + gnomesubtitles_DATA = $(ASSEMBLY_CONFIG) ++ + GS_BUILDDIR = $(srcdir)/../build + GS_DATADIR = $(srcdir)/../data + + ASSEMBLY = $(GS_BUILDDIR)/gnome-subtitles.exe + ASSEMBLY_CONFIG = $(ASSEMBLY).config + + AM_CFLAGS = $(gstreamer_CFLAGS) -Wall -g -fPIC +-noinst_PROGRAMS = libgstreamer_playbin.so +-libgstreamer_playbin_so_SOURCES = $(srcdir)/External/GStreamerPlaybin/main.c +-libgstreamer_playbin_so_LDFLAGS = $(gstreamer_LIBS) -lgstinterfaces-0.10 -shared -Wl,--as-needed,-soname,libgstreamer_playbin.so ++gnomesubtitles_LTLIBRARIES = libgstreamer_playbin.la ++libgstreamer_playbin_la_SOURCES = $(srcdir)/External/GStreamerPlaybin/main.c ++libgstreamer_playbin_la_LIBADD = $(gstreamer_LIBS) -lgstinterfaces-0.10 ++libgstreamer_playbin_la_LIBTOOLFLAGS = --tag=disable-static + + GS_SOURCES = \ + $(srcdir)/External/GStreamerPlaybin/*.cs \ + $(srcdir)/External/NCharDet/*.cs \ + $(srcdir)/GnomeSubtitles/Core/*.cs \ diff --git a/media-video/gnome-subtitles/gnome-subtitles-0.9.1.ebuild b/media-video/gnome-subtitles/gnome-subtitles-0.9.1.ebuild new file mode 100644 index 000000000000..e04bbf0a67f1 --- /dev/null +++ b/media-video/gnome-subtitles/gnome-subtitles-0.9.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/gnome-subtitles/gnome-subtitles-0.9.1.ebuild,v 1.1 2009/08/23 14:59:11 loki_val Exp $ + +EAPI=2 + +inherit mono gnome2 eutils autotools + +DESCRIPTION="Video subtitling for the Gnome desktop" +HOMEPAGE="http://gnome-subtitles.sourceforge.net/" +SRC_URI="mirror://sourceforge/gnome-subtitles/${P}.tar.gz" +LICENSE="GPL-2" +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +RDEPEND=">=dev-lang/mono-1.1 + >=dev-dotnet/glade-sharp-2.12 + >=dev-dotnet/gtk-sharp-2.12 + >=dev-dotnet/gconf-sharp-2.12 + >=media-libs/gstreamer-0.10 + >=app-text/gtkspell-2.0 + >=app-text/enchant-1.3 + >=media-libs/gst-plugins-base-0.10" +DEPEND="${RDEPEND} + app-text/scrollkeeper + dev-util/pkgconfig + app-text/gnome-doc-utils" + +src_prepare() { + epatch "${FILESDIR}/${P}-as-needed.patch" + eautoreconf + gnome2_src_prepare +} + +src_install() { + gnome2_src_install + find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" +} + +DOCS="AUTHORS ChangeLog NEWS README" -- cgit v1.2.3-65-gdbad