[arch-commits] Commit in gluon/repos (8 files)
Felix Yan
fyan at archlinux.org
Thu Mar 10 13:00:54 UTC 2016
Date: Thursday, March 10, 2016 @ 14:00:53
Author: fyan
Revision: 165940
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
gluon/repos/community-staging-i686/
gluon/repos/community-staging-i686/PKGBUILD
(from rev 165939, gluon/trunk/PKGBUILD)
gluon/repos/community-staging-i686/gcc47.patch
(from rev 165939, gluon/trunk/gcc47.patch)
gluon/repos/community-staging-i686/gluon.install
(from rev 165939, gluon/trunk/gluon.install)
gluon/repos/community-staging-x86_64/
gluon/repos/community-staging-x86_64/PKGBUILD
(from rev 165939, gluon/trunk/PKGBUILD)
gluon/repos/community-staging-x86_64/gcc47.patch
(from rev 165939, gluon/trunk/gcc47.patch)
gluon/repos/community-staging-x86_64/gluon.install
(from rev 165939, gluon/trunk/gluon.install)
----------------------------------------+
community-staging-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++
community-staging-i686/gcc47.patch | 31 ++++++++++++++++++++++
community-staging-i686/gluon.install | 15 ++++++++++
community-staging-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++
community-staging-x86_64/gcc47.patch | 31 ++++++++++++++++++++++
community-staging-x86_64/gluon.install | 15 ++++++++++
6 files changed, 178 insertions(+)
Copied: gluon/repos/community-staging-i686/PKGBUILD (from rev 165939, gluon/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-10 13:00:53 UTC (rev 165940)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+
+pkgname=gluon
+pkgver=0.71.0
+_pkgver=0.71
+pkgrel=11
+pkgdesc="A free and open source platform for creating and distributing games"
+arch=('i686' 'x86_64')
+url="http://gluon.gamingfreedom.org/"
+license=('LGPL')
+depends=('kdelibs' 'libsndfile' 'alure')
+makedepends=('cmake' 'automoc4' 'mesa' 'kdevplatform')
+install=gluon.install
+source=("http://download.kde.org/unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz"
+ 'gcc47.patch')
+md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe'
+ '92adbf8b23f4af2a15a005b031c81c5f')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/gcc47.patch
+
+ cd "$srcdir"
+ mkdir build
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON
+ grep -rl "Qt4::moc"|xargs sed -i "s/Qt4::moc/moc-qt4/" # No idea what's up here but I can't be bothered to fix it properly
+ make
+}
+
+package() {
+ cd "$srcdir"/build
+ make DESTDIR="$pkgdir" install
+
+ if [[ "$CARCH" == "x86_64" ]]; then
+ mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib
+ fi
+}
Copied: gluon/repos/community-staging-i686/gcc47.patch (from rev 165939, gluon/trunk/gcc47.patch)
===================================================================
--- community-staging-i686/gcc47.patch (rev 0)
+++ community-staging-i686/gcc47.patch 2016-03-10 13:00:53 UTC (rev 165940)
@@ -0,0 +1,31 @@
+From: Christoph Feck <christoph at maxiom.de>
+Date: Fri, 23 Mar 2012 22:35:09 +0000
+Subject: Fix includes
+X-Git-Url: http://quickgit.kde.org/?p=gluon.git&a=commitdiff&h=bccbda88a6bc53ac20091bb6aefd2f1b501ba31a
+---
+Fix includes
+---
+
+
+--- a/input/linux/detectlinux.cpp
++++ b/input/linux/detectlinux.cpp
+@@ -26,6 +26,7 @@
+
+ #include <QtCore/QDir>
+
++#include <unistd.h>
+ // #include <libudev.h>
+
+ using namespace GluonInput;
+
+--- a/input/linux/inputthread.cpp
++++ b/input/linux/inputthread.cpp
+@@ -30,6 +30,7 @@
+ // #include <QtCore/QStringList>
+
+ #include <fcntl.h>
++#include <unistd.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <linux/input.h>
+
Copied: gluon/repos/community-staging-i686/gluon.install (from rev 165939, gluon/trunk/gluon.install)
===================================================================
--- community-staging-i686/gluon.install (rev 0)
+++ community-staging-i686/gluon.install 2016-03-10 13:00:53 UTC (rev 165940)
@@ -0,0 +1,15 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
Copied: gluon/repos/community-staging-x86_64/PKGBUILD (from rev 165939, gluon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-03-10 13:00:53 UTC (rev 165940)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+
+pkgname=gluon
+pkgver=0.71.0
+_pkgver=0.71
+pkgrel=11
+pkgdesc="A free and open source platform for creating and distributing games"
+arch=('i686' 'x86_64')
+url="http://gluon.gamingfreedom.org/"
+license=('LGPL')
+depends=('kdelibs' 'libsndfile' 'alure')
+makedepends=('cmake' 'automoc4' 'mesa' 'kdevplatform')
+install=gluon.install
+source=("http://download.kde.org/unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz"
+ 'gcc47.patch')
+md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe'
+ '92adbf8b23f4af2a15a005b031c81c5f')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/gcc47.patch
+
+ cd "$srcdir"
+ mkdir build
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON
+ grep -rl "Qt4::moc"|xargs sed -i "s/Qt4::moc/moc-qt4/" # No idea what's up here but I can't be bothered to fix it properly
+ make
+}
+
+package() {
+ cd "$srcdir"/build
+ make DESTDIR="$pkgdir" install
+
+ if [[ "$CARCH" == "x86_64" ]]; then
+ mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib
+ fi
+}
Copied: gluon/repos/community-staging-x86_64/gcc47.patch (from rev 165939, gluon/trunk/gcc47.patch)
===================================================================
--- community-staging-x86_64/gcc47.patch (rev 0)
+++ community-staging-x86_64/gcc47.patch 2016-03-10 13:00:53 UTC (rev 165940)
@@ -0,0 +1,31 @@
+From: Christoph Feck <christoph at maxiom.de>
+Date: Fri, 23 Mar 2012 22:35:09 +0000
+Subject: Fix includes
+X-Git-Url: http://quickgit.kde.org/?p=gluon.git&a=commitdiff&h=bccbda88a6bc53ac20091bb6aefd2f1b501ba31a
+---
+Fix includes
+---
+
+
+--- a/input/linux/detectlinux.cpp
++++ b/input/linux/detectlinux.cpp
+@@ -26,6 +26,7 @@
+
+ #include <QtCore/QDir>
+
++#include <unistd.h>
+ // #include <libudev.h>
+
+ using namespace GluonInput;
+
+--- a/input/linux/inputthread.cpp
++++ b/input/linux/inputthread.cpp
+@@ -30,6 +30,7 @@
+ // #include <QtCore/QStringList>
+
+ #include <fcntl.h>
++#include <unistd.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <linux/input.h>
+
Copied: gluon/repos/community-staging-x86_64/gluon.install (from rev 165939, gluon/trunk/gluon.install)
===================================================================
--- community-staging-x86_64/gluon.install (rev 0)
+++ community-staging-x86_64/gluon.install 2016-03-10 13:00:53 UTC (rev 165940)
@@ -0,0 +1,15 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
More information about the arch-commits
mailing list