diff options
author | Joonas Niilola <juippis@gentoo.org> | 2019-12-14 09:15:30 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-12-14 09:41:57 +0200 |
commit | 49cf0c83d4970b79bdd775ea49fcec57cc141d0e (patch) | |
tree | c3a59cd9c1d864962cd031ebcc9231d35bf92be1 /media-libs/imlib2 | |
parent | dev-ruby/rails: add rails 6.0.2 (diff) | |
download | gentoo-49cf0c83d4970b79bdd775ea49fcec57cc141d0e.tar.gz gentoo-49cf0c83d4970b79bdd775ea49fcec57cc141d0e.tar.bz2 gentoo-49cf0c83d4970b79bdd775ea49fcec57cc141d0e.zip |
media-libs/imlib2: bump to 1.6.1
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r-- | media-libs/imlib2/Manifest | 1 | ||||
-rw-r--r-- | media-libs/imlib2/imlib2-1.6.1.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest index cdabbeaf2240..eb9618cd3ebf 100644 --- a/media-libs/imlib2/Manifest +++ b/media-libs/imlib2/Manifest @@ -1,2 +1,3 @@ DIST imlib2-1.5.1.tar.gz 1020701 BLAKE2B 33213a49293fba9e86cfec312d3cd8018c2284d60040b63899778d2fa65bffe173926eb14bc893c1a80e1472084a711423f77f6288779486512074e75d92acfd SHA512 9872aa3c4d45b1e9cbb0b1d0a7d5b47256e35f01a4fe19d84d276096c2da053c55bd28554441f92464d19edf1222b427571ba7b06d716031021ff1f9b4bc9656 DIST imlib2-1.6.0.tar.gz 1038080 BLAKE2B 1e8d2c446dcd5200261e21e4460f35d6d4e9dfac6adc608628e2a47b39464ba1b9e7959f9ffe907a445e051e9bbb04f8fba5eb85703b11f8eff562284f055fe0 SHA512 078fa60783a052590d8c84ee0a1d0b8be3808fddcb4f7be83bfb17181106e2f8c45cb2eb2b41b0a7f5b7c61b15791a71d50c82b1557b61d4f6cea94b87452635 +DIST imlib2-1.6.1.tar.gz 1038614 BLAKE2B 89751ea5548e86b810d621cbcd5b3d37c7ddbedc9e634095f61d91779c1e96d50f87842136687e2b9cefa249b17fc98df61d07b368c7c4f466687ed38f2ed70f SHA512 0c6d874973c46c7e96e49fc391d463ec8c7c5ce9de682600cb4e28ca81ff0366a02055cbec2a2b743204051243d20b2316ab602b98df9d03dcf319297f7e6a13 diff --git a/media-libs/imlib2/imlib2-1.6.1.ebuild b/media-libs/imlib2/imlib2-1.6.1.ebuild new file mode 100644 index 000000000000..bb6d29fdb685 --- /dev/null +++ b/media-libs/imlib2/imlib2-1.6.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+X bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 doc +gif +jpeg mp3 +png +shm + static-libs +tiff +webp zlib" + +REQUIRED_USE="shm? ( X )" + +RDEPEND=" + media-libs/freetype:2[${MULTILIB_USEDEP}] + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) + gif? ( media-libs/giflib[${MULTILIB_USEDEP}] ) + jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] ) + mp3? ( media-libs/libid3tag[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) + !<media-plugins/imlib2_loaders-1.6.0 +" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto )" +BDEPEND="virtual/pkgconfig" + +multilib_src_configure() { + local myeconfargs=( + $(use_with X x) + $(use_with bzip2) + $(use_with gif) + $(use_with jpeg) + $(use_with mp3 id3) + $(use_with png) + $(use_with shm x-shm-fd) + $(use_enable static-libs static) + $(use_with tiff) + $(use_with webp) + $(use_with zlib) + ) + + # 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_src_install_all() { + if use doc; then + local HTML_DOCS=( "${S}"/doc/. ) + rm "${S}"/doc/Makefile.{am,in} || die + fi + einstalldocs +} |