
On Sun, Mar 20, 2005 at 11:43:53AM +0000, Jonathan Leighton wrote:
Hi all,
I made some changes for myself to the ebuild I found in the wiki, but thought it would be good to share them with everyone else too.
Cool, thanks!
It was a couple of weeks ago, but this is what I remember I did:
- Updated the dependencies to the ones in the Inkscape 0.41 ebuild
currently in Gentoo bugzilla.
- Changed the "x86" keyword to "~x86" -- a CVS ebuild should definitely
not have a stable keyword.
- Changed "econf || die" to "econf ${G2CONF} || die" so that USE flags
actually work.
I think that's it.
If someone could put it on the Inkscape website in place of the old one I'd be grateful. It's attached.
If it's a wiki page, you should be able to make this change directly - click the 'Upload' link at the top of the page to upload your file, then change the Wiki page to point to it accordingly.
Bryce
Regards, Jon
-- Jonathan Leighton aka. Turnip http://turnipspatch.com/ | http://digital-proof.org/
# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # This is not the 1.0 version ! This is a cvs ebuild # By Dell'aiera Pol (id jabber: pol@...592...) # Just put this file in /usr/portage/media-gfx/inkscape/ then run 'emerge inkscape' # Report bug @ blenderman@...593... or via jabber.
ECVS_MODULE="inkscape" ECVS_CVS_OPTIONS="-dP" ECVS_SERVER="cvs.sourceforge.net/cvsroot/inkscape"
inherit cvs
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="A SVG based generic vector-drawing program" HOMEPAGE="http://www.inkscape.org/"
LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" IUSE="gnome mmx doc"
RDEPEND=">=x11-libs/gtk+-2.4.1
=media-libs/libart_lgpl-2.3.16 =dev-libs/libxml2-2.6.7 =x11-libs/pango-1.4.0
dev-perl/XML-Parser virtual/xft media-libs/fontconfig dev-libs/popt sys-libs/zlib media-libs/libpng =sys-devel/gcc-3*
=dev-libs/libsigc++-2.0.3 =dev-cpp/gtkmm-2.4
gnome? ( >=gnome-base/libgnomeprint-2.2 >=gnome-base/libgnomeprintui-2.2 )
=dev-libs/boehm-gc-6.4"
DEPEND="${RDEPEND} sys-devel/gettext dev-util/pkgconfig
=dev-util/intltool-0.29"
src_compile() { ./autogen.sh || die G2CONF="${G2CONF} --with-xft --with-popt" use mmx || G2CONF="${G2CONF} --disable-mmx" use gnome && G2CONF="${G2CONF} --with-gnome-print"
econf ${G2CONF} || die emake || die }
src_install() { DOCS="AUTHORS COPYING ChangeLog HACKING NEWS README" make DESTDIR=${D} install || die }