[arch-commits] Commit in kwayland/repos (6 files)
Felix Yan
fyan at archlinux.org
Thu Jan 22 17:03:59 UTC 2015
Date: Thursday, January 22, 2015 @ 18:03:59
Author: fyan
Revision: 229645
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kwayland/repos/testing-i686/
kwayland/repos/testing-i686/PKGBUILD
(from rev 229644, kwayland/trunk/PKGBUILD)
kwayland/repos/testing-i686/install-server.patch
(from rev 229644, kwayland/trunk/install-server.patch)
kwayland/repos/testing-x86_64/
kwayland/repos/testing-x86_64/PKGBUILD
(from rev 229644, kwayland/trunk/PKGBUILD)
kwayland/repos/testing-x86_64/install-server.patch
(from rev 229644, kwayland/trunk/install-server.patch)
-------------------------------------+
testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++
testing-i686/install-server.patch | 47 ++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++
testing-x86_64/install-server.patch | 47 ++++++++++++++++++++++++++++++++++
4 files changed, 174 insertions(+)
Copied: kwayland/repos/testing-i686/PKGBUILD (from rev 229644, kwayland/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-01-22 17:03:59 UTC (rev 229645)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas
+
+pkgname=kwayland
+pkgver=5.1.2
+pkgrel=2
+pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('LGPL')
+depends=('qt5-base')
+makedepends=('extra-cmake-modules')
+source=("http://download.kde.org/stable/plasma/${pkgver}/kwayland-$pkgver.tar.xz"
+ install-server.patch)
+md5sums=('49a5563621a4d6bd6bfd670903ea34bb'
+ 'a2d79a0467a0ca8a208753f88f927511')
+
+prepare() {
+ mkdir -p build
+
+ cd ${pkgname}-${pkgver}
+ echo "" >> src/server/CMakeLists.txt
+ patch -R -p1 -i ../install-server.patch
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kwayland/repos/testing-i686/install-server.patch (from rev 229644, kwayland/trunk/install-server.patch)
===================================================================
--- testing-i686/install-server.patch (rev 0)
+++ testing-i686/install-server.patch 2015-01-22 17:03:59 UTC (rev 229645)
@@ -0,0 +1,47 @@
+From: Martin Gräßlin <mgraesslin at kde.org>
+Date: Fri, 19 Sep 2014 07:46:55 +0000
+Subject: Do not install Server library
+X-Git-Tag: v5.0.95
+X-Git-Url: http://quickgit.kde.org/?p=kwayland.git&a=commitdiff&h=789c6729532d83e7677543e04230d9bf6e74d84f
+---
+Do not install Server library
+
+It's not yet used by KWin, so we don't need to expose it yet.
+This gives us more time to fine tune the API.
+---
+
+
+--- a/src/server/CMakeLists.txt
++++ b/src/server/CMakeLists.txt
+@@ -30,17 +30,17 @@
+ EXPORT_NAME WaylandServer
+ )
+
+-install(TARGETS KF5WaylandServer EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
++# install(TARGETS KF5WaylandServer EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
++#
++# install(FILES
++# ${CMAKE_CURRENT_BINARY_DIR}/kwaylandserver_export.h
++# buffer_interface.h
++# compositor_interface.h
++# display.h
++# output_interface.h
++# seat_interface.h
++# shell_interface.h
++# surface_interface.h
++# DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel
++# )
+
+-install(FILES
+- ${CMAKE_CURRENT_BINARY_DIR}/kwaylandserver_export.h
+- buffer_interface.h
+- compositor_interface.h
+- display.h
+- output_interface.h
+- seat_interface.h
+- shell_interface.h
+- surface_interface.h
+- DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel
+-)
+-
+
Copied: kwayland/repos/testing-x86_64/PKGBUILD (from rev 229644, kwayland/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-01-22 17:03:59 UTC (rev 229645)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas
+
+pkgname=kwayland
+pkgver=5.1.2
+pkgrel=2
+pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('LGPL')
+depends=('qt5-base')
+makedepends=('extra-cmake-modules')
+source=("http://download.kde.org/stable/plasma/${pkgver}/kwayland-$pkgver.tar.xz"
+ install-server.patch)
+md5sums=('49a5563621a4d6bd6bfd670903ea34bb'
+ 'a2d79a0467a0ca8a208753f88f927511')
+
+prepare() {
+ mkdir -p build
+
+ cd ${pkgname}-${pkgver}
+ echo "" >> src/server/CMakeLists.txt
+ patch -R -p1 -i ../install-server.patch
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kwayland/repos/testing-x86_64/install-server.patch (from rev 229644, kwayland/trunk/install-server.patch)
===================================================================
--- testing-x86_64/install-server.patch (rev 0)
+++ testing-x86_64/install-server.patch 2015-01-22 17:03:59 UTC (rev 229645)
@@ -0,0 +1,47 @@
+From: Martin Gräßlin <mgraesslin at kde.org>
+Date: Fri, 19 Sep 2014 07:46:55 +0000
+Subject: Do not install Server library
+X-Git-Tag: v5.0.95
+X-Git-Url: http://quickgit.kde.org/?p=kwayland.git&a=commitdiff&h=789c6729532d83e7677543e04230d9bf6e74d84f
+---
+Do not install Server library
+
+It's not yet used by KWin, so we don't need to expose it yet.
+This gives us more time to fine tune the API.
+---
+
+
+--- a/src/server/CMakeLists.txt
++++ b/src/server/CMakeLists.txt
+@@ -30,17 +30,17 @@
+ EXPORT_NAME WaylandServer
+ )
+
+-install(TARGETS KF5WaylandServer EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
++# install(TARGETS KF5WaylandServer EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
++#
++# install(FILES
++# ${CMAKE_CURRENT_BINARY_DIR}/kwaylandserver_export.h
++# buffer_interface.h
++# compositor_interface.h
++# display.h
++# output_interface.h
++# seat_interface.h
++# shell_interface.h
++# surface_interface.h
++# DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel
++# )
+
+-install(FILES
+- ${CMAKE_CURRENT_BINARY_DIR}/kwaylandserver_export.h
+- buffer_interface.h
+- compositor_interface.h
+- display.h
+- output_interface.h
+- seat_interface.h
+- shell_interface.h
+- surface_interface.h
+- DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel
+-)
+-
+
More information about the arch-commits
mailing list