diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-23 16:29:53 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-23 16:29:53 +0000 |
commit | f1ce80940cae0fb94345188979c779be4411a436 (patch) | |
tree | 0b85f5be8fddeefceebe523a86a199d1178d802d /media-gfx/xv | |
parent | alpha/ia64/s390/sh/sparc stable wrt #386053 (diff) | |
download | gentoo-2-f1ce80940cae0fb94345188979c779be4411a436.tar.gz gentoo-2-f1ce80940cae0fb94345188979c779be4411a436.tar.bz2 gentoo-2-f1ce80940cae0fb94345188979c779be4411a436.zip |
old
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/xv')
-rw-r--r-- | media-gfx/xv/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/xv/xv-3.10a-r15.ebuild | 90 |
2 files changed, 4 insertions, 91 deletions
diff --git a/media-gfx/xv/ChangeLog b/media-gfx/xv/ChangeLog index f64688f20236..29da00dbbfa0 100644 --- a/media-gfx/xv/ChangeLog +++ b/media-gfx/xv/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/xv # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.111 2011/10/23 15:38:08 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.112 2011/10/23 16:29:53 ssuominen Exp $ + + 23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -xv-3.10a-r15.ebuild: + old 23 Oct 2011; Raúl Porcel <armin76@gentoo.org> xv-3.10a-r16.ebuild: alpha/ia64/sparc stable wrt #386031 diff --git a/media-gfx/xv/xv-3.10a-r15.ebuild b/media-gfx/xv/xv-3.10a-r15.ebuild deleted file mode 100644 index 98a350909a2e..000000000000 --- a/media-gfx/xv/xv-3.10a-r15.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a-r15.ebuild,v 1.13 2011/02/26 18:31:17 signals Exp $ - -inherit eutils flag-o-matic - -JUMBOV=20070520 -DESCRIPTION="An interactive image manipulation program that supports a wide variety of image formats" -HOMEPAGE="http://www.trilon.com/xv/index.html http://www.sonic.net/~roelofs/greg_xv.html" -SRC_URI="mirror://sourceforge/png-mng/${P}-jumbo-patches-${JUMBOV}.tar.gz ftp://ftp.cis.upenn.edu/pub/xv/${P}.tar.gz" - -LICENSE="xv" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="jpeg tiff png" - -DEPEND="x11-libs/libXt - jpeg? ( virtual/jpeg ) - tiff? ( >=media-libs/tiff-3.6.1-r2 ) - png? ( >=media-libs/libpng-1.2 >=sys-libs/zlib-1.1.4 )" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Apply the jumbo patch - epatch "${WORKDIR}/${P}"-jumbo-fix-enh-patch-${JUMBOV}.txt - - # OSX and BSD xv.h define patches - epatch "${FILESDIR}/${P}"-osx-bsd-${JUMBOV}.patch - - # OSX malloc patch - epatch "${FILESDIR}/${P}"-vdcomp-osx-${JUMBOV}.patch - - # Disable JP2K (i.e. use system JPEG libs) - epatch "${FILESDIR}/${P}"-disable-jp2k-${JUMBOV}.patch - - # Fix -wait option (do not rely on obsolete CLK_TCK) - epatch "${FILESDIR}/${P}"-fix-wait-${JUMBOV}.patch - - # Use LDFLAGS on link lines - epatch "${FILESDIR}/${P}"-add-ldflags-${JUMBOV}.patch - - # Link with various image libraries depending on use flags - IMAGE_LIBS="" - use jpeg && IMAGE_LIBS="${IMAGE_LIBS} -ljpeg" - use png && IMAGE_LIBS="${IMAGE_LIBS} -lz -lpng" - use tiff && IMAGE_LIBS="${IMAGE_LIBS} -ltiff" - - sed -i \ - -e 's/\(^JPEG.*\)/#\1/g' \ - -e 's/\(^PNG.*\)/#\1/g' \ - -e 's/\(^TIFF.*\)/#\1/g' \ - -e "s/\(^LIBS = .*\)/\1${IMAGE_LIBS}/g" Makefile - - # /usr/bin/gzip => /bin/gzip - sed -i -e 's#/usr\(/bin/gzip\)#\1#g' config.h - - # Fix installation of ps docs - sed -i -e 's#$(DESTDIR)$(LIBDIR)#$(LIBDIR)#g' Makefile -} - -src_compile() { - append-flags -DUSE_GETCWD -DLINUX -DUSLEEP - use jpeg && append-flags -DDOJPEG - use png && append-flags -DDOPNG - use tiff && append-flags -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX - - emake \ - CC="$(tc-getCC)" CCOPTS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - PREFIX=/usr \ - DOCDIR=/usr/share/doc/${PF} \ - LIBDIR="${T}" || die -} - -src_install() { - dodir /usr/bin - dodir /usr/share/man/man1 - - emake \ - DESTDIR="${D}" \ - PREFIX=/usr \ - DOCDIR=/usr/share/doc/${PF} \ - LIBDIR="${T}" install || die - - dodoc CHANGELOG BUGS IDEAS - doicon "${FILESDIR}"/${PN}.png - make_desktop_entry xv "" "" "Graphics;Viewer" -} |