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

(-)/usr/portage/x11-wm/pekwm/pekwm-0.1.6.ebuild (-18 / +12 lines)
Lines 6-50 Link Here
6
6
7
DESCRIPTION="A small window mananger based on aewm++"
7
DESCRIPTION="A small window mananger based on aewm++"
8
HOMEPAGE="http://www.pekwm.org/"
8
HOMEPAGE="http://www.pekwm.org/"
9
SRC_URI="http://pekwm.org/files/${P}.tar.bz2
9
SRC_URI="http://pekwm.org/projects/3/files/${P}.tar.bz2
10
	mirror://gentoo/${PN}-themes.tar.bz2"
10
	mirror://gentoo/${PN}-themes.tar.bz2"
11
11
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
14
KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
15
IUSE="debug perl truetype xinerama"
15
IUSE="debug perl truetype xinerama jpeg png xpm xrandr"
16
16
17
DEPEND="media-libs/jpeg
17
DEPEND="x11-libs/libXrender
18
	media-libs/libpng
18
	jpeg? ( media-libs/jpeg )
19
	x11-libs/libXpm
19
	png? ( media-libs/libpng )
20
	x11-libs/libXrandr
20
	xpm? ( x11-libs/libXpm )
21
	x11-libs/libXrender
21
	xrandr? ( x11-libs/libXrandr )
22
	perl? ( dev-libs/libpcre )
22
	perl? ( dev-libs/libpcre )
23
	truetype? ( virtual/xft )
23
	truetype? ( virtual/xft )
24
	xinerama? ( x11-libs/libXinerama )"
24
	xinerama? ( x11-libs/libXinerama )"
25
RDEPEND="${DEPEND}
25
RDEPEND="${DEPEND}
26
	x11-apps/xprop"
26
	x11-apps/xprop"
27
27
28
src_unpack() {
29
	unpack ${A}
30
	cd "${S}"
31
32
	epatch "${FILESDIR}/${P}-gcc-4.3.patch"
33
}
34
35
src_compile() {
28
src_compile() {
36
	econf \
29
	econf \
37
		$(use_enable debug) \
30
		$(use_enable debug) \
38
		$(use_enable perl pcre) \
31
		$(use_enable perl pcre) \
39
		$(use_enable truetype xft) \
32
		$(use_enable truetype xft) \
40
		$(use_enable xinerama) \
33
		$(use_enable xinerama) \
34
		$(use_enable jpeg image-jpeg) \
35
		$(use_enable png image-png) \
36
		$(use_enable xpm image-xpm) \
37
		$(use_enable xrandr) \
41
		--enable-harbour \
38
		--enable-harbour \
42
		--enable-image-jpeg \
43
		--enable-image-png \
44
		--enable-image-xpm \
45
		--enable-menus \
39
		--enable-menus \
46
		--enable-shape \
40
		--enable-shape \
47
		--enable-xrandr || die "econf failed"
41
		|| die "econf failed"
48
42
49
	emake || die "emake failed"
43
	emake || die "emake failed"
50
}
44
}

Return to bug 235178