diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-13 12:04:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-13 12:04:20 +0100 |
commit | d993571e2ee444d08f4e9e90d493ee37338657e3 (patch) | |
tree | 5a49a1d4ceffe800051e363f64571c3b6735d2f7 /media-libs/imlib | |
parent | 266d65d0cceeb55ab2cc3bf4e465d7f35502a900 (diff) |
gentoo auto-resync : 13:04:2024 - 12:04:19
Diffstat (limited to 'media-libs/imlib')
-rw-r--r-- | media-libs/imlib/Manifest | 1 | ||||
-rw-r--r-- | media-libs/imlib/imlib-1.9.15-r8.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/media-libs/imlib/Manifest b/media-libs/imlib/Manifest index ca413c41b096..22fa15da30b8 100644 --- a/media-libs/imlib/Manifest +++ b/media-libs/imlib/Manifest @@ -11,4 +11,5 @@ AUX imlib-security.patch 13040 BLAKE2B 65eb4e5435dea0bba755ae21548fd7c25cc65a0f5 DIST gtk-1-for-imlib.m4.bz2 2742 BLAKE2B af16f586cbfb53522bb53b55d551d21ddf765e06694bebe93637b24c31bfdfff95f7ef250e66b784d7371bb309e4939c7db40c0ba1f1b1d73526e16cf745a93f SHA512 83708af1c7d7cf10960463b785bad096d77e985be5907dd59c73c2cb86c4b89fb5453a02ffddca1519185b91d205dbd96c4c4c1df4da4b67e64bad413cd8a40e DIST imlib-1.9.15.tar.bz2 683242 BLAKE2B 16cc11d2ddc69af7201215454c465d104354b63b4e0b1d8aadd07daf889368478dce28ea8ecf6b16daef3019891fcf7a794abccf02b236d1a6c737b0e9db08d3 SHA512 f50d9141b3c54b44921aa09c0a5ea848aefaa904efdd6da132dace42604671f8dbd3e4b71a596f054f0db4525ba2002864b5e5b21f8805cf1b5514b661ac254a EBUILD imlib-1.9.15-r7.ebuild 2157 BLAKE2B f3536ee499f91172c312d0237ad609f940f3cae1d4c1588f46c7676b1261f1780badc426afa7d9c3f0a5c4bcf4ca67030bfa40ab522d8d578af6d28140e14dff SHA512 4b0fad53f7879f91f2214f4bbbc73665f3c4b98dab3b938f28d502a490023f2c0c60c9739ef7ede5965325d92fa355ab219e9b2771871fa4982bb78b578cc7d3 +EBUILD imlib-1.9.15-r8.ebuild 2141 BLAKE2B 0af4e4c50093fa87dd0fd8d0eda32ede46fd20701aad19e5711c4aca9359ecb5a5e691832a6545de0fd9aa06f1786dd04155b2f060f4c4c35ec45658c7fd5561 SHA512 88a18205d4b188289e73d7c538d20d348527a16aad746163a8e562322110ec6e55dca0760a33e341c90831e151aed3de1d8c0d893db7c6bcc6682ac8b22a0243 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/media-libs/imlib/imlib-1.9.15-r8.ebuild b/media-libs/imlib/imlib-1.9.15-r8.ebuild new file mode 100644 index 000000000000..494be1fba26d --- /dev/null +++ b/media-libs/imlib/imlib-1.9.15-r8.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +DESCRIPTION="Image loading and rendering library" +HOMEPAGE="https://ftp.acc.umu.se/pub/GNOME/sources/imlib/1.9/" +SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.bz2 + mirror://gentoo/gtk-1-for-imlib.m4.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="static-libs" + +RDEPEND=" + >=media-libs/tiff-3.9.7-r1:=[${MULTILIB_USEDEP}] + >=media-libs/giflib-5.1:0=[${MULTILIB_USEDEP}] + media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] + >=media-libs/libpng-1.2.51:=[${MULTILIB_USEDEP}] + >=x11-libs/libICE-1.0.8-r1[${MULTILIB_USEDEP}] + >=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +PATCHES=( + # Fix aclocal underquoted definition warnings. + # Conditionalize gdk functions for bug 40453. + # Fix imlib-config for bug 3425. + "${FILESDIR}"/${P}.patch + "${FILESDIR}"/${PN}-security.patch #security #72681 + "${FILESDIR}"/${P}-bpp16-CVE-2007-3568.patch # security #201887 + "${FILESDIR}"/${P}-fix-rendering.patch #197489 + "${FILESDIR}"/${P}-asneeded.patch #207638 + "${FILESDIR}"/${P}-libpng15.patch #357167 + "${FILESDIR}"/${P}-underlinking-test.patch #367645 + "${FILESDIR}"/${P}-no-LDFLAGS-in-pc.patch + "${FILESDIR}"/${P}-giflib51-{1,2}.patch #538976 +) + +src_prepare() { + default + + mkdir m4 && cp "${WORKDIR}"/gtk-1-for-imlib.m4 m4 || die + AT_M4DIR="m4" eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --sysconfdir=/etc/imlib + $(use_enable static-libs static) + --disable-gdk + --disable-gtktest + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + # fix target=@gdk-target@ in pkgconfig, bug #499268 + sed -e '/^target=/d' \ + -i "${ED}"/usr/$(get_libdir)/pkgconfig/imlib.pc || die +} + +multilib_src_install_all() { + local HTML_DOCS=( doc/*.gif doc/*.html ) + einstalldocs + + # Punt unused files + rm -f "${D}"/usr/lib*/pkgconfig/imlibgdk.pc || die + find "${D}" -name '*.la' -delete || die +} |