/[gentoo-x86]/gnome-base/gnome-panel/gnome-panel-1.4.2.ebuild
Gentoo

Contents of /gnome-base/gnome-panel/gnome-panel-1.4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu May 15 16:52:03 2003 UTC (16 years, 1 month ago) by foser
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
new version 'n cleanup

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-1.4.2.ebuild,v 1.3 2003/02/13 12:08:56 vapier Exp $
4
5 IUSE="kde nls"
6
7 inherit libtool
8
9 S=${WORKDIR}/gnome-core-${PV}
10 DESCRIPTION="Split out panel from gnome-core"
11 SRC_URI="mirror://gnome/sources/gnome-core/1.4/gnome-core-${PV}.tar.bz2"
12 HOMEPAGE="http://www.gnome.org/"
13 SLOT="1.4"
14 KEYWORDS="~x86 ~ppc ~sparc "
15 LICENSE="GPL-2"
16
17 RDEPEND="=gnome-base/control-center-1.4*
18 <gnome-base/libglade-0.99.0
19 >=gnome-base/gnome-libs-1.4.1.2-r1
20 >=media-libs/gdk-pixbuf-0.16.0-r1"
21
22 DEPEND="${RDEPEND}
23 >=app-text/scrollkeeper-0.2
24 nls? ( sys-devel/gettext
25 >=dev-util/intltool-0.11 )"
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30
31 # Libtoolize
32 elibtoolize
33 aclocal -I macros
34 automake --add-missing
35 autoconf
36 }
37
38 src_compile() {
39 local myconf=""
40 local myldflags=""
41
42 use nls || myconf="${myconf} --disable-nls"
43
44 if [ "`use kde`" ]
45 then
46 myconf="${myconf} --with-kde-datadir=/usr/share"
47 fi
48
49 # Fix build against gdk-pixbuf-0.12 and later
50 CFLAGS="${CFLAGS} `gdk-pixbuf-config --cflags`"
51
52 ./configure --host=${CHOST} \
53 --prefix=/usr \
54 --mandir=/usr/share/man \
55 --sysconfdir=/etc \
56 --localstatedir=/var/lib \
57 ${myconf} || die
58
59 cd panel
60 cp gnome-panel-screenshot.c gnome-panel-screenshot.c.orig
61 cat gnome-panel-screenshot.c.orig | \
62 sed 's:\(^#include <errno.h>\):\1\n#include <locale.h>:' \
63 > gnome-panel-screenshot.c
64
65 cd ${S}
66 make -C panel
67 }
68
69 src_install() {
70 make -C panel \
71 prefix=${D}/usr \
72 mandir=${D}/usr/share/man \
73 sysconfdir=${D}/etc \
74 localstatedir=${D}/var/lib \
75 install || die
76 dodoc AUTHORS COPYING* ChangeLog README NEWS
77 }
78

  ViewVC Help
Powered by ViewVC 1.1.20