Magellan Linux

Contents of /trunk/core/fluxbox/fluxbox-1.1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 886 - (show annotations) (download)
Sat Dec 27 23:08:28 2008 UTC (15 years, 4 months ago) by niro
File size: 1833 byte(s)
-ver bump to 1.1.1-r1
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 # only for >= xorg-7.0.0
14 sminclude xorg mtools
15
16 DEPEND=">= x11-libs/libXpm-1
17 >= x11-libs/libXrandr-1
18 >= x11-libs/libXinerama-1
19 >= x11-libs/libXft-1
20 >= media-libs/freetype-2
21 >= media-libs/imlib2-1.4"
22
23 SDEPEND=">= sys-dev/automake-3
24 >= sys-dev/autoconf-4"
25
26 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
28
29 SRC_URI=(
30 sourceforge://${PNAME}/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 UP2DATE="updatecmd_sourceforge ${PNAME}"
35
36 src_prepare()
37 {
38 munpack ${SRCFILE} || die
39 cd ${SRCDIR}
40
41 # enable antialias by default
42 echo "session.screen0.antialias: true" >> data/init.in || die
43
44 # all styles should use fbsetroot
45 for style in ${SRCDIR}/data/styles/*
46 do
47 [[ -f ${style} ]] || continue
48 sed -i 's,\([^f]\)bsetroot,\1fbsetroot,' ${style} || die ${style}
49 done
50 }
51
52 src_compile()
53 {
54 cd ${SRCDIR}
55
56 mconfigure \
57 --sysconfdir=/etc/X11/${PNAME} \
58 --enable-nls \
59 --enable-imlib2 \
60 --enable-xpm \
61 --enable-kde \
62 --enable-gnome \
63 --enable-xft \
64 --enable-xinerama \
65 --disable-debug \
66 || die
67
68 mmake || die
69 }
70
71 src_install()
72 {
73 cd ${SRCDIR}
74
75 # needed directories
76 minstalldir /usr/share/fluxbox || die
77 minstalldir /usr/share/xsessions || die
78
79 mmake DESTDIR=${BINDIR} install || die
80
81 # create gnome xsession file
82 echo "[Desktop Entry]
83 Encoding=UTF-8
84 Name=Fluxbox
85 Comment=This session logs you into Fluxbox
86 Exec=startfluxbox
87 TryExec=startfluxbox
88 Icon=
89 Type=Application" > ${BINDIR}/usr/share/xsessions/fluxbox.desktop || die
90
91 minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die
92 }

Properties

Name Value
svn:keywords Id