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 9EE70139085 for ; Thu, 19 Jan 2017 17:55:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4632E23404C; Thu, 19 Jan 2017 17:55:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 17FD023404C for ; Thu, 19 Jan 2017 17:55:48 +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 137B1340F43 for ; Thu, 19 Jan 2017 17:55:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FC22294E for ; Thu, 19 Jan 2017 17:55:45 +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: <1484848461.687a09f14cc3274fa400c080a7bd576b93a46005.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.4.6.ebuild X-VCS-Directories: app-admin/calamares/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 687a09f14cc3274fa400c080a7bd576b93a46005 X-VCS-Branch: master Date: Thu, 19 Jan 2017 17:55:45 +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: c29fcf53-c2ab-4902-85c5-90063680b0d8 X-Archives-Hash: 60b0ba0bf713af62132a0278311eab13 commit: 687a09f14cc3274fa400c080a7bd576b93a46005 Author: Johannes Huber gentoo org> AuthorDate: Thu Jan 19 17:54:21 2017 +0000 Commit: Johannes Huber gentoo org> CommitDate: Thu Jan 19 17:54:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687a09f1 app-admin/calamares: Version 2.4.6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-admin/calamares/Manifest | 1 + app-admin/calamares/calamares-2.4.6.ebuild | 80 ++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest index 0567d5c..b407262 100644 --- a/app-admin/calamares/Manifest +++ b/app-admin/calamares/Manifest @@ -1 +1,2 @@ DIST calamares-2.4.5.tar.gz 2142339 SHA256 fe924bf951ea64c92a565195330aff87587b9326c6769f5c8a8e4ee67e20bab5 SHA512 b55ed22f40116e67fe9bea6f1112fa98538f831886b950097465e171390bbef5773f61c374939c7a7a467a721af5e36c9e9845eb419f7cb015e997f82550998c WHIRLPOOL 33e91c774561eb4687eed94dedb7b2708cb0b2c73522d10061c635c9367807c4a01fdc5aee713668f090dfc204c48cd55ba76353af19e2dfff6bfaffccc6f24a +DIST calamares-2.4.6.tar.gz 2143386 SHA256 c091ad0db9b69b7552d7f282317ba4a4453d7e5ca7ee4bf98f605fe43c63597e SHA512 d2ba4675a846095c437231eb1d59f86668f7c65e2f9bda9681cd4de60324b8d8007f4337f8cd93ca71a303812ecdb8c55935805adc8fd25bb98f1e39432be009 WHIRLPOOL b54ac8347604942a00293c23e766142af867ac37dc3e910d93a07fc909eefb70bd9dc7744270320fcda10b25c3db50476f35074122ae60ee2243e46ab14ea206 diff --git a/app-admin/calamares/calamares-2.4.6.ebuild b/app-admin/calamares/calamares-2.4.6.ebuild new file mode 100644 index 00000000..a9c1cec --- /dev/null +++ b/app-admin/calamares/calamares-2.4.6.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 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}" +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 kcoreaddons) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwebengine 'widgets') + $(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:5= +" + +RDEPEND="${DEPEND} + app-admin/sudo + dev-libs/libatasmart + net-misc/rsync + >=sys-block/parted-3.0 + || ( sys-boot/grub:2 sys-boot/systemd-boot ) + 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=( + -DWEBVIEW_FORCE_WEBKIT=OFF + ) + + 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 +}