From f3a8f3ac145118ddfb14d06e06b2d08397fec310 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 10 Jan 2011 13:28:12 -0500 Subject: [PATCH] fix libs --- totem-libs.patch | 13 +++++++++++++ totem.spec | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 totem-libs.patch diff --git a/totem-libs.patch b/totem-libs.patch new file mode 100644 index 0000000..3614ca5 --- /dev/null +++ b/totem-libs.patch @@ -0,0 +1,13 @@ +diff -up totem-2.91.4/src/backend/Makefile.am.libs totem-2.91.4/src/backend/Makefile.am +--- totem-2.91.4/src/backend/Makefile.am.libs 2011-01-10 13:26:27.147901729 -0500 ++++ totem-2.91.4/src/backend/Makefile.am 2011-01-10 13:26:48.842902416 -0500 +@@ -18,7 +18,8 @@ bvw_test_LDADD = \ + libbaconvideowidget.la \ + $(DEPENDENCY_LIBS) \ + $(XVIDMODE_LIBS) \ +- $(XTEST_LIBS) ++ $(XTEST_LIBS) \ ++ -lX11 + + # Marshallers + BVW_MARSHAL_FILES = baconvideowidget-marshal.c baconvideowidget-marshal.h diff --git a/totem.spec b/totem.spec index 64fc3da..1ff27af 100644 --- a/totem.spec +++ b/totem.spec @@ -8,6 +8,8 @@ Group: Applications/Multimedia URL: http://projects.gnome.org/totem/ Source0: http://download.gnome.org/sources/totem/2.91/totem-%{version}.tar.bz2 +Patch0: totem-libs.patch + Requires: iso-codes Requires: gnome-icon-theme # For the opensubtitles plugin @@ -61,6 +63,8 @@ BuildRequires: lirc-devel BuildRequires: libepc-devel BuildRequires: libgdata-devel +BuildRequires: autoconf automake libtool + %description Totem is simple movie player for the GNOME desktop. It features a simple playlist, a full-screen mode, seek and volume controls, as well as @@ -157,6 +161,9 @@ audio and video files in the properties dialog. %prep %setup -q +%patch0 -p1 -b .libs + +autoreconf -i -f %build