Contents of /branches/magellan-0_10_0/core/fluxbox/fluxbox-1.1.1-r1.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1808 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1808 byte(s)
created branch 'magellan-0_10_0'
1 | # $Header: /magellan-cvs/smage/fluxbox/fluxbox-1.0.0-r2.smage2,v 1.1 2008/02/13 13:55:55 niro Exp $ |
2 | |
3 | PNAME="fluxbox" |
4 | PVER="1.1.1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-wm" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="fluxbox is yet another windowmanager for X based on blackbox." |
11 | HOMEPAGE="http://www.fluxbox.org/" |
12 | |
13 | DEPEND=">= x11-libs/libXpm-1 |
14 | >= x11-libs/libXrandr-1 |
15 | >= x11-libs/libXinerama-1 |
16 | >= x11-libs/libXft-1 |
17 | >= media-libs/freetype-2 |
18 | >= media-libs/imlib2-1.4" |
19 | |
20 | SDEPEND=">= sys-dev/automake-3 |
21 | >= sys-dev/autoconf-4" |
22 | |
23 | SRCFILE="${PNAME}-${PVER/_/}.tar.bz2" |
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" |
25 | |
26 | sminclude xorg mtools |
27 | |
28 | SRC_URI=( |
29 | sourceforge://${PNAME}/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
34 | |
35 | src_prepare() |
36 | { |
37 | munpack ${SRCFILE} || die |
38 | cd ${SRCDIR} |
39 | |
40 | # enable antialias by default |
41 | echo "session.screen0.antialias: true" >> data/init.in || die |
42 | |
43 | # all styles should use fbsetroot |
44 | for style in ${SRCDIR}/data/styles/* |
45 | do |
46 | [[ -f ${style} ]] || continue |
47 | sed -i 's,\([^f]\)bsetroot,\1fbsetroot,' ${style} || die ${style} |
48 | done |
49 | } |
50 | |
51 | src_compile() |
52 | { |
53 | cd ${SRCDIR} |
54 | |
55 | mconfigure \ |
56 | --sysconfdir=/etc/X11/${PNAME} \ |
57 | --enable-nls \ |
58 | --enable-imlib2 \ |
59 | --enable-xpm \ |
60 | --enable-kde \ |
61 | --enable-gnome \ |
62 | --enable-xft \ |
63 | --enable-xinerama \ |
64 | --disable-debug \ |
65 | || die |
66 | |
67 | mmake || die |
68 | } |
69 | |
70 | src_install() |
71 | { |
72 | cd ${SRCDIR} |
73 | |
74 | # needed directories |
75 | minstalldir /usr/share/fluxbox || die |
76 | minstalldir /usr/share/xsessions || die |
77 | |
78 | mmake DESTDIR=${BINDIR} install || die |
79 | |
80 | # create gnome xsession file |
81 | echo "[Desktop Entry] |
82 | Encoding=UTF-8 |
83 | Name=Fluxbox |
84 | Comment=This session logs you into Fluxbox |
85 | Exec=startfluxbox |
86 | TryExec=startfluxbox |
87 | Icon= |
88 | Type=Application" > ${BINDIR}/usr/share/xsessions/fluxbox.desktop || die |
89 | |
90 | minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die |
91 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |