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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (show annotations) (download)
Thu Dec 21 05:18:18 2006 UTC (12 years, 6 months ago) by compnerd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.20: +1 -1 lines
FILE REMOVED
gnome-1.x removal
(Portage version: 2.1.2_rc3-r7)
 (Unsigned Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-1.4.1.ebuild,v 1.20 2006/09/05 01:41:56 kumba 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="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-core/gnome-core-${PV}.tar.bz2"
12 HOMEPAGE="http://www.gnome.org/"
13 SLOT="1.4"
14 KEYWORDS="ppc sparc x86"
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 =sys-devel/automake-1.4*
25 sys-devel/autoconf
26 nls? ( sys-devel/gettext
27 >=dev-util/intltool-0.11 )"
28
29 src_unpack() {
30 unpack ${A}
31 cd ${S}
32
33 # Libtoolize
34 elibtoolize
35 aclocal -I macros
36 WANT_AUTOMAKE=1.4 automake --add-missing
37 autoconf
38 }
39
40 src_compile() {
41 local myconf=""
42 local myldflags=""
43
44 use nls || myconf="${myconf} --disable-nls"
45
46 if use kde
47 then
48 myconf="${myconf} --with-kde-datadir=/usr/share"
49 fi
50
51 # Fix build against gdk-pixbuf-0.12 and later
52 CFLAGS="${CFLAGS} `gdk-pixbuf-config --cflags`"
53
54 ./configure --host=${CHOST} \
55 --prefix=/usr \
56 --mandir=/usr/share/man \
57 --sysconfdir=/etc \
58 --localstatedir=/var/lib \
59 ${myconf} || die
60
61 cd panel
62 cp gnome-panel-screenshot.c gnome-panel-screenshot.c.orig
63 cat gnome-panel-screenshot.c.orig | \
64 sed 's:\(^#include <errno.h>\):\1\n#include <locale.h>:' \
65 > gnome-panel-screenshot.c
66
67 cd ${S}
68 make -C panel
69 }
70
71 src_install() {
72 make -C panel \
73 prefix=${D}/usr \
74 mandir=${D}/usr/share/man \
75 sysconfdir=${D}/etc \
76 localstatedir=${D}/var/lib \
77 install || die
78 dodoc AUTHORS COPYING* ChangeLog README NEWS
79 }
80

  ViewVC Help
Powered by ViewVC 1.1.20