Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 384071
Collapse All | Expand All

(-)file_not_specified_in_diff (-13 / +36 lines)
Line  Link Here
0
-- /var/lib/layman/sunrise/dev-util/qshaderedit/qshaderedit-0.1.3.ebuild       2011-08-15 18:59:49.000000000 +0400
0
++ /var/lib/layman/local/dev-util/qshaderedit/qshaderedit-0.1.3.ebuild 2011-09-22 15:13:20.000000000 +0400
Lines 1-21 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
3
# $Header: $
4
4
5
inherit cmake-utils
5
EAPI=4
6
6
7
DESCRIPTION="A simple multiplatform shader editor inspired by Apple's OpenGL Shader Builder"
7
inherit eutils cmake-utils
8
HOMEPAGE="http://code.google.com/p/qshaderedit/"
9
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
10
8
9
DESCRIPTION="QShaderEdit allows you to edit shaders and tweak shader parameters while previewing the results in real-time"
10
HOMEPAGE="http://code.google.com/p/qshaderedit"
11
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
11
LICENSE="GPL-2"
12
LICENSE="GPL-2"
12
SLOT="0"
13
SLOT="0"
13
KEYWORDS="~x86"
14
KEYWORDS="~amd64 ~x86"
14
IUSE=""
15
IUSE="cg-toolkit debug examples"
16
DEPEND=">=dev-util/cmake-2.4.0
17
    >=x11-libs/qt-core-4.2.0
18
    >=x11-libs/qt-gui-4.2.0
19
    >=x11-libs/qt-opengl-4.2.0
20
    >=media-libs/glew-1.3.0
21
    cg-toolkit? ( >=media-gfx/nvidia-cg-toolkit-1.4.0 )"
22
RDEPEND="${DEPEND}"
23
S="${WORKDIR}/${PN}"
24
25
src_configure() {
26
    if use debug ; then
27
       econf --debug
28
    else
29
       econf --release
30
    fi
31
}
32
33
src_install() {
34
    dodoc AUTHORS ChangeLog README
35
    make_desktop_entry ${EPREFIX}/usr/bin/${PN} QShaderEdit application-x-executable "Qt;KDE;Graphics"
15
36
16
DEPEND="x11-libs/qt-gui
37
    emake DESTDIR=${D} install
17
       x11-libs/qt-opengl
18
        media-libs/glew"
19
RDEPEND=${DEPEND}
20
38
21
S=${WORKDIR}/${PN}
39
    if use examples ; then
40
       docinto examples
41
       dodoc -r ${S}/meshes ${S}/shaders ${S}/textures
42
       elog "Examples has been installed in /usr/share/doc/${P} directory"
43
    fi
44
}

Return to bug 384071