mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-gfx/xfig: add 9999
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/41445 Closes: https://github.com/gentoo/gentoo/pull/41445 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
b31ecb0e38
commit
69d50c2d02
66
media-gfx/xfig/xfig-9999.ebuild
Normal file
66
media-gfx/xfig/xfig-9999.ebuild
Normal file
@@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature xdg
|
||||
|
||||
DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window"
|
||||
HOMEPAGE="https://mcj.sourceforge.net/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://git.code.sf.net/p/mcj/xfig"
|
||||
else
|
||||
SRC_URI="https://downloads.sourceforge.net/project/mcj/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/ghostscript-gpl:=
|
||||
>=media-gfx/fig2dev-${PV}
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpng:=
|
||||
media-libs/tiff:=
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw3d[unicode(+)]
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-fonts/font-misc-misc
|
||||
media-fonts/urw-fonts
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.2.6a-solaris.patch"
|
||||
"${FILESDIR}/${PN}-3.2.9-app-defaults.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}" # it expects docdir...
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
optfeature "GIF support" media-libs/netpbm virtual/imagemagick-tools
|
||||
}
|
||||
Reference in New Issue
Block a user