From 0952577361a15c32e92dbf0fad81420c4b1fd40c Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 26 May 2019 17:21:18 +0200 Subject: media-gfx/xpaint: [QA] Fix virtual/jpeg SLOT Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: David Seifert --- media-gfx/xpaint/xpaint-2.9.10.2-r1.ebuild | 84 +++++++++++++++++++++++++++++ media-gfx/xpaint/xpaint-2.9.10.2.ebuild | 84 ----------------------------- media-gfx/xpaint/xpaint-2.9.10.3-r1.ebuild | 85 ++++++++++++++++++++++++++++++ media-gfx/xpaint/xpaint-2.9.10.3.ebuild | 85 ------------------------------ 4 files changed, 169 insertions(+), 169 deletions(-) create mode 100644 media-gfx/xpaint/xpaint-2.9.10.2-r1.ebuild delete mode 100644 media-gfx/xpaint/xpaint-2.9.10.2.ebuild create mode 100644 media-gfx/xpaint/xpaint-2.9.10.3-r1.ebuild delete mode 100644 media-gfx/xpaint/xpaint-2.9.10.3.ebuild (limited to 'media-gfx/xpaint') diff --git a/media-gfx/xpaint/xpaint-2.9.10.2-r1.ebuild b/media-gfx/xpaint/xpaint-2.9.10.2-r1.ebuild new file mode 100644 index 000000000000..4ca535290046 --- /dev/null +++ b/media-gfx/xpaint/xpaint-2.9.10.2-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +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="jpeg2k pgf tiff" + +RDEPEND=" + media-libs/fontconfig + media-libs/freetype + media-libs/libpng:0 + x11-libs/libICE + x11-libs/libX11 + >=x11-libs/libXaw3dXft-1.6.2c + x11-libs/libXext + x11-libs/libXft + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt + sys-libs/zlib + virtual/jpeg:0 + jpeg2k? ( media-libs/openjpeg:0 ) + pgf? ( media-libs/libpgf ) + tiff? ( + media-libs/jbigkit:0 + media-libs/tiff:0 + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.9.9.4-{QA1,submake,parallel-make}.patch \ + "${FILESDIR}"/${PN}-2.9.10.2-{QA2,tiff}.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable tiff) \ + $(use_enable jpeg2k 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)" \ + -C util +} + +src_install() { + default + emake \ + WITH_PGF="$(usex pgf "yes" "no")" \ + DESTDIR="${ED}" \ + -C util install +} + +pkg_postinst() { + elog "optional dependencies:" + elog " app-text/gv (external viewer for PostScript output)" + elog " media-gfx/imagemagick (external viewer for pixel graphics)" + elog " net-print/cups (printing)" +} diff --git a/media-gfx/xpaint/xpaint-2.9.10.2.ebuild b/media-gfx/xpaint/xpaint-2.9.10.2.ebuild deleted file mode 100644 index 3e5f5b70aa0d..000000000000 --- a/media-gfx/xpaint/xpaint-2.9.10.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils - -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="jpeg2k pgf tiff" - -RDEPEND=" - media-libs/fontconfig - media-libs/freetype - media-libs/libpng:0 - x11-libs/libICE - x11-libs/libX11 - >=x11-libs/libXaw3dXft-1.6.2c - x11-libs/libXext - x11-libs/libXft - x11-libs/libXmu - x11-libs/libXpm - x11-libs/libXt - sys-libs/zlib - virtual/jpeg - jpeg2k? ( media-libs/openjpeg:0 ) - pgf? ( media-libs/libpgf ) - tiff? ( - media-libs/jbigkit:0 - media-libs/tiff:0 - )" -DEPEND="${RDEPEND} - sys-devel/flex - sys-devel/bison - virtual/pkgconfig" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.9.9.4-{QA1,submake,parallel-make}.patch \ - "${FILESDIR}"/${PN}-2.9.10.2-{QA2,tiff}.patch - eautoreconf -} - -src_configure() { - econf \ - $(use_enable tiff) \ - $(use_enable jpeg2k 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)" \ - -C util -} - -src_install() { - default - emake \ - WITH_PGF="$(usex pgf "yes" "no")" \ - DESTDIR="${ED}" \ - -C util install -} - -pkg_postinst() { - elog "optional dependencies:" - elog " app-text/gv (external viewer for PostScript output)" - elog " media-gfx/imagemagick (external viewer for pixel graphics)" - elog " net-print/cups (printing)" -} diff --git a/media-gfx/xpaint/xpaint-2.9.10.3-r1.ebuild b/media-gfx/xpaint/xpaint-2.9.10.3-r1.ebuild new file mode 100644 index 000000000000..00b7b44564af --- /dev/null +++ b/media-gfx/xpaint/xpaint-2.9.10.3-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +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="jpeg2k pgf tiff" + +RDEPEND=" + media-libs/fontconfig + media-libs/freetype + media-libs/libpng:0 + x11-libs/libICE + x11-libs/libX11 + >=x11-libs/libXaw3dXft-1.6.2c + x11-libs/libXext + x11-libs/libXft + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt + sys-libs/zlib + virtual/jpeg:0 + jpeg2k? ( media-libs/openjpeg:0 ) + pgf? ( media-libs/libpgf ) + tiff? ( + media-libs/jbigkit:0 + media-libs/tiff:0 + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.9.9.4-{QA1,submake,parallel-make}.patch \ + "${FILESDIR}"/${PN}-2.9.10.2-{QA2,tiff}.patch \ + "${FILESDIR}"/${PN}-2.9.10.3-Fix-build-with-clang.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable tiff) \ + $(use_enable jpeg2k 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)" \ + -C util +} + +src_install() { + default + emake \ + WITH_PGF="$(usex pgf "yes" "no")" \ + DESTDIR="${ED}" \ + -C util install +} + +pkg_postinst() { + elog "optional dependencies:" + elog " app-text/gv (external viewer for PostScript output)" + elog " media-gfx/imagemagick (external viewer for pixel graphics)" + elog " net-print/cups (printing)" +} diff --git a/media-gfx/xpaint/xpaint-2.9.10.3.ebuild b/media-gfx/xpaint/xpaint-2.9.10.3.ebuild deleted file mode 100644 index f75912276e09..000000000000 --- a/media-gfx/xpaint/xpaint-2.9.10.3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils - -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="jpeg2k pgf tiff" - -RDEPEND=" - media-libs/fontconfig - media-libs/freetype - media-libs/libpng:0 - x11-libs/libICE - x11-libs/libX11 - >=x11-libs/libXaw3dXft-1.6.2c - x11-libs/libXext - x11-libs/libXft - x11-libs/libXmu - x11-libs/libXpm - x11-libs/libXt - sys-libs/zlib - virtual/jpeg:62 - jpeg2k? ( media-libs/openjpeg:0 ) - pgf? ( media-libs/libpgf ) - tiff? ( - media-libs/jbigkit:0 - media-libs/tiff:0 - )" -DEPEND="${RDEPEND} - sys-devel/flex - sys-devel/bison - virtual/pkgconfig" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.9.9.4-{QA1,submake,parallel-make}.patch \ - "${FILESDIR}"/${PN}-2.9.10.2-{QA2,tiff}.patch \ - "${FILESDIR}"/${PN}-2.9.10.3-Fix-build-with-clang.patch - eautoreconf -} - -src_configure() { - econf \ - $(use_enable tiff) \ - $(use_enable jpeg2k 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)" \ - -C util -} - -src_install() { - default - emake \ - WITH_PGF="$(usex pgf "yes" "no")" \ - DESTDIR="${ED}" \ - -C util install -} - -pkg_postinst() { - elog "optional dependencies:" - elog " app-text/gv (external viewer for PostScript output)" - elog " media-gfx/imagemagick (external viewer for pixel graphics)" - elog " net-print/cups (printing)" -} -- cgit v1.2.3-65-gdbad