diff options
author | 2022-09-30 05:31:46 -0400 | |
---|---|---|
committer | 2022-09-30 06:48:13 -0400 | |
commit | 5bc3dd271aacdb716cedc94495a343f1aeffb8bd (patch) | |
tree | b7ab72ea3e3e5b49312c0eef34e9b1f3ce8b8795 /x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | |
parent | x11-misc/xsnap: fix build with clang (diff) | |
download | gentoo-5bc3dd271aacdb716cedc94495a343f1aeffb8bd.tar.gz gentoo-5bc3dd271aacdb716cedc94495a343f1aeffb8bd.tar.bz2 gentoo-5bc3dd271aacdb716cedc94495a343f1aeffb8bd.zip |
x11-misc/xsnap: EAPI7->8, update deps
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc/xsnap/xsnap-1.5.15-r2.ebuild')
-rw-r--r-- | x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild deleted file mode 100644 index e93eb8f85a7d..000000000000 --- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" -HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" -SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-linux" -IUSE="" - -COMMON_DEPEND=" - media-libs/libpng:0 - virtual/jpeg:0 - x11-libs/libX11 - x11-libs/libXft - x11-libs/libXpm -" -RDEPEND=" - ${COMMON_DEPEND} - media-fonts/font-misc-misc -" -DEPEND=" - ${COMMON_DEPEND} - x11-base/xorg-proto -" -BDEPEND=" - app-text/rman - dev-lang/perl - sys-devel/gcc - >=x11-misc/imake-1.0.8-r1 -" - -DOCS=( AUTHORS Changelog README ) - -PATCHES=( - "${FILESDIR}"/${P}-root_name.patch - "${FILESDIR}"/${P}-clang.patch -) - -src_prepare() { - default - - sed -i \ - -e 's|/usr/share/locale|$(LOCALEDIR)|g' \ - -e 's|/usr/share/man/man1|$(MANDIR)|g' \ - -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) install|' \ - -e '21s|.*|LOCALEDIR = /usr/share/locale|' \ - Imakefile || die - sed -i \ - -e '/^LOCALEDIR=/d' \ - po/Makefile || die -} - -src_configure() { - CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CDEBUGFLAGS="${CFLAGS}" \ - EXTRA_LDOPTIONS="${LDFLAGS}" -} - -src_install() { - default - find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die -} |