/[gentoo-x86]/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild
Gentoo

Diff of /media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/Attic/pornview-0.2.0_pre1-r2.ebuild,v 1.2 2011/03/28 16:49:16 angelos Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/Attic/pornview-0.2.0_pre1-r2.ebuild,v 1.3 2011/08/08 17:15:56 ssuominen Exp $
4 4
5EAPI=3 5EAPI=3
6inherit eutils toolchain-funcs 6inherit eutils toolchain-funcs
7 7
8DESCRIPTION="Image viewer/manager with optional support for MPEG movies." 8DESCRIPTION="Image viewer/manager with optional support for MPEG movies."
23 nls? ( sys-devel/gettext )" 23 nls? ( sys-devel/gettext )"
24 24
25S=${WORKDIR}/${P/_/} 25S=${WORKDIR}/${P/_/}
26 26
27src_prepare() { 27src_prepare() {
28 epatch \
28 epatch "${FILESDIR}"/${P}-4.diff \ 29 "${FILESDIR}"/${P}-4.diff \
29 "${FILESDIR}"/traypatch.diff \ 30 "${FILESDIR}"/traypatch.diff \
30 "${FILESDIR}"/${P}-desktop-entry.patch \ 31 "${FILESDIR}"/${P}-desktop-entry.patch \
31 "${FILESDIR}"/${P}-new-gtk-object-system.diff \ 32 "${FILESDIR}"/${P}-new-gtk-object-system.diff \
32 "${FILESDIR}"/${P}-fix-array-boundaries.patch \ 33 "${FILESDIR}"/${P}-fix-array-boundaries.patch \
33 "${FILESDIR}"/${P}-fix-segfault-comment.patch 34 "${FILESDIR}"/${P}-fix-segfault-comment.patch \
35 "${FILESDIR}"/${P}-libpng15.patch
36
37 # $X_LIBS fails to bring in -lX11 and the build fails with undefined
38 # references with strict linker
39 sed -i -e 's:view_LDADD =:view_LDADD = -lX11:' src/Makefile.{am,in} || die
34 #Bug 325879 40 #Bug 325879
35 sed -i -e '1i #pragma GCC optimize ("O0")' src/comment.c || die 41 sed -i -e '1i #pragma GCC optimize ("O0")' src/comment.c || die
36} 42}
37 43
38src_configure() { 44src_configure() {
39 tc-export CC 45 tc-export CC
40 econf \ 46 econf \

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20