From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E852138334 for ; Sun, 24 Nov 2019 13:16:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A52FE0784; Sun, 24 Nov 2019 13:16:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52CB1E0784 for ; Sun, 24 Nov 2019 13:16:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CD4A34D2BC for ; Sun, 24 Nov 2019 13:16:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AADE888 for ; Sun, 24 Nov 2019 13:16:52 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1574601220.d8872668dbb45f7cc92d3bb05c1ab36545c15f45.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/imlib2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/imlib2/Manifest media-libs/imlib2/imlib2-1.6.0.ebuild X-VCS-Directories: media-libs/imlib2/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d8872668dbb45f7cc92d3bb05c1ab36545c15f45 X-VCS-Branch: master Date: Sun, 24 Nov 2019 13:16:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b32491ce-6847-40e8-af84-39b3eeb28b28 X-Archives-Hash: 34012ead9645dc204b6253f9a4d9e386 commit: d8872668dbb45f7cc92d3bb05c1ab36545c15f45 Author: Joonas Niilola gentoo org> AuthorDate: Sun Nov 24 13:13:40 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Nov 24 13:13:40 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8872668 media-libs/imlib2: bump to 1.6.0 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Joonas Niilola gentoo.org> media-libs/imlib2/Manifest | 1 + media-libs/imlib2/imlib2-1.6.0.ebuild | 77 +++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest index 8dafdfb2936..cdabbeaf224 100644 --- a/media-libs/imlib2/Manifest +++ b/media-libs/imlib2/Manifest @@ -1 +1,2 @@ DIST imlib2-1.5.1.tar.gz 1020701 BLAKE2B 33213a49293fba9e86cfec312d3cd8018c2284d60040b63899778d2fa65bffe173926eb14bc893c1a80e1472084a711423f77f6288779486512074e75d92acfd SHA512 9872aa3c4d45b1e9cbb0b1d0a7d5b47256e35f01a4fe19d84d276096c2da053c55bd28554441f92464d19edf1222b427571ba7b06d716031021ff1f9b4bc9656 +DIST imlib2-1.6.0.tar.gz 1038080 BLAKE2B 1e8d2c446dcd5200261e21e4460f35d6d4e9dfac6adc608628e2a47b39464ba1b9e7959f9ffe907a445e051e9bbb04f8fba5eb85703b11f8eff562284f055fe0 SHA512 078fa60783a052590d8c84ee0a1d0b8be3808fddcb4f7be83bfb17181106e2f8c45cb2eb2b41b0a7f5b7c61b15791a71d50c82b1557b61d4f6cea94b87452635 diff --git a/media-libs/imlib2/imlib2-1.6.0.ebuild b/media-libs/imlib2/imlib2-1.6.0.ebuild new file mode 100644 index 00000000000..de1d4da1407 --- /dev/null +++ b/media-libs/imlib2/imlib2-1.6.0.ebuild @@ -0,0 +1,77 @@ +# 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}] ) +" +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 +}