From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5907A138890 for ; Tue, 5 Feb 2013 20:19:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51B8021C017; Tue, 5 Feb 2013 20:19:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D617E04E7 for ; Tue, 5 Feb 2013 20:19:30 +0000 (UTC) Received: from pomiocik.lan (213-238-96-111.adsl.inetia.pl [213.238.96.111]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 8DF0D33DEB8; Tue, 5 Feb 2013 20:19:28 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: kde@gentoo.org Subject: [gentoo-dev] New eclass: cmake-multilib for cmake multilib package builds Date: Tue, 5 Feb 2013 21:19:21 +0100 Message-Id: <1360095564-18154-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.1.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 31a66fcf-221f-4b1b-af2f-d57b6a8fa43d X-Archives-Hash: 7ca27758125f7672c5d2af8c6bf1402e The idea is the same as in autotools-multilib. The eclass is a straightfoward wrapper for cmake-utils which inherits multilib-build and runs cmake phase functions for all ABIs (using out-of-source build). The eclass uses the same header consistency check as autotools-multilib (therefore, I move the function to multilib-build). I'm attaching an ebuild for virtualgl as an example of use.