commit:     64cc8aff6cc94339eaf5e1b20bec272fe1174249
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 27 21:08:33 2017 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 21:09:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64cc8aff

app-admin/calamares: Version bump 3.1.7

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 app-admin/calamares/Manifest               |  1 +
 app-admin/calamares/calamares-3.1.7.ebuild | 80 ++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest
index ade563741b0..8644924beae 100644
--- a/app-admin/calamares/Manifest
+++ b/app-admin/calamares/Manifest
@@ -1,2 +1,3 @@
 DIST calamares-3.1.5.tar.gz 2266110 SHA256 
02bd3c10e06ac207cdee0ee29f8d20bfe48eba491800e3eab704e1d294736260 SHA512 
92e29668ddab880b76319fbf4eeffea21bfa0bd5b8807cb5a2c2786eafe4921f442a9a5773243fafe5942a346d46b89285e9472d4c8da70b70979a049923df06
 WHIRLPOOL 
74b396551aee5c7831b05a0c40df56f047bf6bd1fb0c9e3e51b2791696b9e19eb1db78128c1167a668d0d4e412cddbb819c807dfb52cc8bea667307921752a80
 DIST calamares-3.1.6.tar.gz 2266993 SHA256 
d18d50aca6dc8b8d4d4933b507fdaabeb607adc9c9c14646f1031c005aeaaf98 SHA512 
d6e7fa5a040e507141bbd6b3863f5743b9646e503cfec26ed710718835a782b0acf582f24959eb52d906eeca60061d39e01b4a542c3d83535efa17eb4a5b0b85
 WHIRLPOOL 
3fc71da001282cbe7c670b192335ddac460f3fb053849a51d95d9113b6c31a27ff65ce64811ca26c456ec01911ce8685d73c793183e71bc696cd896f9bf38507
+DIST calamares-3.1.7.tar.gz 2275893 SHA256 
91ffee72df1d222c50db81c3f48d44e617019db95d1f58ab16a962b1fb47d749 SHA512 
eaf516db4d97b89a5854c5dac5fd556a2deb47bebb88e7c55e2bb7d4ce050e913afbf08c6536503f5c3af7427a43b75f67bfa317e1601bb5a6f05f17c5bf6760
 WHIRLPOOL 
71e248e3dd8a9e05b5a0d25807607c3d026ba896835edd559ce716c9edf5ae8b840570ae453772558cd05757d99acc09c90f23423045f1754cd56b8693b99a4d

diff --git a/app-admin/calamares/calamares-3.1.7.ebuild 
b/app-admin/calamares/calamares-3.1.7.ebuild
new file mode 100644
index 00000000000..780fcfe4fd0
--- /dev/null
+++ b/app-admin/calamares/calamares-3.1.7.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+inherit kde5 python-r1
+
+DESCRIPTION="Distribution-independent installer framework"
+HOMEPAGE="https://calamares.io";
+if [[ ${KDE_BUILD_TYPE} == live ]] ; then
+       EGIT_REPO_URI="https://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 pythonqt +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-3.0.3:5=
+       pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_USEDEP}] )
+"
+
+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
+       virtual/udev
+       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
+               -DWITH_PYTHONQT=$(usex pythonqt)
+       )
+
+       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
+}

Reply via email to