[arch-commits] Commit in kscreen/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Tue Jan 27 14:06:09 UTC 2015
Date: Tuesday, January 27, 2015 @ 15:06:09
Author: andrea
Revision: 126644
archrelease: copy trunk to community-i686, community-x86_64
Added:
kscreen/repos/community-i686/
kscreen/repos/community-i686/PKGBUILD
(from rev 126643, kscreen/trunk/PKGBUILD)
kscreen/repos/community-i686/kscreen.install
(from rev 126643, kscreen/trunk/kscreen.install)
kscreen/repos/community-x86_64/
kscreen/repos/community-x86_64/PKGBUILD
(from rev 126643, kscreen/trunk/PKGBUILD)
kscreen/repos/community-x86_64/kscreen.install
(from rev 126643, kscreen/trunk/kscreen.install)
----------------------------------+
community-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-i686/kscreen.install | 16 ++++++++++++++++
community-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-x86_64/kscreen.install | 16 ++++++++++++++++
4 files changed, 100 insertions(+)
Copied: kscreen/repos/community-i686/PKGBUILD (from rev 126643, kscreen/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-01-27 14:06:09 UTC (rev 126644)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: birdflesh <antkoul at gmail dot com>
+
+pkgname=kscreen
+pkgver=1.0.2.1
+pkgrel=2
+pkgdesc="KDE's screen management software"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/kscreen'
+license=('GPL' 'LGPL')
+depends=('kdebase-runtime' 'libkscreen')
+makedepends=('cmake' 'automoc4')
+install=$pkgname.install
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+md5sums=('cd3d6ffdb0e44c418c2804fc72b8391b')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kscreen/repos/community-i686/kscreen.install (from rev 126643, kscreen/trunk/kscreen.install)
===================================================================
--- community-i686/kscreen.install (rev 0)
+++ community-i686/kscreen.install 2015-01-27 14:06:09 UTC (rev 126644)
@@ -0,0 +1,16 @@
+post_install() {
+ printf "==> To enable KSceen, run in a terminal:\n"
+ printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.unloadModule randrmonitor\n"
+ printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false\n"
+ printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.loadModule kscreen\n"
+
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
Copied: kscreen/repos/community-x86_64/PKGBUILD (from rev 126643, kscreen/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-01-27 14:06:09 UTC (rev 126644)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: birdflesh <antkoul at gmail dot com>
+
+pkgname=kscreen
+pkgver=1.0.2.1
+pkgrel=2
+pkgdesc="KDE's screen management software"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/kscreen'
+license=('GPL' 'LGPL')
+depends=('kdebase-runtime' 'libkscreen')
+makedepends=('cmake' 'automoc4')
+install=$pkgname.install
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+md5sums=('cd3d6ffdb0e44c418c2804fc72b8391b')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kscreen/repos/community-x86_64/kscreen.install (from rev 126643, kscreen/trunk/kscreen.install)
===================================================================
--- community-x86_64/kscreen.install (rev 0)
+++ community-x86_64/kscreen.install 2015-01-27 14:06:09 UTC (rev 126644)
@@ -0,0 +1,16 @@
+post_install() {
+ printf "==> To enable KSceen, run in a terminal:\n"
+ printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.unloadModule randrmonitor\n"
+ printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false\n"
+ printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.loadModule kscreen\n"
+
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
More information about the arch-commits
mailing list