summaryrefslogtreecommitdiff
path: root/dev-python/qtstatemachine/qtstatemachine-1.1-r1.ebuild
blob: a1aaa525b75af38ee4f0574547d0d23788e8073e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
# $

EAPI="2"
inherit eutils cmake-utils

DESCRIPTION="Qt State Machine Framework"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE=""
SRC_URI="ftp://ftp.trolltech.com/qt/solutions/lgpl/qtstatemachine-1.1-opensource.tar.gz"
RESTRICT="mirror"
LICENSE="|| ( LGPL-2.1 GPL-3 QPL-1.0 )"

RDEPEND="dev-libs/glib
	media-libs/libpng
	x11-libs/qt-core:4
	x11-libs/qt-gui:4"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${P}-opensource"

src_prepare() {
	# Add some bugfix patches
	epatch "${FILESDIR}/"qstatemachines*.patch_*
}

pkg_postinst() {

	ewarn "This package is VERY EXPERIMENTAL."
	ewarn "Its build system is utterly broken (see CMake patch)."
	ewarn "No examples are installed because of the issue above"
	ewarn "...and your cat will be eaten by a black hole!"
	einfo "Say thanks to Vincenzo Di Massa for the hard"
	einfo "patching work."

}