blob: 6680fb6e688c5f16872f6defbfc79047ed03c31c (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.1.14-r2.ebuild,v 1.12 2004/04/29 08:36:57 ciaranm Exp $
IUSE="kde gnome nls xinerama truetype cjk"
inherit commonbox flag-o-matic eutils gnuconfig
S=${WORKDIR}/${P}
DESCRIPTION="Window manager based on Blackbox -- has tabs."
SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.bz2"
HOMEPAGE="http://fluxbox.sf.net"
LICENSE="MIT"
SLOT="0"
KEYWORDS="x86 ppc sparc hppa mips ~amd64 alpha"
PROVIDE="virtual/blackbox"
mydoc="ChangeLog COPYING NEWS"
DEPEND=">=dev-util/pkgconfig-0.12.0"
src_unpack() {
unpack ${A}
cd ${S}
# Patch to fix toggledecor for terms
epatch ${FILESDIR}/${P}-toggledecor.patch
# Remember patch
#epatch ${FILESDIR}/${P}-remember.patch
# Menukey patch
epatch ${FILESDIR}/${P}-menukey.patch
# Vano menu destroy patch
epatch ${FILESDIR}/${PN}-vano-gentoo.patch
# gcc 3.3 fixes
epatch ${FILESDIR}/${P}-gcc33.patch
if [ `use cjk` ]; then
epatch ${FILESDIR}/${P}-ja.patch
fi
}
src_compile() {
if pkg-config xft
then
append-flags "-I/usr/include/freetype2"
fi
filter-flags -fno-exceptions
# Allow configure to detect mipslinux systems
use mips && gnuconfig_update
commonbox_src_compile
cd data
make \
pkgdatadir=/usr/share/commonbox init
}
src_install() {
commonbox_src_install
cd data
insinto /usr/share/commonbox
doins init keys
rmdir ${D}/usr/share/commonbox/fluxbox
rm -f ${D}/usr/bin/fluxbox-generate_menu
}
|