From 6c988f4ed171aed46326587a0ec0d64297b20f49 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 11 Mar 2024 00:45:39 +0000 Subject: gentoo auto-resync : 11:03:2024 - 00:45:38 --- media-gfx/exact-image/Manifest | 2 +- media-gfx/exact-image/exact-image-1.2.1-r1.ebuild | 97 +++++++++++++++++++++++ media-gfx/exact-image/exact-image-1.2.1.ebuild | 95 ---------------------- 3 files changed, 98 insertions(+), 96 deletions(-) create mode 100644 media-gfx/exact-image/exact-image-1.2.1-r1.ebuild delete mode 100644 media-gfx/exact-image/exact-image-1.2.1.ebuild (limited to 'media-gfx/exact-image') diff --git a/media-gfx/exact-image/Manifest b/media-gfx/exact-image/Manifest index e997283e7fa7..18b9fa070cd6 100644 --- a/media-gfx/exact-image/Manifest +++ b/media-gfx/exact-image/Manifest @@ -5,5 +5,5 @@ AUX exact-image-1.2.1-gcc6.patch 1874 BLAKE2B 46b1dbaad49a1588c1957f48fef6e9a3ab DIST exact-image-1.0.2.tar.bz2 322174 BLAKE2B 67afefb4c5a52416459cd4ac6198012eb6d7895a73ea8363fae05286c7e7f62aa1a02166985f53b5638c7dc7b23b4dc1fb1c7b2272a9dc595ce329a7083ee1b9 SHA512 8ba5a198a236ddf5fa58f40c80f32ba9d300376c637a13a7acf3d2db7906fced373b33a7ecff9cff4d09d8b21de9ce1fb9f5bfb1f4522557bd01af0e3d6dcc65 DIST exact-image-1.2.1.tar.bz2 320849 BLAKE2B 615884f2501b3e9ff00410d3569c8aa7d0131610f990591eb77a11cf6d7249342b4a2ece0f2dd62ea7a1cdd213ae1a98bf6da0817b74d8c8e78cbca5b8e67e33 SHA512 34af0575d8564dd5942f0e3ec5b6fe7fb234a96e621a737359406a2571ed8ac2c15ef2e7655a7d260b37b68138e071342583f47ad7ef0e3b3511e5ebc1a873a8 EBUILD exact-image-1.0.2-r8.ebuild 2529 BLAKE2B ba0ee3fadcf7c780b20847064f993ce5c9fec51953488b92f3fe5677ac9f0e924ed809bf5a5d6877c9a5167ea29ccb70fdc0ee6e962387a69a31e73c926e4ff9 SHA512 b2a37c8a265078a5ee42434b467434c6347720eb95b6ac8f40c6838776ec8d7ad24ae407c64eae04a56ed04ae775e3f93e69b1cf047564d3d4b6bfa54a818a2e -EBUILD exact-image-1.2.1.ebuild 2167 BLAKE2B 0d6d6e0fd8cde73a4d0b9351e15ed6badeaf152e348b6d600dffd6f294862224dff2365a1002cd837058619951aa7f96d105800cee341baff48046d549f2b99c SHA512 501139aa699832476218ea8aa9aff6f44bbebbde3bff3042499aad899f269c1f372c9a9dc3e4f20a1021fd58d7ca0cfb9ce4d6ba5276bc73b4f4826abd009fe2 +EBUILD exact-image-1.2.1-r1.ebuild 2242 BLAKE2B 642f483e0582edcb94001c310b5b1631b8488cbc7b6dae234811a8ae05dd3148d10ae14b404f07e0ef42b38a95bea117d5a6dfa09c3f71b8e2320a5ada4d7bba SHA512 8cbc0bba01326f80a4dc19d7aa29c39d08d7e6425f8ea7c1f3f7350c442c5390d879f3fefb6bfc5e6238a9f7623c651a459a85dd94750de260d52d7cc809ec8e MISC metadata.xml 330 BLAKE2B 468dfd9c9bc2687f285c5a7496aa989843c32929b4c410253f1d046df2e2416604f6ff8b1cb4622e85e27f13f26cede91825d04b7748cb4f74fdff13478046c1 SHA512 01bc80b3dc7ed3ff2f3402ecd3214793d18267be1e1e4c4b42718b6f6a4982404e243771917fbbae7a1bd6b12a1cd80534d9738149ec9b2a88bbc1ad62fcdf14 diff --git a/media-gfx/exact-image/exact-image-1.2.1-r1.ebuild b/media-gfx/exact-image/exact-image-1.2.1-r1.ebuild new file mode 100644 index 000000000000..7480e98e5c79 --- /dev/null +++ b/media-gfx/exact-image/exact-image-1.2.1-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua-single toolchain-funcs + +DESCRIPTION="A fast, modern and generic image processing library" +HOMEPAGE="https://exactcode.com/opensource/exactimage/" +SRC_URI="http://dl.exactcode.de/oss/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="expat jpeg jpegxl lua openexr perl png swig tiff truetype X" +REQUIRED_USE="lua? ( swig ) perl? ( swig )" +# Tests are broken; 'make check' fails and referenced testsuite dir not found +RESTRICT="test" + +RDEPEND=" + x11-libs/agg[truetype] + sys-libs/zlib + expat? ( dev-libs/expat ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpegxl? ( =media-libs/libpng-1.2.43 ) + tiff? ( media-libs/tiff:= ) + truetype? ( >=media-libs/freetype-2 ) + X? ( + x11-libs/libXext + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + )" +DEPEND=" + ${RDEPEND} + swig? ( dev-lang/swig ) +" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-gcc6.patch + "${FILESDIR}"/${PN}-1.0.2-g++.patch +) + +src_prepare() { + default + + # Respect user CFLAGS/CXXFLAGS. + sed -i \ + -e '/C\(XX\)\?FLAGS =/s/-O2//' \ + -e "\$aCFLAGS += ${CFLAGS}\nCXXFLAGS += ${CXXFLAGS}" \ + Makefile || die + + # Show commands. Use qualified CC/CXX. + sed -i \ + -e '/^Q =/d' \ + -e '/^\t@echo /d' \ + -e "\$aCC:=$(tc-getCC)\nCXX:=$(tc-getCXX)" \ + build/bottom.make || die +} + +src_configure() { + # evas -> enlightenment overlay + # bardecode -> protected by custom license + # libungif -> not supported anymore + # python -> allegedly not python3, but python2 only + + ./configure \ + --prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + $(use_with X x11) \ + $(use_with truetype freetype) \ + --without-evas \ + $(use_with jpeg libjpeg) \ + $(use_with jpegxl libjxl) \ + $(use_with tiff libtiff) \ + $(use_with png libpng) \ + --without-libgif \ + --without-jasper \ + $(use_with openexr) \ + $(use_with expat) \ + --without-lcms \ + --without-bardecode \ + $(use_with lua) \ + $(use_with swig) \ + $(use_with perl) \ + --without-python \ + --without-php \ + --without-ruby || die +} diff --git a/media-gfx/exact-image/exact-image-1.2.1.ebuild b/media-gfx/exact-image/exact-image-1.2.1.ebuild deleted file mode 100644 index ff25fe575bdc..000000000000 --- a/media-gfx/exact-image/exact-image-1.2.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit lua-single toolchain-funcs - -DESCRIPTION="A fast, modern and generic image processing library" -HOMEPAGE="https://exactcode.com/opensource/exactimage/" -SRC_URI="http://dl.exactcode.de/oss/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="expat jpeg lua openexr perl png swig tiff truetype X" -REQUIRED_USE="lua? ( swig ) perl? ( swig )" -# Tests are broken; 'make check' fails and referenced testsuite dir not found -RESTRICT="test" - -RDEPEND=" - x11-libs/agg[truetype] - sys-libs/zlib - expat? ( dev-libs/expat ) - jpeg? ( media-libs/libjpeg-turbo:= ) - lua? ( ${LUA_DEPS} ) - openexr? ( media-libs/openexr:= ) - perl? ( dev-lang/perl ) - png? ( >=media-libs/libpng-1.2.43 ) - tiff? ( media-libs/tiff:= ) - truetype? ( >=media-libs/freetype-2 ) - X? ( - x11-libs/libXext - x11-libs/libXt - x11-libs/libICE - x11-libs/libSM - )" -DEPEND=" - ${RDEPEND} - swig? ( dev-lang/swig ) -" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-gcc6.patch - "${FILESDIR}"/${PN}-1.0.2-g++.patch -) - -src_prepare() { - default - - # Respect user CFLAGS/CXXFLAGS. - sed -i \ - -e '/C\(XX\)\?FLAGS =/s/-O2//' \ - -e "\$aCFLAGS += ${CFLAGS}\nCXXFLAGS += ${CXXFLAGS}" \ - Makefile || die - - # Show commands. Use qualified CC/CXX. - sed -i \ - -e '/^Q =/d' \ - -e '/^\t@echo /d' \ - -e "\$aCC:=$(tc-getCC)\nCXX:=$(tc-getCXX)" \ - build/bottom.make || die -} - -src_configure() { - # evas -> enlightenment overlay - # bardecode -> protected by custom license - # libungif -> not supported anymore - # python -> allegedly not python3, but python2 only - - ./configure \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - $(use_with X x11) \ - $(use_with truetype freetype) \ - --without-evas \ - $(use_with jpeg libjpeg) \ - $(use_with tiff libtiff) \ - $(use_with png libpng) \ - --without-libgif \ - --without-jasper \ - $(use_with openexr) \ - $(use_with expat) \ - --without-lcms \ - --without-bardecode \ - $(use_with lua) \ - $(use_with swig) \ - $(use_with perl) \ - --without-python \ - --without-php \ - --without-ruby || die -} -- cgit v1.2.3