Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add razor-qt desktop envoirment temporally, check bug 382875
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |