diff options
author | Kevin McCarthy <signals@gentoo.org> | 2011-02-25 19:53:46 +0000 |
---|---|---|
committer | Kevin McCarthy <signals@gentoo.org> | 2011-02-25 19:53:46 +0000 |
commit | 7e8265c4540af2f9f82edef01bb9b30ff17017c6 (patch) | |
tree | b4ae927c57e3f16d69e98a472d1b518b761d6c0f /media-gfx/pornview | |
parent | Lastrite dev-libs/libmimedir. (diff) | |
download | gentoo-2-7e8265c4540af2f9f82edef01bb9b30ff17017c6.tar.gz gentoo-2-7e8265c4540af2f9f82edef01bb9b30ff17017c6.tar.bz2 gentoo-2-7e8265c4540af2f9f82edef01bb9b30ff17017c6.zip |
Fix 325879. Drop mplayer use flag. Revbump
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/pornview')
-rw-r--r-- | media-gfx/pornview/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild | 51 |
2 files changed, 59 insertions, 1 deletions
diff --git a/media-gfx/pornview/ChangeLog b/media-gfx/pornview/ChangeLog index 9556f95d5060..e0f54322d40b 100644 --- a/media-gfx/pornview/ChangeLog +++ b/media-gfx/pornview/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/pornview # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/ChangeLog,v 1.38 2011/02/25 19:16:17 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/ChangeLog,v 1.39 2011/02/25 19:53:46 signals Exp $ + +*pornview-0.2.0_pre1-r2 (25 Feb 2011) + + 25 Feb 2011; Kevin McCarthy <signals@gentoo.org> + +pornview-0.2.0_pre1-r2.ebuild: + Disable gcc optimization in comment.c to fix #325879. Revbump for + runtime fix. Drop mplayer use flag. 25 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> pornview-0.2.0_pre1-r1.ebuild: diff --git a/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild b/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild new file mode 100644 index 000000000000..3d44a4719004 --- /dev/null +++ b/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild,v 1.1 2011/02/25 19:53:46 signals Exp $ + +EAPI=3 + +inherit eutils toolchain-funcs + +DESCRIPTION="Image viewer/manager with optional support for MPEG movies." +HOMEPAGE="http://pornview.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 -hppa ~ppc ~x86" +IUSE="exif nls" + +RDEPEND="media-libs/libpng + virtual/jpeg + exif? ( media-gfx/exiv2 ) + >=x11-libs/gtk+-2" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${P/_/} + +src_prepare() { + epatch "${FILESDIR}"/${P}-4.diff \ + "${FILESDIR}"/traypatch.diff \ + "${FILESDIR}"/${P}-desktop-entry.patch \ + "${FILESDIR}"/${P}-new-gtk-object-system.diff \ + "${FILESDIR}"/${P}-fix-array-boundaries.patch \ + "${FILESDIR}"/${P}-fix-segfault-comment.patch + #Bug 325879 + sed -i -e '1i #pragma GCC optimize ("O0")' src/comment.c || die +} + +src_configure() { + tc-export CC + econf \ + --with-gtk2 \ + $(use_enable exif) \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" desktopdir="/usr/share/applications" \ + install || die "emake install failed." + dodoc AUTHORS NEWS README +} |