diff options
author | Sam James <sam@gentoo.org> | 2022-10-08 20:53:27 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-08 21:01:29 +0100 |
commit | ac1c738f579296ca0f32df1a7ed6a5fd25a88739 (patch) | |
tree | a7356b591291071f41842fb4249219a8e1af6525 /media-gfx/xv | |
parent | sys-process/btop: Stabilize 1.2.9 arm64, #876043 (diff) | |
download | gentoo-ac1c738f579296ca0f32df1a7ed6a5fd25a88739.tar.gz gentoo-ac1c738f579296ca0f32df1a7ed6a5fd25a88739.tar.bz2 gentoo-ac1c738f579296ca0f32df1a7ed6a5fd25a88739.zip |
media-gfx/xv: drop 3.10a-r19
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/xv')
-rw-r--r-- | media-gfx/xv/xv-3.10a-r19.ebuild | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/media-gfx/xv/xv-3.10a-r19.ebuild b/media-gfx/xv/xv-3.10a-r19.ebuild deleted file mode 100644 index 1a71a973d04e..000000000000 --- a/media-gfx/xv/xv-3.10a-r19.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils flag-o-matic toolchain-funcs - -JUMBOV=20070520 -DESCRIPTION="Interactive image manipulation program supporting a wide variety of 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 - mirror://gentoo/${P}.png.bz2" - -LICENSE="xv" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="jpeg tiff png" - -DEPEND="x11-libs/libXt - jpeg? ( virtual/jpeg:0 ) - tiff? ( media-libs/tiff:0 ) - png? ( >=media-libs/libpng-1.2:0= sys-libs/zlib )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${WORKDIR}/${P}-jumbo-fix-enh-patch-${JUMBOV}.txt" - "${FILESDIR}/${P}-osx-bsd-${JUMBOV}.patch" - "${FILESDIR}/${P}-vdcomp-osx-${JUMBOV}.patch" - "${FILESDIR}/${P}-disable-jp2k-${JUMBOV}.patch" - "${FILESDIR}/${P}-fix-wait-${JUMBOV}.patch" - "${FILESDIR}/${P}-add-ldflags-${JUMBOV}.patch" - "${FILESDIR}/${P}-libpng15-r1.patch" - "${FILESDIR}/${P}-wformat-security.patch" -) - -src_prepare() { - default - - append-cppflags -DUSE_GETCWD -DLINUX -DUSLEEP - use jpeg && append-cppflags -DDOJPEG - use png && append-cppflags -DDOPNG - use tiff && append-cppflags -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX - - # 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 || die - - # /usr/bin/gzip => /bin/gzip - sed -i -e 's#/usr\(/bin/gzip\)#'"${EPREFIX}"'\1#g' config.h || die - - # Fix installation of ps docs - sed -i -e 's#$(DESTDIR)$(LIBDIR)#$(LIBDIR)#g' Makefile || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" CCOPTS="${CPPFLAGS} ${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - PREFIX="${EPREFIX}"/usr \ - DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \ - LIBDIR="${T}" -} - -src_install() { - dodir /usr/bin - dodir /usr/share/man/man1 - - emake \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}"/usr \ - DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \ - LIBDIR="${T}" install - - dodoc CHANGELOG BUGS IDEAS - newicon "${WORKDIR}"/${P}.png ${PN}.png - make_desktop_entry xv "" "" "Graphics;Viewer" -} |