diff options
Diffstat (limited to 'x11-libs/cairo/cairo-9999.ebuild')
-rw-r--r-- | x11-libs/cairo/cairo-9999.ebuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild index 9dad0c6..e18525d 100644 --- a/x11-libs/cairo/cairo-9999.ebuild +++ b/x11-libs/cairo/cairo-9999.ebuild @@ -5,7 +5,7 @@ inherit eutils flag-o-matic autotools git EGIT_REPO_URI="git://git.cairographics.org/git/cairo" -EGIT_BOOTSTRAP="eautoreconf" +#EGIT_BOOTSTRAP="eautoreconf" DESCRIPTION="A vector graphics library with cross-device output support" HOMEPAGE="http://cairographics.org/" @@ -14,7 +14,7 @@ HOMEPAGE="http://cairographics.org/" LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="directfb doc glitz pdf png svg X" +IUSE="directfb doc glitz pdf png svg X xcb" # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it RESTRICT="test" @@ -32,6 +32,7 @@ RDEPEND="media-libs/fontconfig ) virtual/xft ) + xcb? ( >=x11-libs/libxcb-1.1.90.1 ) directfb? ( >=dev-libs/DirectFB-0.9.24 ) glitz? ( >=media-libs/glitz-0.5.1 ) png? ( media-libs/libpng ) @@ -45,12 +46,20 @@ DEPEND="${RDEPEND} ~app-text/docbook-xml-dtd-4.2 )" +src_unpack() { + git_src_unpack + cd "${S}" + touch boilerplate/Makefile.am.features src/Makefile.am.features ChangeLog + eautoreconf +} + src_compile() { #gets rid of fbmmx.c inlining warnings append-flags -finline-limit=1200 econf $(use_enable X xlib) $(use_enable doc gtk-doc) $(use_enable directfb) \ $(use_enable png) $(use_enable svg) $(use_enable pdf) \ + $(use_enable xcb) \ $(use_enable glitz) --enable-freetype --enable-ps \ || die "configure failed" |