From b62381b18b4bf2e919cbfbae11ebcad391e38e77 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Dec 2022 03:35:12 +0000 Subject: gentoo auto-resync : 16:12:2022 - 03:35:12 --- media-libs/libafterimage/Manifest | 2 +- .../libafterimage/libafterimage-1.20-r4.ebuild | 109 --------------------- .../libafterimage/libafterimage-1.20-r6.ebuild | 109 +++++++++++++++++++++ 3 files changed, 110 insertions(+), 110 deletions(-) delete mode 100644 media-libs/libafterimage/libafterimage-1.20-r4.ebuild create mode 100644 media-libs/libafterimage/libafterimage-1.20-r6.ebuild (limited to 'media-libs/libafterimage') diff --git a/media-libs/libafterimage/Manifest b/media-libs/libafterimage/Manifest index 619d759d2923..3eea2d0e45ea 100644 --- a/media-libs/libafterimage/Manifest +++ b/media-libs/libafterimage/Manifest @@ -6,5 +6,5 @@ AUX libafterimage-giflib5-v2.patch 11725 BLAKE2B 92ffc58146a513bb7aa0789d24ca3f3 AUX libafterimage-libpng15.patch 1076 BLAKE2B 1de5fb2ea663842a0f843f5f2db14062021d4886bd4258da8e034cc6982086f532ff53fb0c2ed1cee7557ddd53be6d6baa9ccf6cd8f603d7d356e372fef594ec SHA512 67fff22ecb8d2027fecb50a6450b90d3be457c69c8d7c3c0cd16715ead2824634ae5b792cf3877585b74a1323c25934ab31d1462ea983557dc8acc4a6d11bc7a AUX libafterimage-makefile.in.patch 2168 BLAKE2B eae3d6ded2e08442d72014c9e054357ffc8dfa37b9f4be76debd6a3c6e4f54a661735eac54a5e4b12663e0365f46c49283efec21ec0e3130d6ede6c0be20e58c SHA512 0fab45a672d4cdecdbd792eb966a31d3ea7e7be7fae52b1e7080d96a513788502099dac41692b4cadfc062ee7fa24bfaceeed4931811488dc4f7c7c34a1e99ec DIST libAfterImage-1.20.tar.bz2 1017055 BLAKE2B 2a0c7de0a6e3369518e19d87c877401675533247f40bfc60f77ac48b52ee1ffc66feae34eb6f80a5e37415999d38db9f05ef06be88610d846a1077685decf1ce SHA512 4056c73d1ab401480803a3a932d647a66574df9f65efc0d30ba80800e1a3424b4fbfce8e9cdf82c4852862491d92cbb42392f8cce8d6ac21d3b49e4ffe1808c4 -EBUILD libafterimage-1.20-r4.ebuild 2773 BLAKE2B 821b468843d6e15e252339ced0592d2ee9fd56223cb4fa825f9d975e246604b8058a9d2ea7f4848c7fea4b1b480830bdab167de880ef433a9db9ed7295073e47 SHA512 fe74049b2432927642fd9d31e907bd565a2eb92426fef0a54154a89183014329a7d6d2fb1b5f881cda10f82910e77a3f4f2f3cf838767a28fcc9181a58670866 +EBUILD libafterimage-1.20-r6.ebuild 2785 BLAKE2B 6f65fc5a9cdc1a4193ddc899614901659d7a1e6dd017aab3a5a6573732797b45227e18c7209b84d39f469c6180fc014fb3867069ca2c15442207ee7e69bdaee6 SHA512 119917ee09b5608477d2d6e5a55d4415ab12b0b3022f6e269c1c9b9300c3370febc3ab5ee4a607d4ff60b0c1199859340eda5a1b3967baace0be1b5b68ace416 MISC metadata.xml 1094 BLAKE2B bb5d212de95b47c95a7663a0a8850fb946ef155a1a38a9ec1529f46635c9c5c4e7c6e6c1252bf27c07aa622f33e1c16f442c0029d41d33c32179d7d86dde8af7 SHA512 8bddafa2e39a7d27dcf0ca81e8a540eb52cd4ce2c368a5c41a00ea8dc658f644f51a145511b6595871aa181d86fc879a349a60ae23db3f539f1b15c543e323f8 diff --git a/media-libs/libafterimage/libafterimage-1.20-r4.ebuild b/media-libs/libafterimage/libafterimage-1.20-r4.ebuild deleted file mode 100644 index 7d656730f2af..000000000000 --- a/media-libs/libafterimage/libafterimage-1.20-r4.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -MY_PN=libAfterImage - -DESCRIPTION="Afterstep's standalone generic image manipulation library" -HOMEPAGE="http://www.afterstep.org/afterimage/index.php" -SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="+X cpu_flags_x86_mmx examples gif jpeg nls png static-libs shm +shaping svg tiff truetype" - -RDEPEND=" - X? ( x11-libs/libSM - x11-libs/libXext - x11-libs/libXrender ) - gif? ( media-libs/giflib:0= ) - jpeg? ( virtual/jpeg:0 ) - png? ( >=media-libs/libpng-1.4:0= ) - svg? ( gnome-base/librsvg:2 ) - tiff? ( media-libs/tiff:0 ) - truetype? ( media-libs/freetype )" -DEPEND="${RDEPEND} - X? ( x11-base/xorg-proto )" -BDEPEND=" - virtual/pkgconfig" -REQUIRED_USE=" - shaping? ( X ) - shm? ( X )" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_prepare() { - default - - # fix some ldconfig problem in makefile.in - eapply -p0 "${FILESDIR}"/${PN}-makefile.in.patch - # fix lib paths in afterimage-config - eapply -p0 "${FILESDIR}"/${PN}-config.patch - # fix gif unbundle - eapply -p0 "${FILESDIR}"/${PN}-gif.patch - # fix for libpng15 compability - eapply -p0 "${FILESDIR}"/${PN}-libpng15.patch - # add giflib-5 API support, bug 571654 - eapply "${FILESDIR}"/${PN}-giflib5-v2.patch - # fix ar: respect $(AR), bug 731044 and drop 'l' flag, bug 784182 - eapply "${FILESDIR}"/${PN}-ar.patch - # detect freetype properly, bug 783375 - eapply "${FILESDIR}"/${PN}-freetype.patch - # do not build examples - use examples || sed -i \ - -e '/^all:/s/apps//' \ - -e '/^install:/s/install.apps//' \ - Makefile.in || die "sed failed" - # remove forced flags - sed -i \ - -e 's/CFLAGS="-O3"//' \ - -e 's/ -rdynamic//' \ - configure.in || die "sed failed" - - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - econf \ - $(use_enable cpu_flags_x86_mmx mmx-optimization) \ - $(use_enable nls i18n) \ - $(use_enable shaping) \ - $(use_enable shm shmimage ) \ - $(use_enable static-libs staticlibs) \ - $(use_with X x) \ - $(use_with gif) \ - $(use_with jpeg) \ - $(use_with png) \ - $(use_with svg) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - --disable-glx \ - --enable-sharedlibs \ - --with-xpm \ - --without-builtin-gif \ - --without-builtin-jpeg \ - --without-builtin-png \ - --without-builtin-zlib \ - --without-afterbase -} - -src_install() { - emake \ - DESTDIR="${D}" \ - AFTER_DOC_DIR="${ED}/usr/share/doc/${PF}" \ - install - dodoc ChangeLog README - if use examples; then - cd apps || die - mv ascompose.man ascompose.1 || die - doman ascompose.1 - emake clean - rm Makefile* ascompose.1 || die - docinto examples - dodoc * - fi -} diff --git a/media-libs/libafterimage/libafterimage-1.20-r6.ebuild b/media-libs/libafterimage/libafterimage-1.20-r6.ebuild new file mode 100644 index 000000000000..1b1e2efb7c31 --- /dev/null +++ b/media-libs/libafterimage/libafterimage-1.20-r6.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +MY_PN=libAfterImage + +DESCRIPTION="Afterstep's standalone generic image manipulation library" +HOMEPAGE="http://www.afterstep.org/afterimage/index.php" +SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +IUSE="+X cpu_flags_x86_mmx examples gif jpeg nls png static-libs shm +shaping svg tiff truetype" + +RDEPEND=" + X? ( x11-libs/libSM + x11-libs/libXext + x11-libs/libXrender ) + gif? ( media-libs/giflib:0= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + png? ( >=media-libs/libpng-1.4:0= ) + svg? ( gnome-base/librsvg:2 ) + tiff? ( media-libs/tiff:= ) + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto )" +BDEPEND=" + virtual/pkgconfig" +REQUIRED_USE=" + shaping? ( X ) + shm? ( X )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + # fix some ldconfig problem in makefile.in + eapply -p0 "${FILESDIR}"/${PN}-makefile.in.patch + # fix lib paths in afterimage-config + eapply -p0 "${FILESDIR}"/${PN}-config.patch + # fix gif unbundle + eapply -p0 "${FILESDIR}"/${PN}-gif.patch + # fix for libpng15 compability + eapply -p0 "${FILESDIR}"/${PN}-libpng15.patch + # add giflib-5 API support, bug 571654 + eapply "${FILESDIR}"/${PN}-giflib5-v2.patch + # fix ar: respect $(AR), bug 731044 and drop 'l' flag, bug 784182 + eapply "${FILESDIR}"/${PN}-ar.patch + # detect freetype properly, bug 783375 + eapply "${FILESDIR}"/${PN}-freetype.patch + # do not build examples + use examples || sed -i \ + -e '/^all:/s/apps//' \ + -e '/^install:/s/install.apps//' \ + Makefile.in || die "sed failed" + # remove forced flags + sed -i \ + -e 's/CFLAGS="-O3"//' \ + -e 's/ -rdynamic//' \ + configure.in || die "sed failed" + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable cpu_flags_x86_mmx mmx-optimization) \ + $(use_enable nls i18n) \ + $(use_enable shaping) \ + $(use_enable shm shmimage ) \ + $(use_enable static-libs staticlibs) \ + $(use_with X x) \ + $(use_with gif) \ + $(use_with jpeg) \ + $(use_with png) \ + $(use_with svg) \ + $(use_with tiff) \ + $(use_with truetype ttf) \ + --disable-glx \ + --enable-sharedlibs \ + --with-xpm \ + --without-builtin-gif \ + --without-builtin-jpeg \ + --without-builtin-png \ + --without-builtin-zlib \ + --without-afterbase +} + +src_install() { + emake \ + DESTDIR="${D}" \ + AFTER_DOC_DIR="${ED}/usr/share/doc/${PF}" \ + install + dodoc ChangeLog README + if use examples; then + cd apps || die + mv ascompose.man ascompose.1 || die + doman ascompose.1 + emake clean + rm Makefile* ascompose.1 || die + docinto examples + dodoc * + fi +} -- cgit v1.2.3