[arch-commits] Commit in (5 files)

Maxime Gauduin alucryd at archlinux.org
Sat Apr 11 20:02:22 UTC 2015


    Date: Saturday, April 11, 2015 @ 22:02:22
  Author: alucryd
Revision: 131175

Add pantheon-files

Added:
  pantheon-files/
  pantheon-files/trunk/
  pantheon-files/trunk/PKGBUILD
  pantheon-files/trunk/pantheon-files.install
Deleted:
  musescore/trunk/mscore-paths.patch

---------------------------------------------+
 musescore/trunk/mscore-paths.patch          |   61 --------------------------
 pantheon-files/trunk/PKGBUILD               |   42 +++++++++++++++++
 pantheon-files/trunk/pantheon-files.install |   15 ++++++
 3 files changed, 57 insertions(+), 61 deletions(-)

Deleted: musescore/trunk/mscore-paths.patch
===================================================================
--- musescore/trunk/mscore-paths.patch	2015-04-11 18:55:32 UTC (rev 131174)
+++ musescore/trunk/mscore-paths.patch	2015-04-11 20:02:22 UTC (rev 131175)
@@ -1,61 +0,0 @@
---- a/mscore/CMakeLists.txt
-+++ b/mscore/CMakeLists.txt
-@@ -32,7 +32,7 @@ set(GCC_VISIBILITY TRUE)
- set(HAS_AUDIOFILE TRUE)                   # requires libsndfile
- set(OSC           TRUE)                   # osc remote control
- 
--set(BUILD_SCRIPTGEN TRUE)                 #Generate Qt script bindings. (collides with qtscriptgenerator project on several distrib)
-+set(BUILD_SCRIPTGEN FALSE)                 #Generate Qt script bindings. (collides with qtscriptgenerator project on several distrib)
- set(STATIC_SCRIPT_BINDINGS FALSE)
- set(USE_SSE FALSE)
- 
-@@ -421,14 +421,14 @@ include (CPack)
- 
- add_custom_target(lupdate
-    COMMAND ${PROJECT_SOURCE_DIR}/gen-qt-projectfile ${PROJECT_SOURCE_DIR} > mscore.pro
--   COMMAND lupdate -noobsolete ${PROJECT_BINARY_DIR}/mscore.pro
-+   COMMAND lupdate-qt4 -noobsolete ${PROJECT_BINARY_DIR}/mscore.pro
-    WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
-    )
- 
- add_custom_target(lrelease
-    COMMAND ${PROJECT_SOURCE_DIR}/gen-qt-projectfile ${PROJECT_SOURCE_DIR} > mscore.pro
--   COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/locale/*.ts
--   COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts
-+   COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/locale/*.ts
-+   COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts
-    WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
-    )
- 
---- a/mscore/mscore/genft.cpp
-+++ b/mscore/mscore/genft.cpp
-@@ -27,7 +27,7 @@
- 
- #include <ft2build.h>
- #include FT_FREETYPE_H
--#include <freetype/tttables.h>
-+#include <freetype2/tttables.h>
- #include "al/xml.h"
- 
- QMap<int, int> codemap;
---- a/mscore/mscore/mscore.cpp
-+++ b/mscore/mscore/mscore.cpp
-@@ -919,15 +919,15 @@
-       if (debugMode)
-             printf("open handbook for language <%s>\n", qPrintable(lang));
-
--      QFileInfo mscoreHelp(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf"));
-+      QFileInfo mscoreHelp(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf"));
-       if (!mscoreHelp.isReadable()) {
-             if (debugMode) {
-                   printf("cannot open doc <%s>\n", qPrintable(mscoreHelp.filePath()));
-                   }
-             lang = lang.left(2);
--            mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf"));
-+            mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf"));
-             if(!mscoreHelp.isReadable()){
--                mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-en.pdf"));
-+                mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-en.pdf"));
-                 if (!mscoreHelp.isReadable()) {
-                       QString info(tr("MuseScore handbook not found at: \n"));
-                       info += mscoreHelp.filePath();

Added: pantheon-files/trunk/PKGBUILD
===================================================================
--- pantheon-files/trunk/PKGBUILD	                        (rev 0)
+++ pantheon-files/trunk/PKGBUILD	2015-04-11 20:02:22 UTC (rev 131175)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=pantheon-files
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='The Pantheon File Manager'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/pantheon-files'
+license=('GPL3')
+depends=('desktop-file-utils' 'gconf' 'granite' 'libnotify' 'zeitgeist')
+makedepends=('cmake' 'gnome-common' 'sqlite3' 'vala')
+optdepends=('contractor-bzr: Various context menu entries'
+            'pantheon-files-plugin-dropbox-bzr: Dropbox integration'
+            'tumbler: Thumbnails generation')
+install='pantheon-files.install'
+source=("https://launchpad.net/pantheon-files/freya/${pkgver%.*}/+download/pantheon-files-${pkgver}.tgz")
+sha256sums=('17ab6239ce512fedecc4cff7fcb0465f925845ef17e8cc9e910001358bb9d8aa')
+
+build() {
+  cd pantheon-files-${pkgver}
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE='Release' \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
+    -DCMAKE_SKIP_RPATH='TRUE' \
+    -DGSETTINGS_COMPILE='FALSE'
+  make
+}
+
+package() {
+  cd pantheon-files-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: pantheon-files/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: pantheon-files/trunk/pantheon-files.install
===================================================================
--- pantheon-files/trunk/pantheon-files.install	                        (rev 0)
+++ pantheon-files/trunk/pantheon-files.install	2015-04-11 20:02:22 UTC (rev 131175)
@@ -0,0 +1,15 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  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:



More information about the arch-commits mailing list