diff options
author | Joonas Niilola <juippis@gmail.com> | 2018-04-15 10:44:33 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-04-27 20:08:54 +0200 |
commit | 065717393072f20a2f21733e74a4e2755935c029 (patch) | |
tree | 578dce808e6a590d311f2f33a9a19dfdf40666df /media-libs | |
parent | media-libs/phonon: Version bump 4.10.1 (diff) | |
download | gentoo-065717393072f20a2f21733e74a4e2755935c029.tar.gz gentoo-065717393072f20a2f21733e74a4e2755935c029.tar.bz2 gentoo-065717393072f20a2f21733e74a4e2755935c029.zip |
media-libs/imlib2: bump to 1.5.1
Closes: https://bugs.gentoo.org/650662
Closes: https://github.com/gentoo/gentoo/pull/8008
Package-Manager: Portage[mgorny]-2.3.26.1
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/imlib2/Manifest | 1 | ||||
-rw-r--r-- | media-libs/imlib2/imlib2-1.5.1.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest index e6d25e1bcaeb..1aa73d17c347 100644 --- a/media-libs/imlib2/Manifest +++ b/media-libs/imlib2/Manifest @@ -1,2 +1,3 @@ DIST imlib2-1.4.10.tar.gz 1016606 BLAKE2B 8d70930d3f4dabb3ead557337ad8eb65ebc84afce40fce97bd1b5bf3e78092d7c7d6c8a3d3604b6d6026cec4b7460a51d966c63a2d4b315c197de233a1205f32 SHA512 e8ba42399773fc8e340b914be4b07bb170ad39ea0840f909cc611ce2372fd2467148f0319aeae1a10b8b4f5ea6b38b1fc1fc68f649d4940b9096a2633a588987 DIST imlib2-1.4.9.tar.gz 1028872 BLAKE2B 8c92cd9bb5b7ba43412fdb499e35e09f901538ae8beec23ffd96254b303c5ddd3e46c8850221f7ad24a462c9f04daee155878b41d96d602f3c9ca6aac2b1e386 SHA512 303436f447142153928e2d76226b6798c65cb834bf3bfb760e278d2558a3f072ff43fe46616baeea927254200c4535cc323f6a83c5d869def4f6a7213e30e2db +DIST imlib2-1.5.1.tar.gz 1020701 BLAKE2B 33213a49293fba9e86cfec312d3cd8018c2284d60040b63899778d2fa65bffe173926eb14bc893c1a80e1472084a711423f77f6288779486512074e75d92acfd SHA512 9872aa3c4d45b1e9cbb0b1d0a7d5b47256e35f01a4fe19d84d276096c2da053c55bd28554441f92464d19edf1222b427571ba7b06d716031021ff1f9b4bc9656 diff --git a/media-libs/imlib2/imlib2-1.5.1.ebuild b/media-libs/imlib2/imlib2-1.5.1.ebuild new file mode 100644 index 000000000000..b9c2d44d1bce --- /dev/null +++ b/media-libs/imlib2/imlib2-1.5.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal toolchain-funcs + +DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" +HOMEPAGE="https://www.enlightenment.org/" +SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 gif jpeg mp3 nls png static-libs tiff X zlib" + +RDEPEND=" + media-libs/freetype:2[${MULTILIB_USEDEP}] + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) + gif? ( media-libs/giflib[${MULTILIB_USEDEP}] ) + jpeg? ( ~virtual/jpeg-0:0=[${MULTILIB_USEDEP}] ) + mp3? ( media-libs/libid3tag[${MULTILIB_USEDEP}] ) + nls? ( sys-devel/gettext ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( >=media-libs/tiff-4.0.3-r6:0[${MULTILIB_USEDEP}] ) + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] + X? ( + x11-proto/xextproto[${MULTILIB_USEDEP}] + x11-proto/xproto[${MULTILIB_USEDEP}] + ) +" + +multilib_src_configure() { + local myconf_imlib2=( + $(use_with bzip2) + $(use_with gif) + $(use_with jpeg) + $(use_with mp3 id3) + $(use_with png) + $(use_enable static-libs static) + $(use_with tiff) + $(use_with X x) + $(use_with zlib) + ) + + # imlib2 has different configure options for x86/amd64 assembly + if [[ $(tc-arch) == amd64 ]]; then + myconf_imlib2+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx ) + else + myconf_imlib2+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) ) + fi + + ECONF_SOURCE="${S}" \ + econf "${myconf_imlib2[@]}" +} + +multilib_src_install() { + V=1 emake install DESTDIR="${D}" + + local HTML_DOCS=( doc/. ) + einstalldocs + + find "${D}" -name '*.la' -delete || die +} |