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 5229E139695 for ; Sun, 23 Jul 2017 13:52:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AAF11FC00A; Sun, 23 Jul 2017 13:52:55 +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 5405B1FC00A for ; Sun, 23 Jul 2017 13:52:55 +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 7AD4034188F for ; Sun, 23 Jul 2017 13:52:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6A3F74BD for ; Sun, 23 Jul 2017 13:52:52 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1500817956.bce4e9e5b4aa14217370b2344157ab3cdc735f74.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libgxim/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libgxim/libgxim-0.5.0.ebuild X-VCS-Directories: x11-libs/libgxim/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: bce4e9e5b4aa14217370b2344157ab3cdc735f74 X-VCS-Branch: master Date: Sun, 23 Jul 2017 13:52: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-Archives-Salt: 8fa9fd74-9e75-4fd3-9fd4-c9d334513b8b X-Archives-Hash: 95dea80ff4ca0a0f6262e2aa2ea84aa0 commit: bce4e9e5b4aa14217370b2344157ab3cdc735f74 Author: Akinori Hattori gentoo org> AuthorDate: Sun Jul 23 13:49:59 2017 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Sun Jul 23 13:52:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce4e9e5 x11-libs/libgxim: add test USE flag Package-Manager: Portage-2.3.6, Repoman-2.3.1 x11-libs/libgxim/libgxim-0.5.0.ebuild | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/x11-libs/libgxim/libgxim-0.5.0.ebuild b/x11-libs/libgxim/libgxim-0.5.0.ebuild index 26a9156725b..a9bd005eae5 100644 --- a/x11-libs/libgxim/libgxim-0.5.0.ebuild +++ b/x11-libs/libgxim/libgxim-0.5.0.ebuild @@ -3,7 +3,7 @@ EAPI="6" -inherit ltprune +inherit autotools ltprune DESCRIPTION="GObject-based XIM protocol library" HOMEPAGE="https://tagoh.bitbucket.io/libgxim" @@ -12,7 +12,7 @@ SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="static-libs" +IUSE="static-libs test" RDEPEND="dev-libs/dbus-glib dev-libs/glib:2 @@ -20,11 +20,27 @@ RDEPEND="dev-libs/dbus-glib virtual/libintl x11-libs/gtk+:2" DEPEND="${RDEPEND} - dev-libs/check dev-lang/ruby dev-util/intltool + sys-devel/autoconf-archive sys-devel/gettext - virtual/pkgconfig" + virtual/pkgconfig + test? ( dev-libs/check )" + +AT_M4DIR="m4macros" + +src_prepare() { + sed -i \ + -e "/PKG_CHECK_MODULES/s/\(check\)/$(usex test '\1' _)/" \ + -e "/^GNOME_/d" \ + -e "/^CFLAGS/s/\$WARN_CFLAGS/-Wall -Wmissing-prototypes/" \ + configure.ac + + sed -i "/^ACLOCAL_AMFLAGS/,/^$/d" Makefile.am + + default + eautoreconf +} src_configure() { econf $(use_enable static-libs static)