diff options
author | 2006-09-25 14:20:31 +0000 | |
---|---|---|
committer | 2006-09-25 14:20:31 +0000 | |
commit | 4e022e4b9031d1893e9bd4c22d2e2b3c3d313684 (patch) | |
tree | 07b5dca8e2eabe154a7162c9536af64ab37a7658 /media-gfx/xaralx/xaralx-0.7_p1692-r1.ebuild | |
parent | kde-misc/diskmonitor: New ebuild for bug 148290 (diff) | |
download | sunrise-4e022e4b9031d1893e9bd4c22d2e2b3c3d313684.tar.gz sunrise-4e022e4b9031d1893e9bd4c22d2e2b3c3d313684.tar.bz2 sunrise-4e022e4b9031d1893e9bd4c22d2e2b3c3d313684.zip |
media-gfx/xaralx: Restoring ebuild for latest stable version p1692; modified $PN and autotools config to compensate for upstream's retro-active changes to the tarball (grumble)
svn path=/sunrise/; revision=1333
Diffstat (limited to 'media-gfx/xaralx/xaralx-0.7_p1692-r1.ebuild')
-rw-r--r-- | media-gfx/xaralx/xaralx-0.7_p1692-r1.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/media-gfx/xaralx/xaralx-0.7_p1692-r1.ebuild b/media-gfx/xaralx/xaralx-0.7_p1692-r1.ebuild new file mode 100644 index 000000000..e5e1fad9c --- /dev/null +++ b/media-gfx/xaralx/xaralx-0.7_p1692-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils wxwidgets autotools gnome2 + +MY_P=XaraLXSrc-${PV/_p/r} + +DESCRIPTION="General purpose vector graphics program" +HOMEPAGE="http://www.xaraxtreme.org" +SRC_URI="http://downloads.xara.com/opensource/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+ + >=x11-libs/wxGTK-2.6.3 + virtual/libintl + >=media-libs/libpng-1.2.8 + >=media-libs/jpeg-6b + app-arch/zip + dev-lang/perl + >=dev-libs/libxml2-2.6.0" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=sys-devel/gettext-0.14.3" + +S=${WORKDIR}/${MY_P/Src/} + +pkg_setup() { + export WX_GTK_VER="2.6" + need-wxwidgets unicode +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s/CXFTreeDlg:://" Kernel/cxftree.h + sed -i -e "s:XaraLX:xaralx:g" Makefile.am + + AT_M4DIR=". ${S}/m4" eautoreconf +} + +src_compile() { + econf \ + --with-wx-config=${WX_CONFIG} \ + --with-wx-base-config=${WX_CONFIG} \ + --enable-xarlib \ + --enable-filters \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + insinto /usr/share/${PN} + doins -r Designs Templates + + doicon ${PN}.png + domenu ${PN}.desktop + + insinto /usr/share/icons/hicolor/48x48/mimetypes + newins xaralx.png gnome-mime-application-vnd.xara.png + insinto /usr/share/mime/packages + doins Mime/xaralx.xml + insinto /usr/share/application-registry + doins Mime/mime-storage/gnome/xaralx.applications + insinto /usr/share/mime-info + doins Mime/mime-storage/gnome/xaralx.{keys,mime} + + doman doc/xaralx.1 + dodoc AUTHORS ChangeLog LICENSE NEWS README \ + doc/{gifutil.txt,mtrand.txt,XSVG.txt} + newdoc doc/en/LICENSE LICENSE-docs + dodir /usr/share/doc/${PF}/html + tar xjf doc/en/xaralxHelp.tar.gz -C ${D}/usr/share/doc/${PF}/html +} |