--- sawfish-1.3.3.ebuild.orig 2008-12-29 14:58:19.770736330 +0900 +++ sawfish-1.3.3.ebuild 2008-12-29 14:58:11.070748006 +0900 @@ -2,52 +2,30 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/sawfish-1.3.3.ebuild,v 1.7 2008/10/06 17:13:50 truedfx Exp $ -# detect cvs snapshots; fex. 1.3_p20040120 -[[ $PV == *_p[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]] -(( snapshot = !$? )) - -if (( snapshot )); then - inherit eutils autotools -else - inherit eutils -fi +inherit eutils DESCRIPTION="Extensible window manager using a Lisp-based scripting language" -HOMEPAGE="http://sawmill.sourceforge.net/" -if (( snapshot )); then - SRC_URI="mirror://gentoo/${P/_p/.}.tar.bz2" -else - SRC_URI="mirror://sourceforge/sawmill/${P}.tar.gz" -fi +HOMEPAGE="http://sawfish.wikia.com/" +SRC_URI="mirror://sourceforge/sawmill/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86" -IUSE="gnome esd nls audiofile pango" +KEYWORDS="~amd64" +IUSE="gnome esd nls audiofile" -RDEPEND=">=x11-libs/rep-gtk-0.17 - >=dev-libs/librep-0.16 - >=x11-libs/gtk+-2.0.8 +RDEPEND=">=x11-libs/rep-gtk-0.18.3 + >=dev-libs/librep-0.17 + >=x11-libs/gtk+-2.6.0 audiofile? ( >=media-libs/audiofile-0.2.3 ) esd? ( >=media-sound/esound-0.2.23 ) nls? ( sys-devel/gettext )" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.12.0" -if (( snapshot )); then - S="${WORKDIR}/${PN}" -fi - src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/libtool.patch - epatch "${FILESDIR}"/${P}-parallel-make.patch - epatch "${FILESDIR}"/${P}-cflags.patch - - if (( snapshot )); then - eautoreconf - fi } src_compile() { @@ -57,21 +35,17 @@ export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2" set -- \ - --disable-themer \ --with-gdk-pixbuf \ $(use_with audiofile) \ - $(use_with esd) \ - $(use_with pango) + $(use_with esd) if use gnome; then set -- "$@" \ --with-gnome-prefix=/usr \ - --enable-gnome-widgets \ - --enable-capplet + --enable-gnome-widgets else set -- "$@" \ - --disable-gnome-widgets \ - --disable-capplet + --disable-gnome-widgets fi if ! use nls; then @@ -98,6 +72,5 @@ src_install() { emake DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS BUGS ChangeLog DOC FAQ NEWS README THANKS TODO OPTIONS - newdoc src/ChangeLog ChangeLog.src + dodoc AUTHORS BUGS ChangeLog FAQ README THANKS TODO OPTIONS }