sawfish r4322 - trunk
- From: chrisb svn gnome org
- To: svn-commits-list gnome org
- Subject: sawfish r4322 - trunk
- Date: Mon, 22 Dec 2008 18:31:21 +0000 (UTC)
Author: chrisb
Date: Mon Dec 22 18:31:21 2008
New Revision: 4322
URL: http://svn.gnome.org/viewvc/sawfish?rev=4322&view=rev
Log:
forgot to add the sawfish.ebuild.in file
Added:
trunk/sawfish.ebuild.in
Modified:
trunk/ChangeLog
Added: trunk/sawfish.ebuild.in
==============================================================================
--- (empty file)
+++ trunk/sawfish.ebuild.in Mon Dec 22 18:31:21 2008
@@ -0,0 +1,73 @@
+
+inherit eutils
+
+DESCRIPTION="Extensible window manager using a Lisp-based scripting language"
+HOMEPAGE="http://sawfish.wikia.com/"
+SRC_URI="mirror://sourceforge/sawmill/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gnome esd nls audiofile"
+
+RDEPEND=">=x11-libs/rep-gtk-0.17
+ >=dev-libs/librep-0.16
+ >=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"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/libtool.patch
+}
+
+src_compile() {
+ # Make sure we include freetype2 headers before freetype1 headers,
+ # else Xft2 borks, <azarah gentoo org> (13 Dec 2002)
+ export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2"
+ export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2"
+
+ set -- \
+ --with-gdk-pixbuf \
+ $(use_with audiofile) \
+ $(use_with esd)
+
+ if use gnome; then
+ set -- "$@" \
+ --with-gnome-prefix=/usr \
+ --enable-gnome-widgets
+ else
+ set -- "$@" \
+ --disable-gnome-widgets
+ fi
+
+ if ! use nls; then
+ # Use a space because configure script reads --enable-linguas="" as
+ # "install everything"
+ # Don't use --disable-linguas, because that means --enable-linguas="no",
+ # which means "install Norwegian translations"
+ set -- "$@" --enable-linguas=" "
+ elif [[ "${LINGUAS+set}" == "set" ]]; then
+ strip-linguas -i po
+ set -- "$@" --enable-linguas=" ${LINGUAS} "
+ else
+ set -- "$@" --enable-linguas=""
+ fi
+
+ econf "$@" || die "configure failed"
+
+ # The following two lines allow sawfish to compile with gcc 2.95
+ # (see bug 18294)
+ sed -i -e 's:REP_CFLAGS=:REP_CFLAGS=-I/usr/include/freetype2 :' Makedefs
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS BUGS ChangeLog FAQ NEWS README THANKS TODO OPTIONS
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]