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 9B8D859CAF for ; Fri, 8 Apr 2016 18:22:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23A9E21C05C; Fri, 8 Apr 2016 18:22:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1C9721C05C for ; Fri, 8 Apr 2016 18:22:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7054340D0D for ; Fri, 8 Apr 2016 18:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D82BC7F for ; Fri, 8 Apr 2016 18:22:19 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1460139691.051791f1b86007c9701a04ff0e4e8302c43b3dba.johu@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/calamares/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/calamares/Manifest app-admin/calamares/calamares-2.2.1.ebuild X-VCS-Directories: app-admin/calamares/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 051791f1b86007c9701a04ff0e4e8302c43b3dba X-VCS-Branch: master Date: Fri, 8 Apr 2016 18:22:19 +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: 369867e5-1b7b-4ccf-a342-6d927182634a X-Archives-Hash: 6e965c16f472e0c010e76d2957f74751 commit: 051791f1b86007c9701a04ff0e4e8302c43b3dba Author: Johannes Huber gentoo org> AuthorDate: Fri Apr 8 18:21:31 2016 +0000 Commit: Johannes Huber gentoo org> CommitDate: Fri Apr 8 18:21:31 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051791f1 app-admin/calamares: Version bump 2.2.1 Package-Manager: portage-2.2.28 app-admin/calamares/Manifest | 1 + app-admin/calamares/calamares-2.2.1.ebuild | 81 ++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest index 6bb8362f..908ee33 100644 --- a/app-admin/calamares/Manifest +++ b/app-admin/calamares/Manifest @@ -1 +1,2 @@ +DIST calamares-2.2.1.tar.gz 4733060 SHA256 1775444f286b37994a6970e878db09bf48dfa687c57435eed05c27d3064f34fa SHA512 f6864277857cef616598526936ee91b01245aac8c4fa67cbb69bf365523177d0042c46846af4116496974d74672582a7b6b6b925a9da0aa7819ad6b238ec7980 WHIRLPOOL 0ddc38a2c8ac06892e0dbee2117e100479c28548fed792c9be9ccc547fb49247cc4c69fd88e5d503786ba93d1a1f28ef84979c2a32a97c5fb94a3952f29e9535 DIST calamares-2.2.tar.gz 4728472 SHA256 b75d1462a8a7bd2bdc57ec38bd3b2e0485be573d8af13d05f44df2fc7a7dcaa4 SHA512 1b612f10cba059f8991d4e0afc06a742495929ae20daf8e57d4bca94b5836cd7cd3f3db1cbf08850c8ed55a7dd5f28f42198b6e40392b3f8cc36e8da55b95ffc WHIRLPOOL b1aeb6ff5df865c679d080f6482c50c85a6aa75768729c2194a775182f98d8b78627c66e8b49063c8f60bdec1c2f56a1fd627528fbc2a13fe8117d6c933bb212 diff --git a/app-admin/calamares/calamares-2.2.1.ebuild b/app-admin/calamares/calamares-2.2.1.ebuild new file mode 100644 index 0000000..9a0efdd --- /dev/null +++ b/app-admin/calamares/calamares-2.2.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5} ) +inherit kde5 python-r1 + +DESCRIPTION="Distribution-independent installer framework" +HOMEPAGE="http://calamares.io" +if [[ ${KDE_BUILD_TYPE} == live ]] ; then + EGIT_REPO_URI="git://github.com/${PN}/${PN}" + KEYWORDS="" +else + SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +IUSE="+networkmanager +upower" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep solid) + $(add_qt_dep linguist-tools) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtquick1) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + >=dev-cpp/yaml-cpp-0.5.1 + >=dev-libs/boost-1.55:=[${PYTHON_USEDEP}] + sys-apps/dbus + sys-apps/dmidecode + sys-auth/polkit-qt[qt5] + >=sys-libs/kpmcore-2.1.0 +" + +RDEPEND="${DEPEND} + app-admin/sudo + dev-libs/libatasmart + net-misc/rsync + sys-apps/gptfdisk + >=sys-block/parted-3.0 + || ( sys-boot/grub:2 sys-boot/gummiboot ) + sys-boot/os-prober + sys-fs/squashfs-tools + sys-fs/udisks:2[systemd] + virtual/udev[systemd] + networkmanager? ( net-misc/networkmanager ) + upower? ( sys-power/upower ) +" + +src_prepare() { + python_setup + export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \ + PYTHON_INCLUDE_PATH="$(python_get_library_path)"\ + PYTHON_CFLAGS="$(python_get_CFLAGS)"\ + PYTHON_LIBS="$(python_get_LIBS)" + + eapply_user +} + +src_configure() { + local mycmakeargs=( "-DWITH_PARTITIONMANAGER=1" ) + kde5_src_configure + sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' "${S}"/calamares.desktop + sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' "${S}"/calamares.desktop +} + +src_install() { + kde5_src_install + dobin "${FILESDIR}"/calamares-pkexec +}