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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Mar 11 14:25:20 2003 UTC (16 years, 3 months ago) by foser
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
new version

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-r1.ebuild,v 1.5 2003/02/13 12:08:52 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 ~alpha"
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 # libpng-1.2.5 fix
32 cp configure.in configure.in.old
33 sed -e "s:-lz:\`libpng-config --libs\`:" configure.in.old \
34 > configure.in
35
36 # Libtoolize
37 elibtoolize
38 aclocal -I macros
39 automake --add-missing
40 autoconf
41 }
42
43 src_compile() {
44 local myconf=""
45 local myldflags=""
46
47 use nls || myconf="${myconf} --disable-nls"
48
49 if [ "`use kde`" ]
50 then
51 myconf="${myconf} --with-kde-datadir=/usr/share"
52 fi
53
54 # Fix build against gdk-pixbuf-0.12 and later
55 CFLAGS="${CFLAGS} `gdk-pixbuf-config --cflags`"
56
57 ./configure --host=${CHOST} \
58 --prefix=/usr \
59 --mandir=/usr/share/man \
60 --sysconfdir=/etc \
61 --localstatedir=/var/lib \
62 ${myconf} || die
63
64 cd panel
65 cp gnome-panel-screenshot.c gnome-panel-screenshot.c.orig
66 cat gnome-panel-screenshot.c.orig | \
67 sed 's:\(^#include <errno.h>\):\1\n#include <locale.h>:' \
68 > gnome-panel-screenshot.c
69
70 cd ${S}
71 make -C panel
72 }
73
74 src_install() {
75 make -C panel \
76 prefix=${D}/usr \
77 mandir=${D}/usr/share/man \
78 sysconfdir=${D}/etc \
79 localstatedir=${D}/var/lib \
80 install || die
81 dodoc AUTHORS COPYING* ChangeLog README NEWS
82 }
83

  ViewVC Help
Powered by ViewVC 1.1.20