diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-12 10:24:19 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-12 10:24:19 +0300 |
commit | b3272648fc6c276df4763f12fc9c4bcfc4e80561 (patch) | |
tree | f87ea8a14343d32ebeea0aeda769bd22cf0a4048 /media-gfx/viewer | |
parent | www-apps/drupal: drop 10.0.11 (diff) | |
download | gentoo-b3272648fc6c276df4763f12fc9c4bcfc4e80561.tar.gz gentoo-b3272648fc6c276df4763f12fc9c4bcfc4e80561.tar.bz2 gentoo-b3272648fc6c276df4763f12fc9c4bcfc4e80561.zip |
media-gfx/viewer: EAPI8, configure.in
Closes: https://bugs.gentoo.org/922946
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'media-gfx/viewer')
-rw-r--r-- | media-gfx/viewer/viewer-0.8.0-r2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/viewer/viewer-0.8.0-r2.ebuild b/media-gfx/viewer/viewer-0.8.0-r2.ebuild new file mode 100644 index 000000000000..d2b0697205e4 --- /dev/null +++ b/media-gfx/viewer/viewer-0.8.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A stereo pair image viewer (supports ppm's only)" +HOMEPAGE="http://www-users.cs.umn.edu/~wburdick/geowall/viewer.html" +# SRC_URI="ftp://ftp.cs.umn.edu/dept/users/wburdick/geowall/${P}.tar.gz" +SRC_URI="http://www-users.cs.umn.edu/~wburdick/ftp/geowall/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND=" + virtual/opengl + media-libs/freeglut + x11-libs/libXmu + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i configure.in \ + -e "s|/usr/X11R6/lib|/usr/$(get_libdir)/X11|g" \ + -e 's|/usr/X11R6/include|/usr/include/X11|g' || die + mv configure.in configure.ac || die # bug 922946 + eautoreconf +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" +} + +src_install() { + dobin viewer + doman viewer.1 + + dodoc AUTHORS ChangeLog README +} |