diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-02 19:40:16 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-02 19:40:16 +0000 |
commit | efeef616608203a96d76eb16fb5c7169081798a3 (patch) | |
tree | 84cdab70f0c92e514641b39c855efe628ac8a537 /x11-wm | |
parent | masked koffice 1.2_pre, because of KDE 3 stuff :o) (diff) | |
download | gentoo-2-efeef616608203a96d76eb16fb5c7169081798a3.tar.gz gentoo-2-efeef616608203a96d76eb16fb5c7169081798a3.tar.bz2 gentoo-2-efeef616608203a96d76eb16fb5c7169081798a3.zip |
Added USE dependent nls and sound compilation.
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/WindowMaker/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/WindowMaker/WindowMaker-0.80.0-r2.ebuild | 111 | ||||
-rw-r--r-- | x11-wm/WindowMaker/files/digest-WindowMaker-0.80.0-r2 | 2 |
3 files changed, 120 insertions, 1 deletions
diff --git a/x11-wm/WindowMaker/ChangeLog b/x11-wm/WindowMaker/ChangeLog index 254b11b7297f..826cea0e1b34 100644 --- a/x11-wm/WindowMaker/ChangeLog +++ b/x11-wm/WindowMaker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/WindowMaker # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/x11-wm/WindowMaker/ChangeLog,v 1.1 2002/02/01 21:53:39 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/WindowMaker/ChangeLog,v 1.2 2002/04/02 19:40:16 seemant Exp $ + +*WindowMaker-0.80.0-r2 (2 Apr 2002) + + 2 Apr 2002; Seemant Kulleen <seemant@gentoo.org> WindowMaker-0.80.0-r2.ebuild: + + Added USE dependent nls and sound compilation. *WindowMaker-0.80.0-r1 (1 Feb 2002) diff --git a/x11-wm/WindowMaker/WindowMaker-0.80.0-r2.ebuild b/x11-wm/WindowMaker/WindowMaker-0.80.0-r2.ebuild new file mode 100644 index 000000000000..78b9c6aa140e --- /dev/null +++ b/x11-wm/WindowMaker/WindowMaker-0.80.0-r2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# Author Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/x11-wm/WindowMaker/WindowMaker-0.80.0-r2.ebuild,v 1.1 2002/04/02 19:40:16 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Window Maker" +SRC_URI="ftp://ftp.windowmaker.org/pub/source/release/${P}.tar.gz + ftp://ftp.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.bz2" +HOMEPAGE="http://www.windowmaker.org/" +SLOT="0" +DEPEND="virtual/glibc virtual/x11 + >=media-libs/xpm-3.4k + >=media-libs/tiff-3.5.5 + >=media-libs/libpng-1.0.12 + >=media-libs/jpeg-6b-r2 + x11-wm/gnustep-env + gif? ( >=media-libs/giflib-4.1.0-r3 ) + ungif? ( >=media-libs/libungif-4.1.0 )" +# Replaced by WINGS +# >=x11-libs/libPropList-0.10.1" + +RDEPEND="nls? ( >=sys-devel/gettext-0.10.39 )" + +#NOTE: the default menu has the wrong path for the WMPrefs utility. +# Needs fixing. + +src_compile() { + + patch -p1 < ${FILESDIR}/wmfpo-80.patch + + local myconf + + use gnome \ + && myconf="${myconf} --enable-gnome" \ + || myconf="${myconf} --disable-gnome" + + use kde \ + && myconf="${myconf} --enable-kde" \ + && export KDEDIR=/usr/kde/2 \ + || myconf="${myconf} --disable-kde" + + if [ "$WITH_MODELOCK" ] ; then + myconf="${myconf} --enable-modelock" + else + myconf="${myconf} --disable-modelock" + fi + + use nls \ + && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" \ + || myconf="${myconf} --disable-nls --disable-locale" + + use gif || use ungif \ + || myconf="${myconf} --disable-gif" + + use jpeg \ + || myconf="${myconf} --disable-jpeg" + + + use esd || use alsa || use oss \ + && myconf="${myconf} --enable-sound" \ + || myconf="${myconf} --disable-sound" + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --sysconfdir=/etc/X11 \ + --with-x \ + --enable-newstyle \ + --enable-superfluous \ + --enable-usermenu \ + ${myconf} || die + + emake || die + + # WindowMaker Extra + cd ../WindowMaker-extra-0.1 + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info || die + + make || die +} + +src_install() { + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + sysconfdir=${D}/etc/X11 \ + GNUSTEP_LOCAL_ROOT=${D}${GNUSTEP_LOCAL_ROOT} \ + install || die + + cp -f WindowMaker/plmenu ${D}/etc/X11/WindowMaker/WMRootMenu + + dodoc AUTHORS BUGFORUM BUGS ChangeLog COPYING* INSTALL* FAQ* \ + MIRRORS README* NEWS TODO + + # WindowMaker Extra + cd ../WindowMaker-extra-0.1 + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + newdoc README README.extra +} + diff --git a/x11-wm/WindowMaker/files/digest-WindowMaker-0.80.0-r2 b/x11-wm/WindowMaker/files/digest-WindowMaker-0.80.0-r2 new file mode 100644 index 000000000000..d30375d13abb --- /dev/null +++ b/x11-wm/WindowMaker/files/digest-WindowMaker-0.80.0-r2 @@ -0,0 +1,2 @@ +MD5 0768a12edff35cba82e769fcbc8de430 WindowMaker-0.80.0.tar.gz 2452207 +MD5 e6fb381da0d207c320f58e7a1fea2a2b WindowMaker-extra-0.1.tar.bz2 238844 |