[arch-commits] Commit in (5 files)

Maxime Gauduin alucryd at archlinux.org
Tue Aug 8 21:39:28 UTC 2017


    Date: Tuesday, August 8, 2017 @ 21:39:28
  Author: alucryd
Revision: 249631

Add pantheon-music

Added:
  pantheon-music/
  pantheon-music/trunk/
  pantheon-music/trunk/PKGBUILD
  pantheon-music/trunk/mesa-demos-conflict.patch
  pantheon-music/trunk/pantheon-music-install-dirs.patch

-----------------------------------+
 PKGBUILD                          |   59 ++++++++++++++++++++++++++++++++++++
 mesa-demos-conflict.patch         |   31 ++++++++++++++++++
 pantheon-music-install-dirs.patch |   42 +++++++++++++++++++++++++
 3 files changed, 132 insertions(+)

Added: pantheon-music/trunk/PKGBUILD
===================================================================
--- pantheon-music/trunk/PKGBUILD	                        (rev 0)
+++ pantheon-music/trunk/PKGBUILD	2017-08-08 21:39:28 UTC (rev 249631)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
+
+pkgname=pantheon-music
+pkgver=0.4.1
+pkgrel=1
+pkgdesc='The Pantheon Music Player'
+arch=('i686' 'x86_64')
+url='https://github.com/elementary/music'
+license=('GPL3')
+groups=('pantheon')
+depends=('cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gst-plugins-base-libs'
+         'gstreamer' 'gtk3' 'json-glib' 'libaccounts-glib' 'libgda' 'libgee'
+         'libgpod' 'libgsignon-glib' 'libpeas' 'libsoup' 'pango' 'taglib'
+         'zeitgeist'
+         'libgranite.so')
+makedepends=('cmake' 'gobject-introspection' 'intltool' 'vala')
+optdepends=('gst-plugins-base: "Base" plugin libraries'
+            'gst-plugins-good: "Good" plugin libraries'
+            'gst-plugins-bad: "Bad" plugin libraries'
+            'gst-plugins-ugly: "Ugly" plugin libraries')
+replaces=('noise-player')
+provides=('noise-player')
+conflicts=('noise-player')
+source=("pantheon-music-${pkgver}.tar.gz::https://github.com/elementary/music/archive/${pkgver}.tar.gz"
+        'mesa-demos-conflict.patch'
+        'pantheon-music-install-dirs.patch')
+sha256sums=('cd7020b8ee3bb878ff1686a86a808b06ea51f08132152c3e27b10998e8b16f77'
+            '9135fe677b0d61778a624ba211b545eb861468b500cfd161469aa28139ab1296'
+            'd0ebc710a742d942e04a8df61d91dd75ae4b2aeafe7fece08f1fbc90c507f1df')
+
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+
+  cd music-${pkgver}
+
+  patch -Np1 -i ../mesa-demos-conflict.patch
+  patch -Np1 -i ../pantheon-music-install-dirs.patch
+}
+
+build() {
+  cd build
+
+  cmake ../music-${pkgver} \
+    -DCMAKE_BUILD_TYPE='Release' \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
+    -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+    -DGSETTINGS_COMPILE='OFF'
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C build install
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: pantheon-music/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: pantheon-music/trunk/mesa-demos-conflict.patch
===================================================================
--- pantheon-music/trunk/mesa-demos-conflict.patch	                        (rev 0)
+++ pantheon-music/trunk/mesa-demos-conflict.patch	2017-08-08 21:39:28 UTC (rev 249631)
@@ -0,0 +1,31 @@
+diff -rupN noise-0.4.orig/data/org.pantheon.noise.desktop.in.in noise-0.4/data/org.pantheon.noise.desktop.in.in
+--- noise-0.4.orig/data/org.pantheon.noise.desktop.in.in	2016-08-12 12:42:36.415710999 +0200
++++ noise-0.4/data/org.pantheon.noise.desktop.in.in	2016-08-12 12:46:39.418412632 +0200
+@@ -3,7 +3,7 @@ Type=Application
+ _Name=@APP_NAME@
+ _GenericName=Music Player
+ _Comment=Listen to music
+-Exec=noise %U
++Exec=pantheon-music %U
+ Icon=multimedia-audio-player
+ Terminal=false
+ Categories=Audio;Music;Player;AudioVideo;GNOME;GTK;
+@@ -15,5 +15,5 @@ X-PulseAudio-Properties=media.role=music
+ Actions=AboutDialog;
+ 
+ [Desktop Action AboutDialog]
+-Exec=noise --about
++Exec=pantheon-music --about
+ _Name=About @APP_NAME@
+diff -rupN noise-0.4.orig/src/CMakeLists.txt noise-0.4/src/CMakeLists.txt
+--- noise-0.4.orig/src/CMakeLists.txt	2016-08-12 12:42:36.425710687 +0200
++++ noise-0.4/src/CMakeLists.txt	2016-08-12 12:45:25.250582352 +0200
+@@ -88,7 +88,7 @@ vala_precompile (CLIENT_VALA_C ${SRC_TAR
+   ${CLIENT_VAPI}
+ )
+ 
+-set (EXEC_NAME ${SRC_TARGET})
++set (EXEC_NAME pantheon-music)
+ 
+ add_definitions (${DEPS_CFLAGS})
+ link_directories (${DEPS_LIBRARY_DIRS})

Added: pantheon-music/trunk/pantheon-music-install-dirs.patch
===================================================================
--- pantheon-music/trunk/pantheon-music-install-dirs.patch	                        (rev 0)
+++ pantheon-music/trunk/pantheon-music-install-dirs.patch	2017-08-08 21:39:28 UTC (rev 249631)
@@ -0,0 +1,42 @@
+diff -rupN noise-0.3.1.orig/CMakeLists.txt noise-0.3.1/CMakeLists.txt
+--- noise-0.3.1.orig/CMakeLists.txt	2015-08-30 14:03:02.563699740 +0200
++++ noise-0.3.1/CMakeLists.txt	2015-08-30 14:05:57.528197582 +0200
+@@ -13,11 +13,10 @@ set (VERSION "0.3.1")
+ set (VERSION_INFO "Stable Release")
+ 
+ include (GNUInstallDirs)
+-set (DATADIR ${CMAKE_INSTALL_PREFIX}/share)
++set (DATADIR ${CMAKE_INSTALL_FULL_DATADIR})
+ set (PKG_DATADIR ${DATADIR}/${CMAKE_PROJECT_NAME})
+ set (ICON_DIR ${DATADIR}/${CMAKE_PROJECT_NAME}/icons)
+-set (PLUGIN_DIR_UNPREFIXED ${CMAKE_INSTALL_LIBDIR}/${CMAKE_PROJECT_NAME}/plugins)
+-set (PLUGIN_DIR ${CMAKE_INSTALL_PREFIX}/${PLUGIN_DIR_UNPREFIXED})
++set (PLUGIN_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/${CMAKE_PROJECT_NAME}/plugins)
+ 
+ add_definitions ("-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"")
+ 
+diff -rupN noise-0.3.1.orig/core/noise-core.pc.cmake noise-0.3.1/core/noise-core.pc.cmake
+--- noise-0.3.1.orig/core/noise-core.pc.cmake	2015-08-30 14:03:02.563699740 +0200
++++ noise-0.3.1/core/noise-core.pc.cmake	2015-08-30 14:03:14.083336997 +0200
+@@ -1,12 +1,12 @@
+ prefix=@PREFIX@
+-exec_prefix=@DOLLAR@{prefix}
+-libdir=@DOLLAR@{prefix}/@CMAKE_INSTALL_LIBDIR@
+-includedir=@DOLLAR@{prefix}/@CMAKE_INSTALL_INCLUDEDIR@/
+-plugindir=@DOLLAR@{prefix}/@PLUGIN_DIR_UNPREFIXED@
+- 
++exec_prefix=@PREFIX@
++libdir=@CMAKE_INSTALL_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
++plugindir=@PLUGIN_DIR@
++
+ Name: Noise
+-Description: Noise headers  
+-Version: @VERSION@  
++Description: Noise headers
++Version: @VERSION@
+ Libs: -lnoise-core
+ Cflags: -I at DOLLAR@{includedir}/noise-core
+-Requires: glib-2.0 gio-2.0 gee-0.8 libpeas-1.0 libpeas-gtk-1.0 gtk+-3.0 granite gstreamer-1.0 gstreamer-pbutils-1.0 gstreamer-tag-1.0
+\ No newline at end of file
++Requires: glib-2.0 gio-2.0 gee-0.8 libpeas-1.0 libpeas-gtk-1.0 gtk+-3.0 granite gstreamer-1.0 gstreamer-pbutils-1.0 gstreamer-tag-1.0



More information about the arch-commits mailing list