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 6E49B138334 for ; Sun, 22 Jul 2018 23:22:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4DA1E078A; Sun, 22 Jul 2018 23:22:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 544E2E0798 for ; Sun, 22 Jul 2018 23:22:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 09B8A335D07 for ; Sun, 22 Jul 2018 23:22:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CF79380 for ; Sun, 22 Jul 2018 23:22:16 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1532301713.0000a75334d6770a234e2a2e1141aec4009b0667.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/imlib2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/imlib2/imlib2-1.5.1-r1.ebuild media-libs/imlib2/metadata.xml X-VCS-Directories: media-libs/imlib2/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0000a75334d6770a234e2a2e1141aec4009b0667 X-VCS-Branch: master Date: Sun, 22 Jul 2018 23:22:16 +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-Archives-Salt: 5bd3478a-df79-467f-ba9c-f57761e04d0e X-Archives-Hash: 72e9162e27094d3737e2997e66b9d6c7 commit: 0000a75334d6770a234e2a2e1141aec4009b0667 Author: Joonas Niilola gmail com> AuthorDate: Wed Jul 11 15:16:15 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 22 23:21:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0000a753 media-libs/imlib2: 1.5.1: EAPI-7 revbump with new USE flags Added 'doc' for documentation and 'shm' for X shared memory support. Closes: https://bugs.gentoo.org/660828 Package-Manager: Portage[mgorny]-2.3.36.1 Closes: https://github.com/gentoo/gentoo/pull/9185 media-libs/imlib2/imlib2-1.5.1-r1.ebuild | 72 ++++++++++++++++++++++++++++++++ media-libs/imlib2/metadata.xml | 3 ++ 2 files changed, 75 insertions(+) diff --git a/media-libs/imlib2/imlib2-1.5.1-r1.ebuild b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild new file mode 100644 index 00000000000..7457df0e31d --- /dev/null +++ b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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/" +SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 doc gif jpeg mp3 nls png shm static-libs tiff X 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: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.4: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-base/xorg-proto ) +" + +multilib_src_configure() { + local myconf_imlib2=( + $(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 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}" + + use doc && local HTML_DOCS=( "${S}"/doc/. ) + einstalldocs + + find "${D}" -name '*.la' -delete || die +} diff --git a/media-libs/imlib2/metadata.xml b/media-libs/imlib2/metadata.xml index 1a0d4be94cf..c95c673b437 100644 --- a/media-libs/imlib2/metadata.xml +++ b/media-libs/imlib2/metadata.xml @@ -8,6 +8,9 @@ proxy-maint@gentoo.org Proxy Maintainers + + Use MIT shared memory support for X image transfer. + Imlib 2 is the successor to Imlib. It is not just a newer version - it is a completely new library. Imlib2 can be installed alongside Imlib 1.x without any