diff options
author | Paul Labedan <plabedan@gmail.com> | 2013-03-05 10:09:34 +0100 |
---|---|---|
committer | Paul Labedan <plabedan@gmail.com> | 2013-03-05 10:32:15 +0100 |
commit | a3f4a9592517a002760900c94d115015a77a345f (patch) | |
tree | e532ad061b5b0d1c80f4cd4efc86b2fb41acaa9a /dev-libs/mir | |
parent | add kmscon (diff) | |
download | plab-a3f4a9592517a002760900c94d115015a77a345f.tar.gz plab-a3f4a9592517a002760900c94d115015a77a345f.tar.bz2 plab-a3f4a9592517a002760900c94d115015a77a345f.zip |
add mir display server
Diffstat (limited to 'dev-libs/mir')
-rw-r--r-- | dev-libs/mir/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/mir/files/use_default_gcc.patch | 23 | ||||
-rw-r--r-- | dev-libs/mir/mir-9999.ebuild | 40 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/mir/Manifest b/dev-libs/mir/Manifest new file mode 100644 index 0000000..05e7160 --- /dev/null +++ b/dev-libs/mir/Manifest @@ -0,0 +1,2 @@ +AUX use_default_gcc.patch 527 SHA256 25d992106df4c9181dc1ff2c47e115e7257b008da94f0eb1e9d84662c5760886 SHA512 19498c61f57a076b4e99fcdd0d98ae36854ccf4c887cff16f2bbe5cad703454a15851bae8a1a4971d865d09dbe5395d789432966458de50abc1de87be87db906 WHIRLPOOL 979fea2ef732c7557e1c13bd95d9ceaccba3d5391070cea06e7dd984c778657144473c5dc430e848ab486e363ae5f1605678c05da6fa387cbfa7915e20d9c471 +EBUILD mir-9999.ebuild 606 SHA256 136057307c2e8385ce73d7fa2c4bb0428c22e07fb7b79de9cf7a2778e3ca962f SHA512 a738b7bd56407d798c3675f456ea4cf76cf1002097017ff03b213b2dfeccf70d5c1fc6986604f3869c1dab95aa54b3f0f7f7769a9bfad6e475caea1dc99f61e5 WHIRLPOOL f44f55f312bf8ecf702f1d9158752020dbcdccb9493d66835ecabc7fa3d1c03cbf579337eb8365cbae30bf7a64e5adf4c18eec72d9b4f8970950cc1bbb7e520d diff --git a/dev-libs/mir/files/use_default_gcc.patch b/dev-libs/mir/files/use_default_gcc.patch new file mode 100644 index 0000000..967e413 --- /dev/null +++ b/dev-libs/mir/files/use_default_gcc.patch @@ -0,0 +1,23 @@ +=== modified file 'CMakeLists.txt' +--- CMakeLists.txt 2013-02-15 17:12:29 +0000 ++++ CMakeLists.txt 2013-03-05 06:11:34 +0000 +@@ -15,18 +15,6 @@ + # Authored by: Thomas Voss <thomas.voss@canonical.com>, + # Alan Griffiths <alan@octopull.co.uk> + +-set( +- MIR_GCC_VERSION +- 4.6 +- CACHE +- STRING +- "Version of gcc/g++" +-) +- +-set(CMAKE_C_COMPILER gcc-${MIR_GCC_VERSION}) +-set(CMAKE_CXX_COMPILER g++-${MIR_GCC_VERSION}) +-set(CMAKE_GCOV gcov-${MIR_GCC_VERSION}) +- + project(Mir) + + cmake_minimum_required(VERSION 2.8) + diff --git a/dev-libs/mir/mir-9999.ebuild b/dev-libs/mir/mir-9999.ebuild new file mode 100644 index 0000000..64b11d6 --- /dev/null +++ b/dev-libs/mir/mir-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +inherit bzr + +DESCRIPTION="A next generation display server" +HOMEPAGE="https://wiki.ubuntu.com/MirSpec" +SRC_URI="" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="" + +EBZR_REPO_URI="lp:mir" + +IUSE="" + +S=${WORKDIR}/${P} +BUILD_DIR=${S}/build + +src_prepare() { + epatch "${FILESDIR}/use_default_gcc.patch" + + mkdir ${BUILD_DIR} + cd ${BUILD_DIR} + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. +} + +src_compile() { + cmake --build ${BUILD_DIR} +} + +src_install() { + cd ${BUILD_DIR} + emake install +} |