[arch-commits] Commit in clementine/repos (8 files)

Maxime Gauduin alucryd at archlinux.org
Sun Oct 5 09:36:44 UTC 2014


    Date: Sunday, October 5, 2014 @ 11:36:43
  Author: alucryd
Revision: 120148

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clementine/repos/community-staging-i686/
  clementine/repos/community-staging-i686/PKGBUILD
    (from rev 120147, clementine/trunk/PKGBUILD)
  clementine/repos/community-staging-i686/clementine.install
    (from rev 120147, clementine/trunk/clementine.install)
  clementine/repos/community-staging-i686/udisks-namespace.patch
    (from rev 120147, clementine/trunk/udisks-namespace.patch)
  clementine/repos/community-staging-x86_64/
  clementine/repos/community-staging-x86_64/PKGBUILD
    (from rev 120147, clementine/trunk/PKGBUILD)
  clementine/repos/community-staging-x86_64/clementine.install
    (from rev 120147, clementine/trunk/clementine.install)
  clementine/repos/community-staging-x86_64/udisks-namespace.patch
    (from rev 120147, clementine/trunk/udisks-namespace.patch)

-------------------------------------------------+
 community-staging-i686/PKGBUILD                 |   51 ++++++++++++++++++++++
 community-staging-i686/clementine.install       |   15 ++++++
 community-staging-i686/udisks-namespace.patch   |   38 ++++++++++++++++
 community-staging-x86_64/PKGBUILD               |   51 ++++++++++++++++++++++
 community-staging-x86_64/clementine.install     |   15 ++++++
 community-staging-x86_64/udisks-namespace.patch |   38 ++++++++++++++++
 6 files changed, 208 insertions(+)

Copied: clementine/repos/community-staging-i686/PKGBUILD (from rev 120147, clementine/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-10-05 09:36:43 UTC (rev 120148)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: BlackEagle <ike.devolder at gmail.com>
+# Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
+
+pkgname=clementine
+pkgver=1.2.3
+pkgrel=3
+pkgdesc='A modern music player and library organizer'
+url='http://www.clementine-player.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('chromaprint' 'glew' 'gstreamer0.10-base' 'libcdio' 'libgpod' 'liblastfm' 'libmtp' 'libmygpo-qt' 'protobuf' 'qca-ossl' 'taglib')
+makedepends=('cmake' 'boost' 'mesa' 'sparsehash')
+optdepends=('gstreamer0.10-base-plugins: "Base" plugin libraries'
+            'gstreamer0.10-good-plugins: "Good" plugin libraries'
+            'gstreamer0.10-bad-plugins: "Bad" plugin libraries'
+            'gstreamer0.10-ugly-plugins: "Ugly" plugin libraries'
+            'gvfs: Various devices support')
+install='clementine.install'
+source=("clementine-${pkgver}.tar.gz::https://github.com/clementine-player/Clementine/archive/${pkgver}.tar.gz"
+        'udisks-namespace.patch')
+sha256sums=('7df5650445a005c09f5f0e1a1b0d077037c37ecbe4ee77baf9d45f121308a1bf'
+            'a7c2764576cee303a57e4efe6a5dbd583a66de8a15aee738bd92d4bb21786008')
+
+prepare() {
+  cd Clementine-${pkgver}
+
+  patch -Np1 -i ../udisks-namespace.patch
+}
+
+build() {
+  cd Clementine-${pkgver}
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build && cd build
+
+  cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release'
+  make
+}
+
+package() {
+  cd Clementine-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Copied: clementine/repos/community-staging-i686/clementine.install (from rev 120147, clementine/trunk/clementine.install)
===================================================================
--- community-staging-i686/clementine.install	                        (rev 0)
+++ community-staging-i686/clementine.install	2014-10-05 09:36:43 UTC (rev 120148)
@@ -0,0 +1,15 @@
+post_install() {
+  gtk-update-icon-cache -ftq usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+
+post_remove() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:

Copied: clementine/repos/community-staging-i686/udisks-namespace.patch (from rev 120147, clementine/trunk/udisks-namespace.patch)
===================================================================
--- community-staging-i686/udisks-namespace.patch	                        (rev 0)
+++ community-staging-i686/udisks-namespace.patch	2014-10-05 09:36:43 UTC (rev 120148)
@@ -0,0 +1,38 @@
+From ec580cb815c16ec1ab43a469d5af7d51d8d03082 Mon Sep 17 00:00:00 2001
+From: Chocobozzz <florian.chocobo at gmail.com>
+Date: Wed, 16 Jul 2014 15:57:25 +0200
+Subject: [PATCH] No namespaces for DBus interfaces. Fixes #4401
+
+---
+ src/CMakeLists.txt | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 650fa74..775b0a5 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -892,11 +892,6 @@ optional_source(LINUX SOURCES widgets/osd_x11.cpp)
+ if(HAVE_DBUS)
+   file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/dbus)
+ 
+-  # Hack to get it to generate interfaces without namespaces - required
+-  # because otherwise org::freedesktop::UDisks and
+-  # org::freedesktop::UDisks::Device conflict.
+-  list(APPEND QT_DBUSXML2CPP_EXECUTABLE -N)
+-
+   # MPRIS DBUS interfaces
+   qt4_add_dbus_adaptor(SOURCES
+       dbus/org.freedesktop.MediaPlayer.player.xml
+@@ -964,6 +959,10 @@ if(HAVE_DBUS)
+ 
+   # DeviceKit DBUS interfaces
+   if(HAVE_DEVICEKIT)
++    set_source_files_properties(dbus/org.freedesktop.UDisks.xml
++        PROPERTIES NO_NAMESPACE dbus/udisks)
++    set_source_files_properties(dbus/org.freedesktop.UDisks.Device.xml
++        PROPERTIES NO_NAMESPACE dbus/udisksdevice)
+     qt4_add_dbus_interface(SOURCES
+         dbus/org.freedesktop.UDisks.xml
+         dbus/udisks)
+-- 
+2.0.3

Copied: clementine/repos/community-staging-x86_64/PKGBUILD (from rev 120147, clementine/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-10-05 09:36:43 UTC (rev 120148)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: BlackEagle <ike.devolder at gmail.com>
+# Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
+
+pkgname=clementine
+pkgver=1.2.3
+pkgrel=3
+pkgdesc='A modern music player and library organizer'
+url='http://www.clementine-player.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('chromaprint' 'glew' 'gstreamer0.10-base' 'libcdio' 'libgpod' 'liblastfm' 'libmtp' 'libmygpo-qt' 'protobuf' 'qca-ossl' 'taglib')
+makedepends=('cmake' 'boost' 'mesa' 'sparsehash')
+optdepends=('gstreamer0.10-base-plugins: "Base" plugin libraries'
+            'gstreamer0.10-good-plugins: "Good" plugin libraries'
+            'gstreamer0.10-bad-plugins: "Bad" plugin libraries'
+            'gstreamer0.10-ugly-plugins: "Ugly" plugin libraries'
+            'gvfs: Various devices support')
+install='clementine.install'
+source=("clementine-${pkgver}.tar.gz::https://github.com/clementine-player/Clementine/archive/${pkgver}.tar.gz"
+        'udisks-namespace.patch')
+sha256sums=('7df5650445a005c09f5f0e1a1b0d077037c37ecbe4ee77baf9d45f121308a1bf'
+            'a7c2764576cee303a57e4efe6a5dbd583a66de8a15aee738bd92d4bb21786008')
+
+prepare() {
+  cd Clementine-${pkgver}
+
+  patch -Np1 -i ../udisks-namespace.patch
+}
+
+build() {
+  cd Clementine-${pkgver}
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build && cd build
+
+  cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release'
+  make
+}
+
+package() {
+  cd Clementine-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Copied: clementine/repos/community-staging-x86_64/clementine.install (from rev 120147, clementine/trunk/clementine.install)
===================================================================
--- community-staging-x86_64/clementine.install	                        (rev 0)
+++ community-staging-x86_64/clementine.install	2014-10-05 09:36:43 UTC (rev 120148)
@@ -0,0 +1,15 @@
+post_install() {
+  gtk-update-icon-cache -ftq usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+
+post_remove() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:

Copied: clementine/repos/community-staging-x86_64/udisks-namespace.patch (from rev 120147, clementine/trunk/udisks-namespace.patch)
===================================================================
--- community-staging-x86_64/udisks-namespace.patch	                        (rev 0)
+++ community-staging-x86_64/udisks-namespace.patch	2014-10-05 09:36:43 UTC (rev 120148)
@@ -0,0 +1,38 @@
+From ec580cb815c16ec1ab43a469d5af7d51d8d03082 Mon Sep 17 00:00:00 2001
+From: Chocobozzz <florian.chocobo at gmail.com>
+Date: Wed, 16 Jul 2014 15:57:25 +0200
+Subject: [PATCH] No namespaces for DBus interfaces. Fixes #4401
+
+---
+ src/CMakeLists.txt | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 650fa74..775b0a5 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -892,11 +892,6 @@ optional_source(LINUX SOURCES widgets/osd_x11.cpp)
+ if(HAVE_DBUS)
+   file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/dbus)
+ 
+-  # Hack to get it to generate interfaces without namespaces - required
+-  # because otherwise org::freedesktop::UDisks and
+-  # org::freedesktop::UDisks::Device conflict.
+-  list(APPEND QT_DBUSXML2CPP_EXECUTABLE -N)
+-
+   # MPRIS DBUS interfaces
+   qt4_add_dbus_adaptor(SOURCES
+       dbus/org.freedesktop.MediaPlayer.player.xml
+@@ -964,6 +959,10 @@ if(HAVE_DBUS)
+ 
+   # DeviceKit DBUS interfaces
+   if(HAVE_DEVICEKIT)
++    set_source_files_properties(dbus/org.freedesktop.UDisks.xml
++        PROPERTIES NO_NAMESPACE dbus/udisks)
++    set_source_files_properties(dbus/org.freedesktop.UDisks.Device.xml
++        PROPERTIES NO_NAMESPACE dbus/udisksdevice)
+     qt4_add_dbus_interface(SOURCES
+         dbus/org.freedesktop.UDisks.xml
+         dbus/udisks)
+-- 
+2.0.3



More information about the arch-commits mailing list