Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/calamares/
Date: Mon, 28 Nov 2016 19:34:17
Message-Id: 1480361646.82fc80a86a5f215eb88d0641523e038fe6868a5a.johu@gentoo
1 commit: 82fc80a86a5f215eb88d0641523e038fe6868a5a
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 19:32:35 2016 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 19:34:06 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fc80a8
7
8 app-admin/calamares: Version bump 2.4.5
9
10 Package-Manager: portage-2.3.2
11
12 app-admin/calamares/Manifest | 1 +
13 app-admin/calamares/calamares-2.4.5.ebuild | 81 ++++++++++++++++++++++++++++++
14 2 files changed, 82 insertions(+)
15
16 diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest
17 index 0891bff..e189c31 100644
18 --- a/app-admin/calamares/Manifest
19 +++ b/app-admin/calamares/Manifest
20 @@ -1 +1,2 @@
21 DIST calamares-2.4.4.tar.gz 2140990 SHA256 1804356ce1c8f273171c392188e26f3041f4fedb6c959514e49e73cf247e5a7c SHA512 de74b36acbfe043d8d667a3e4697d6712783353600e93d5dbc7ea9fd27e120f50822c2dee89f9cd6d1115c530d939f63b5fc5c7e9647b1d27b18089b67a184ff WHIRLPOOL c2fc201ef14eb37c16d3fd7f540043ce19a22ebe8905ef85c3682cc953abf99ca14bd8f13d920105f65903e1cf05aa4ac5cd9503655d3918d2dd7e58a8e45d7b
22 +DIST calamares-2.4.5.tar.gz 2142339 SHA256 fe924bf951ea64c92a565195330aff87587b9326c6769f5c8a8e4ee67e20bab5 SHA512 b55ed22f40116e67fe9bea6f1112fa98538f831886b950097465e171390bbef5773f61c374939c7a7a467a721af5e36c9e9845eb419f7cb015e997f82550998c WHIRLPOOL 33e91c774561eb4687eed94dedb7b2708cb0b2c73522d10061c635c9367807c4a01fdc5aee713668f090dfc204c48cd55ba76353af19e2dfff6bfaffccc6f24a
23
24 diff --git a/app-admin/calamares/calamares-2.4.5.ebuild b/app-admin/calamares/calamares-2.4.5.ebuild
25 new file mode 100644
26 index 00000000..71c0873
27 --- /dev/null
28 +++ b/app-admin/calamares/calamares-2.4.5.ebuild
29 @@ -0,0 +1,81 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python{3_4,3_5} )
37 +inherit kde5 python-r1
38 +
39 +DESCRIPTION="Distribution-independent installer framework"
40 +HOMEPAGE="http://calamares.io"
41 +if [[ ${KDE_BUILD_TYPE} == live ]] ; then
42 + EGIT_REPO_URI="git://github.com/${PN}/${PN}"
43 + KEYWORDS=""
44 +else
45 + SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
46 + KEYWORDS="~amd64"
47 +fi
48 +
49 +LICENSE="GPL-3"
50 +IUSE="+networkmanager +upower"
51 +
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +
54 +DEPEND="${PYTHON_DEPS}
55 + $(add_frameworks_dep kcoreaddons)
56 + $(add_frameworks_dep kparts)
57 + $(add_frameworks_dep kservice)
58 + $(add_qt_dep qtdbus)
59 + $(add_qt_dep qtdeclarative)
60 + $(add_qt_dep qtgui)
61 + $(add_qt_dep qtnetwork)
62 + $(add_qt_dep qtsvg)
63 + $(add_qt_dep qtwebengine 'widgets')
64 + $(add_qt_dep qtwidgets)
65 + >=dev-cpp/yaml-cpp-0.5.1
66 + >=dev-libs/boost-1.55:=[${PYTHON_USEDEP}]
67 + sys-apps/dbus
68 + sys-apps/dmidecode
69 + sys-auth/polkit-qt[qt5]
70 + >=sys-libs/kpmcore-2.2.0:5=
71 +"
72 +
73 +RDEPEND="${DEPEND}
74 + app-admin/sudo
75 + dev-libs/libatasmart
76 + net-misc/rsync
77 + >=sys-block/parted-3.0
78 + || ( sys-boot/grub:2 sys-boot/systemd-boot )
79 + sys-boot/os-prober
80 + sys-fs/squashfs-tools
81 + sys-fs/udisks:2[systemd]
82 + virtual/udev[systemd]
83 + networkmanager? ( net-misc/networkmanager )
84 + upower? ( sys-power/upower )
85 +"
86 +
87 +src_prepare() {
88 + python_setup
89 + export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
90 + PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
91 + PYTHON_CFLAGS="$(python_get_CFLAGS)"\
92 + PYTHON_LIBS="$(python_get_LIBS)"
93 +
94 + eapply_user
95 +}
96 +
97 +src_configure() {
98 + local mycmakeargs=(
99 + -DWEBVIEW_FORCE_WEBKIT=OFF
100 + )
101 +
102 + kde5_src_configure
103 + sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' "${S}"/calamares.desktop
104 + sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' "${S}"/calamares.desktop
105 +}
106 +
107 +src_install() {
108 + kde5_src_install
109 + dobin "${FILESDIR}"/calamares-pkexec
110 +}