diff options
author | Markus Meier <maekke@gentoo.org> | 2009-12-07 22:49:56 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-12-07 22:49:56 +0000 |
commit | 1aebf977b1c229d8e4a328228d6e7f073823f79c (patch) | |
tree | 0d07834f96df451c155e0d103bee42bf38180c17 /media-gfx/tuxpaint | |
parent | arm stable, bug #288026 (diff) | |
download | gentoo-2-1aebf977b1c229d8e4a328228d6e7f073823f79c.tar.gz gentoo-2-1aebf977b1c229d8e4a328228d6e7f073823f79c.tar.bz2 gentoo-2-1aebf977b1c229d8e4a328228d6e7f073823f79c.zip |
fix documentation dir, bug #295774
(Portage version: 2.2_rc55/cvs/Linux i686)
Diffstat (limited to 'media-gfx/tuxpaint')
-rw-r--r-- | media-gfx/tuxpaint/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/tuxpaint/tuxpaint-0.9.20-r1.ebuild | 69 |
2 files changed, 76 insertions, 2 deletions
diff --git a/media-gfx/tuxpaint/ChangeLog b/media-gfx/tuxpaint/ChangeLog index 781242151d42..244ec67a188c 100644 --- a/media-gfx/tuxpaint/ChangeLog +++ b/media-gfx/tuxpaint/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/tuxpaint -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.53 2009/03/19 19:01:01 maekke Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.54 2009/12/07 22:49:56 maekke Exp $ + +*tuxpaint-0.9.20-r1 (07 Dec 2009) + + 07 Dec 2009; Markus Meier <maekke@gentoo.org> +tuxpaint-0.9.20-r1.ebuild: + fix documentation dir, bug #295774 19 Mar 2009; Markus Meier <maekke@gentoo.org> -files/tuxpaint-0.9.19-gentoo.patch, -files/tuxpaint-0.9.19-libpng.patch, diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.20-r1.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.20-r1.ebuild new file mode 100644 index 000000000000..a75287ded586 --- /dev/null +++ b/media-gfx/tuxpaint/tuxpaint-0.9.20-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.20-r1.ebuild,v 1.1 2009/12/07 22:49:56 maekke Exp $ + +EAPI="2" + +inherit eutils gnome2-utils multilib toolchain-funcs + +DESCRIPTION="Drawing program designed for young children" +HOMEPAGE="http://www.tuxpaint.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="nls" + +DEPEND=" + app-text/libpaper + gnome-base/librsvg + >=media-libs/libpng-1.2 + >=media-libs/freetype-2 + media-libs/libsdl + media-libs/sdl-image[png] + media-libs/sdl-mixer + media-libs/sdl-pango + media-libs/sdl-ttf + x11-libs/cairo + nls? ( sys-devel/gettext )" + +src_prepare() { + # Sanitize the Makefile and correct a few other issues. + epatch "${FILESDIR}/${P}-gentoo.patch" + sed -i \ + -e "s|linux_PREFIX:=/usr/local|linux_PREFIX:=/usr|" \ + -e "s:/lib/:/$(get_libdir)/:" \ + -e "s:/share/doc/tuxpaint.*:/share/doc/${PF}:g" \ + Makefile || die +} + +src_compile() { + local myopts="" + + use nls && myopts="${myopts} ENABLE_GETTEXT=1" + + # emake may break things + make CC="$(tc-getCC)" ${myopts} || die "Compilation failed" +} + +src_install () { + local myopts="" + + use nls && myopts="${myopts} ENABLE_GETTEXT=1" + + make PKG_ROOT="${D}" ${myopts} install || die "Installation failed" + + rm -f docs/COPYING.txt docs/INSTALL.txt + dodoc docs/*.txt +} + +pkg_postinst() { + gnome2_icon_cache_update + + elog "" + elog "For additional graphic stamps, you can emerge the" + elog "media-gfx/tuxpaint-stamps package." + elog "" +} |