summaryrefslogtreecommitdiff
path: root/media-libs/imlib2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-11 06:32:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-11 06:32:47 +0100
commit900988746a1a7412b5d0f0025e9f892233a417ff (patch)
tree80904da68f8e4e3ef838fb178a99ad11c54ccd3b /media-libs/imlib2
parenteccbaf6d01fb4a73c18778fa551e74960b1e0419 (diff)
gentoo auto-resync : 11:04:2024 - 06:32:47
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/Manifest4
-rw-r--r--media-libs/imlib2/imlib2-1.12.2.ebuild101
-rw-r--r--media-libs/imlib2/metadata.xml20
3 files changed, 117 insertions, 8 deletions
diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
index d296135c1a11..b724e27472de 100644
--- a/media-libs/imlib2/Manifest
+++ b/media-libs/imlib2/Manifest
@@ -1,5 +1,7 @@
DIST imlib2-1.11.0.tar.xz 820368 BLAKE2B 2e1dec04c44ce14429910c0dd6b7b5173bc70e8968912c9c25e8b47d38fdfd6753c29de2e5a2ae0b0e6498550e207989ae927682b09032b637baf759744dfbec SHA512 2727b217ae18e1015591f2587f885a5a8d59471d6051f1aefb761329fd0fc979163e228154b2bff8728a3a2acc28437f189989d24a4d6e37bfc6f69445bd47e7
+DIST imlib2-1.12.2.tar.xz 831812 BLAKE2B 6b1bad56a70c3beb91ef85d6b7a40c80d0f3d2dc8b87bb9d37f2073ab0154860230671c3e78bc87051e5f25fc5871a036cb51dcc24b6734dcd2c322f406796b3 SHA512 3bffb8f0f6b3ec73a81f1d0c6ef3a3443425677cd8a1950422f102b67769c06df54128b21f84bd6c7880120cc5ec6f30d2ab134b3c001ad77f2d39efd749a5b7
DIST imlib2-1.9.1.tar.xz 813104 BLAKE2B ef7369d2285bd5b207f646ebb12492323203306c95786d8561a1191dbe489a8efe61975e4deed7bc9c8ed0ac24cf9bd826fa5a24095bc3d254e6f6d6379c8c8b SHA512 00eb8804a32e1403614e9f899f358dd9797f4bcfa7e9fdecd37992731019933e39834a60bd20be8fb69a35161ba1e784bd638b5ecb626d01a4f69c70c330e5f1
EBUILD imlib2-1.11.0.ebuild 3036 BLAKE2B 630ee27913e79f911faa9e9cf4652cb0f2dc4fcba531f2756d06846b4afa32feb36e6e7be27b95bbfac307a1af328b8618fc7a9d0b09250df46cf73e0487ed2b SHA512 af2413be270755ebdbb13f364a9d7e0fe7eb7bbcd17abf191a2b4a962e0ca16f03b495469215566ffd8642fa15dffd3da303e69827fb7e9005b7001159aba250
+EBUILD imlib2-1.12.2.ebuild 3144 BLAKE2B 8717c67628acf2b9a73938f9931761adfa503aae7f05bb554d19a7aee9e6729d78d50a4bbaadcf5a9f4d42db24183e23792da6fdfe557b9755b7c959dd841052 SHA512 29fab9095c807b5aab722f758084ab31b4767cee07b8c72a25275bd20f2f6396f9ded2994a357d432f39ffc8fc0333ccd7c9e01e2970611a20cc0a13faa596be
EBUILD imlib2-1.9.1-r1.ebuild 2936 BLAKE2B b67dcd85bcdcab8f81e8d9b0345c04813467561ea0f38afb075145c780639440d8472428ab77fcf48e8440bf895d54f969e3ff0e7b8b94b5e377e4bb8f73a7b0 SHA512 f6f4d52aa8ba13f6ff2a7a5c8f091fd91ebabee6f9460847dd3c9bd02aeb98a4ea77079678e8c5cf069919a6b4ba94a9ac7cc9ca6bb6b04b9fb7bf6da9973f13
-MISC metadata.xml 3423 BLAKE2B 03d8f6f549f5484e694720af2c85f65f86fb1043927d0a4d5b2ff06a47bbfad08b345df81b30abd4496bc6737c052142f39493eebacbb7addf4e4af888d49ba3 SHA512 45d368a4739bf6c3b76cfd55ae59e5d18afda6585b2b966e78e17b1b1922ff3a4e429823d53edcb39323ce6f6b548494f0a240f29ef4d393ddbb2f18212f4d69
+MISC metadata.xml 3499 BLAKE2B 116f7f67a7fe0354e9da8b94d7c833a100341fe377561beaa6d40c05994dd776d2655b8b2d3d356e3f53b8cd9e1cfe1b310df994106f6416b4fbbfea3363f13d SHA512 0dbb2db546597fb2b00822f6860feccc12f4ba22deeeff3b4411c5025a54beaa66c81145dc70936f8a959aeb6ea0b8be05a5afcf8d9c171bac8bf9b97250c034
diff --git a/media-libs/imlib2/imlib2-1.12.2.ebuild b/media-libs/imlib2/imlib2-1.12.2.ebuild
new file mode 100644
index 000000000000..95f292e1163c
--- /dev/null
+++ b/media-libs/imlib2/imlib2-1.12.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Must be bumped with media-plugins/imlib2_loaders!
+
+inherit multilib-minimal toolchain-funcs
+
+DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
+HOMEPAGE="https://www.enlightenment.org/
+ https://sourceforge.net/projects/enlightenment/files/imlib2-src/"
+SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+X apidoc bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 debug
+eps +filters +gif +jpeg jpeg2k jpegxl heif lzma mp3 packing +png
+raw +shm static-libs svg +text +tiff +webp zlib"
+
+REQUIRED_USE="shm? ( X )"
+
+RDEPEND="
+ X? (
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ )
+ bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
+ eps? ( app-text/libspectre )
+ gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
+ heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] )
+ jpeg2k? ( media-libs/openjpeg:=[${MULTILIB_USEDEP}] )
+ jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
+ jpegxl? ( media-libs/libjxl:=[${MULTILIB_USEDEP}] )
+ lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
+ text? ( media-libs/freetype:2[${MULTILIB_USEDEP}] )
+ mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
+ png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
+ raw? ( media-libs/libraw:= )
+ svg? ( >=gnome-base/librsvg-2.46.0:=[${MULTILIB_USEDEP}] )
+ tiff? ( >=media-libs/tiff-4.0.4:=[${MULTILIB_USEDEP}] )
+ webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
+ zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
+ !<media-plugins/imlib2_loaders-1.10.0
+"
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )"
+BDEPEND="
+ virtual/pkgconfig
+ apidoc? ( app-text/doxygen )
+"
+
+# default DOCS will haul README.in we do not need
+DOCS=( AUTHORS ChangeLog README TODO )
+
+multilib_src_configure() {
+ local myeconfargs=(
+ $(use_with X x)
+ $(multilib_native_use_enable apidoc doc-build)
+ $(use_with bzip2 bz2)
+ $(use_enable debug)
+ $(multilib_native_use_with eps ps)
+ $(use_enable filters)
+ $(use_with gif)
+ $(use_with heif)
+ $(use_with jpeg)
+ $(use_with jpeg2k j2k)
+ $(use_with jpegxl jxl)
+ $(use_with lzma)
+ $(use_with mp3 id3)
+ $(use_enable packing)
+ $(use_with png)
+ $(use_with raw)
+ $(use_with shm x-shm-fd)
+ $(use_enable static-libs static)
+ $(use_with svg)
+ $(use_enable text)
+ $(use_with tiff)
+ $(use_with webp)
+ $(use_with zlib)
+ --without-y4m # TODO(NRK): package libyuv
+ )
+
+ # imlib2 has different configure options for x86/amd64 assembly
+ if [[ $(tc-arch) == amd64 ]]; then
+ myeconfargs+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
+ else
+ myeconfargs+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
+ fi
+
+ ECONF_SOURCE="${S}" \
+ econf "${myeconfargs[@]}"
+}
+
+multilib_src_install() {
+ V=1 emake install DESTDIR="${D}"
+ find "${D}" -name '*.la' -delete || die
+ multilib_is_native_abi && use apidoc &&
+ export HTML_DOCS=( "${BUILD_DIR}/doc/html/"* )
+}
diff --git a/media-libs/imlib2/metadata.xml b/media-libs/imlib2/metadata.xml
index 27e892f3c09e..71448ea79f8e 100644
--- a/media-libs/imlib2/metadata.xml
+++ b/media-libs/imlib2/metadata.xml
@@ -1,24 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>nrk@disroot.org</email>
+ <name>NRK</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>dlan@gentoo.org</email>
+ <name>Yixun Lan</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<use>
<flag name="X">Use the X window system</flag>
<flag name="apidoc">Provide doxygen generated API docs</flag>
<flag name="bzip2">Bzip2 loader support</flag>
<flag name="filters">Build filter functions (blur, sharpen, etc)</flag>
- <flag name="gif">Gif image loader support</flag>
- <flag name="jpeg">Jpeg image loader support</flag>
<flag name="heif">Heif and Avif image loader support</flag>
<flag name="eps">Eps image loader support</flag>
- <flag name="jpegxl">Jxl image loader support</flag>
<flag name="mp3">ID3 loader support</flag>
<flag name="packing">Enable structure packing. This will reduce memory footprint at the cost of unaligned memory access</flag>
- <flag name="png">PNG image loader support</flag>
<flag name="shm">Use MIT shared memory support for X image transfer</flag>
<flag name="text">Build text (TrueType font) functions</flag>
- <flag name="tiff">TIFF image loader support</flag>
- <flag name="webp">WEBP image loader support</flag>
<flag name="zlib">Zlib loader support</flag>
</use>
<longdescription>
@@ -70,5 +75,6 @@
</longdescription>
<upstream>
<remote-id type="sourceforge">enlightenment</remote-id>
+ <bugs-to>https://git.enlightenment.org/old/legacy-imlib2/issues</bugs-to>
</upstream>
</pkgmetadata>