summaryrefslogtreecommitdiff
path: root/media-libs/imlib2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /media-libs/imlib2
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/Manifest2
-rw-r--r--media-libs/imlib2/imlib2-1.5.1.ebuild72
2 files changed, 74 insertions, 0 deletions
diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
index d0cceb8f5f19..b33ff44eb1bc 100644
--- a/media-libs/imlib2/Manifest
+++ b/media-libs/imlib2/Manifest
@@ -1,6 +1,8 @@
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
EBUILD imlib2-1.4.10.ebuild 2087 BLAKE2B 4be5f44f59fbe143b3edbdd90c9cafff323f78add0e2e9909e08a5e27d5d6de9adea2266dbfa1d80a3481ee36b217a0bdf6974fa515589fb59f417df8b2ab36f SHA512 a1e9ec3050489cdede172c5f0bb213663f17f6ab9f06c24592d282568f5eacd9f591c353aabdcad97ed214cd752f0a802db1d2f94256bad5a4c4f13734325efd
EBUILD imlib2-1.4.9.ebuild 2070 BLAKE2B abc5e363da21bad5b8f2e10ce45a0d03ae3e439b40b454a5f56463ac052d1ae272f28fc1418c1bdfcb7180f7a4117a4b772a094e094e8faa9ec84adf2b8835c3 SHA512 76e64aed5acea1542e8ab67b5d69101fc6f3fe64d5ecabe38c4528c545fa435a4e3188304a84c9b8ef6810e8b65bd297ef6f6b0432a9333485efb9b9d006cee8
+EBUILD imlib2-1.5.1.ebuild 1882 BLAKE2B 2553d4049273c2ec58d996205bdf2c870de90f9342b5de4fa37883aacbcf3839cbe135a9447ac5c0842e517a357b7b01eac961ff11e6eececa2b408efa88beb5 SHA512 a1261b11c354ac6c28a82f70c3b5cb8627778e848ae9fea6ed6170e3b8173e22b556dd35cd9866634537e698569bb6070ebe8a7780c735e74acb215a4555df48
EBUILD imlib2-9999.ebuild 1902 BLAKE2B 6dc263963a9d811487849c4d210db0ee8548d425d382254310da3af807f72b69822f6e62023ddd1853c2b42f05d9d7bca3a8ded648c3657fe70af0e754923000 SHA512 cf07610f0fc4b9ffaa4a75fdab9af7f84d1a9de58f73f68a00a723291eab15c612b2b4b4e2e641a6b590873d9f95eb9506b89e8cf84fa1a826aa291c683d6bb6
MISC metadata.xml 2278 BLAKE2B 7461b5d38509f5908d239712947f2f9d3ba91d5dcac79cb82f78ba74c0f8b51b54740cf734b0cf70acaf450f22b8c926ef5661631ac99269f3037d00ace553f8 SHA512 c9ac86bfc0e1cc55096dfb4f99321fa5c5efec65c7beb6d14955b7359ec362f8f41b15adf5e511ed88c1080bd568b59bad2c258fa98d6b89ba5a9dcbcf5b6c67
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
+}