summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2022-10-02 14:00:28 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-10-27 15:04:54 +0300
commit5ed691bae6851191ec5e3b2e83182aac6d4d2b93 (patch)
tree91d2085269f735c2f646f8b477c0d49880774ae3 /media-gfx/xpaint
parentapp-backup/dar: drop 2.7.6 (diff)
downloadgentoo-5ed691bae6851191ec5e3b2e83182aac6d4d2b93.tar.gz
gentoo-5ed691bae6851191ec5e3b2e83182aac6d4d2b93.tar.bz2
gentoo-5ed691bae6851191ec5e3b2e83182aac6d4d2b93.zip
media-gfx/xpaint: drop 3.1.4
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/xpaint')
-rw-r--r--media-gfx/xpaint/xpaint-3.1.4.ebuild96
1 files changed, 0 insertions, 96 deletions
diff --git a/media-gfx/xpaint/xpaint-3.1.4.ebuild b/media-gfx/xpaint/xpaint-3.1.4.ebuild
deleted file mode 100644
index adb623f11685..000000000000
--- a/media-gfx/xpaint/xpaint-3.1.4.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop toolchain-funcs xdg-utils
-
-DESCRIPTION="Image editor with tiff, jpeg and png support"
-HOMEPAGE="http://sf-xpaint.sourceforge.net/"
-SRC_URI="mirror://sourceforge/sf-xpaint/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="pgf tiff"
-# jpeg2k disabled for blocking media-libs/openjpeg:0 security cleanup, bug 735592
-
-RDEPEND="
- media-libs/fontconfig
- media-libs/libjpeg-turbo:=
- media-libs/libpng:0=
- media-libs/netpbm
- x11-libs/libX11
- >=x11-libs/libXaw3dXft-1.6.2h[unicode]
- x11-libs/libXext
- x11-libs/libXft
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libXt
- pgf? ( media-libs/libpgf )
- tiff? ( media-libs/tiff:0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.3-libtool-clang.patch
- "${FILESDIR}"/${PN}-3.1.3-gentoo-qa.patch
- "${FILESDIR}"/${PN}-3.1.3-gentoo-prefix.patch
- "${FILESDIR}"/${P}-gentoo-shared-lib.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable tiff) \
- --disable-libdvipgm \
- --disable-libopenjpeg
-}
-
-src_compile() {
- # clean up
- emake clean
- emake -C util clean
-
- # parallel make still fails sometimes
- emake substads
- emake xpaint.1
-
- default
- emake \
- WITH_PGF="$(usex pgf "yes" "no")" \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- includedir="${EPREFIX}"/usr/include \
- -C util
-}
-
-src_install() {
- default
- emake \
- WITH_PGF="$(usex pgf "yes" "no")" \
- DESTDIR="${ED}" \
- -C util install
- doicon icons/xpaint.svg
- make_desktop_entry "${PN}"
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}