Date: Sunday, February 5, 2017 @ 13:22:26 Author: jgc Revision: 288079
upgpkg: rhythmbox 3.4.1-2 Port to clutter-gst-3.0 Added: rhythmbox/trunk/0001-Port-to-clutter-gst-3.0.patch Modified: rhythmbox/trunk/PKGBUILD ------------------------------------+ 0001-Port-to-clutter-gst-3.0.patch | 39 +++++++++++++++++++++++++++++++++++ PKGBUILD | 28 +++++++++++++++++-------- 2 files changed, 58 insertions(+), 9 deletions(-) Added: 0001-Port-to-clutter-gst-3.0.patch =================================================================== --- 0001-Port-to-clutter-gst-3.0.patch (rev 0) +++ 0001-Port-to-clutter-gst-3.0.patch 2017-02-05 13:22:26 UTC (rev 288079) @@ -0,0 +1,39 @@ +From 054925add713e715134f340dd7c873c928ad762f Mon Sep 17 00:00:00 2001 +From: Jan de Groot <[email protected]> +Date: Sun, 5 Feb 2017 13:10:30 +0000 +Subject: [PATCH] Port to clutter-gst-3.0 + +--- + configure.ac | 2 +- + plugins/visualizer/rb-visualizer-page.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 16afcfff6..effbd44d0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -681,7 +681,7 @@ if test "x$enable_visualizer" != "xno"; then + PKG_CHECK_MODULES(CLUTTER, + clutter-1.0 >= 1.8 \ + clutter-x11-1.0 >= 1.8 \ +- clutter-gst-2.0 \ ++ clutter-gst-3.0 \ + clutter-gtk-1.0 >= 1.0 \ + mx-1.0 >= 1.0.1, + have_clutter=yes, +diff --git a/plugins/visualizer/rb-visualizer-page.c b/plugins/visualizer/rb-visualizer-page.c +index 417984335..5b03e7748 100644 +--- a/plugins/visualizer/rb-visualizer-page.c ++++ b/plugins/visualizer/rb-visualizer-page.c +@@ -352,7 +352,7 @@ impl_constructed (GObject *object) + g_object_ref (page->sink); + + /* actual sink */ +- realsink = gst_element_factory_make ("cluttersink", NULL); ++ realsink = GST_ELEMENT (clutter_gst_video_sink_new ()); + g_object_set (realsink, "texture", page->texture, NULL); + + videoconvert = gst_element_factory_make ("videoconvert", NULL); +-- +2.11.1 + Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-02-05 12:55:08 UTC (rev 288078) +++ PKGBUILD 2017-02-05 13:22:26 UTC (rev 288079) @@ -4,7 +4,7 @@ pkgname=rhythmbox pkgver=3.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="Music playback and management application" arch=(i686 x86_64) license=(GPL) @@ -12,7 +12,7 @@ depends=(dconf gst-plugins-base gst-plugins-good libsoup json-glib libnotify libpeas media-player-info totem-plparser tdb python-gobject libgudev grilo) makedepends=(itstool intltool brasero gobject-introspection vala grilo libdmapsharing lirc libgpod - libmtp gtk-doc clutter-gst2 clutter-gtk mx) + libmtp gtk-doc clutter-gst clutter-gtk mx yelp-tools git) checkdepends=(check xorg-server-xvfb) optdepends=('gst-plugins-ugly: Extra media codecs' 'gst-plugins-bad: Extra media codecs' @@ -25,18 +25,28 @@ 'libmtp: Portable Players - MTP plugin' 'gvfs-mtp: Portable Players - Android plugin' 'mx: Visualiser plugin' - 'clutter-gtk: Visualiser plugin') + 'clutter-gtk: Visualiser plugin' + 'clutter-gst: Visualiser plugin') options=('!emptydirs') -source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) -sha256sums=('039f86661cba495f9429df6572fa79e68279635809e52fa0d19f57e8db8341b6') +_commit=7f3624b6b4902932dc9df87ac55f5c71651260f7 # tags/v3.4.1^0 +source=("git+https://git.gnome.org/browse/rhythmbox#commit=$_commit" + 0001-Port-to-clutter-gst-3.0.patch) +sha256sums=('SKIP' + '996e654effda4f1d081377c837d600fdca6b97319e7f4f55f0307d046aab6a59') +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} + prepare() { - cd $pkgname-$pkgver + cd $pkgname + patch -Np1 -i ../0001-Port-to-clutter-gst-3.0.patch NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname-$pkgver + cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/rhythmbox \ --localstatedir=/var --disable-static \ @@ -50,7 +60,7 @@ } check() { - cd $pkgname-$pkgver + cd $pkgname glib-compile-schemas --targetdir=tests --schema-file=data/org.gnome.rhythmbox.gschema.xml GSETTINGS_BACKEND=memory \ GSETTINGS_SCHEMA_DIR="$PWD/tests" \ @@ -59,7 +69,7 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install rm -r "$pkgdir/usr/lib/rhythmbox/sample-plugins" rm -r "$pkgdir/usr/lib/rhythmbox/plugins/rbzeitgeist"
