[arch-commits] Commit in (8 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Thu Oct 24 13:12:37 UTC 2013
Date: Thursday, October 24, 2013 @ 15:12:37
Author: alucryd
Revision: 99109
Add granite and noise
Added:
granite/
granite/trunk/
granite/trunk/PKGBUILD
granite/trunk/granite.install
noise/
noise/trunk/
noise/trunk/PKGBUILD
noise/trunk/noise.install
-------------------------------+
granite/trunk/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
granite/trunk/granite.install | 13 +++++++++++++
noise/trunk/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
noise/trunk/noise.install | 17 +++++++++++++++++
4 files changed, 106 insertions(+)
Added: granite/trunk/PKGBUILD
===================================================================
--- granite/trunk/PKGBUILD (rev 0)
+++ granite/trunk/PKGBUILD 2013-10-24 13:12:37 UTC (rev 99109)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo dot co dot uk>
+
+pkgname=granite
+pkgver=0.2.2
+pkgrel=3
+pkgdesc="An extension of GTK+ libraries"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/granite"
+license=('LGPL3')
+depends=('gtk3' 'libgee06')
+makedepends=('cmake' 'gobject-introspection' 'vala')
+install="${pkgname}.install"
+source=("https://launchpad.net/${pkgname}/${pkgver%\.?}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('341f94cd8c2af60fc072fb8602e1406bccd77189aad76424b172c3ce08c173cc')
+
+build() {
+ cd ${pkgname}-${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 ${pkgname}-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: granite/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: granite/trunk/granite.install
===================================================================
--- granite/trunk/granite.install (rev 0)
+++ granite/trunk/granite.install 2013-10-24 13:12:37 UTC (rev 99109)
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Added: noise/trunk/PKGBUILD
===================================================================
--- noise/trunk/PKGBUILD (rev 0)
+++ noise/trunk/PKGBUILD 2013-10-24 13:12:37 UTC (rev 99109)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
+
+pkgname=noise
+pkgver=0.2.4
+pkgrel=2
+pkgdesc="Simple, fast, and good looking music player"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/noise"
+license=('GPL3')
+depends=('desktop-file-utils' 'granite' 'gstreamer0.10-base' 'json-glib' 'libgpod' 'libnotify' 'libpeas' 'libsoup' 'sqlheavy' 'taglib')
+makedepends=('cmake' 'vala')
+optdepends=('elementary-icon-theme: Missing UI icons'
+ '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')
+install="${pkgname}.install"
+source=("https://launchpad.net/${pkgname}/${pkgver%.?}/${pkgver}/+download/${pkgname}-${pkgver}.tgz")
+sha256sums=('ffcd5f2cba112af13707a7ba7f0ceace7b812d4b6082671684ff78d76fc1d8a9')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -DGSETTINGS_COMPILE='OFF'
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: noise/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: noise/trunk/noise.install
===================================================================
--- noise/trunk/noise.install (rev 0)
+++ noise/trunk/noise.install 2013-10-24 13:12:37 UTC (rev 99109)
@@ -0,0 +1,17 @@
+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