Skip to content

Commit

Permalink
add razor-qt desktop envoirment temporally, check bug 382875
Browse files Browse the repository at this point in the history
  • Loading branch information
yermandu committed Jan 5, 2012
1 parent 8f6acf5 commit b15a021
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x11-wm/razor-qt/Manifest
@@ -0,0 +1,2 @@
DIST razorqt-0.4.0.tar.bz2 5810907 RMD160 48c9590e5a5b5582d1bfa2f8e01f2da7e0daf900 SHA1 bdc2e32af8fbe348207b77a37491f3791bd961fc SHA256 b51f7789c35b4fe77e98f8a68ee32f9195693ab08b64c8fa6205eb2aaaf1ab99
EBUILD razor-qt-0.4.0.ebuild 1702 RMD160 2ab24c1c93d5ab2cde426c6e590c026d1e7c9d39 SHA1 82959b0be14aeeb6023ebd1bd1a780008ea07546 SHA256 c4d186504d981f83373384850649d72753ee5a96e77a7b8d9c8a30dabba1bbbf
63 changes: 63 additions & 0 deletions x11-wm/razor-qt/razor-qt-0.4.0.ebuild
@@ -0,0 +1,63 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils cmake-utils

MY_P=${P/-qt/qt}
DESCRIPTION="Razor-qt is easy-to-use and fast desktop environment based on Qt technologies."
HOMEPAGE="http://razor-qt.org/"
SRC_URI="http://razor-qt.org/downloads/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE="handbook"

RDEPEND="sys-auth/polkit-qt
x11-base/xorg-server
x11-libs/libXcomposite
sys-fs/udev
x11-libs/qt-core:4
x11-libs/qt-dbus:4
x11-libs/qt-declarative:4
x11-libs/qt-gui:4
x11-libs/qt-multimedia:4
x11-libs/qt-opengl:4
x11-libs/qt-qt3support:4
x11-libs/qt-script:4
x11-libs/qt-sql:4
x11-libs/qt-svg:4
x11-libs/qt-test:4
x11-libs/qt-webkit:4
x11-libs/qt-xmlpatterns:4
|| ( x11-wm/openbox kde-base/kwin )"
DEPEND="${RDEPEND}
dev-util/cmake
sys-devel/gcc
handbook? ( app-doc/doxygen )"

S="${WORKDIR}/${MY_P}"

src_compile() {
cmake-utils_src_make

# build developer documentation using Doxygen
if use handbook ; then
emake -C "${CMAKE_BUILD_DIR}" docs || die "Creating developer documentation failed"
fi
}

src_install() {
cmake-utils_src_install

# install developer documentation to
# /usr/share/doc/razor-qt-VERSION/developer-documentation
if use handbook ; then
mkdir -p ${D}/usr/share/doc/${P}/ || die "Cannot create directory for documentation"
cp -rp "${CMAKE_BUILD_DIR}/docs" ${D}/usr/share/doc/${P}/developer-documentation \
|| die "Installing developer documentation failed"
fi
}

0 comments on commit b15a021

Please sign in to comment.