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, 07 May 2018 16:38:17
Message-Id: 1525711087.01c20e365470501db34314fa0e1ce32ee4bdd5c0.johu@gentoo
1 commit: 01c20e365470501db34314fa0e1ce32ee4bdd5c0
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 7 16:37:04 2018 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Mon May 7 16:38:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c20e36
7
8 app-admin/calamares: Version bump 3.1.13
9
10 Package-Manager: Portage-2.3.36, Repoman-2.3.9
11
12 app-admin/calamares/Manifest | 1 +
13 app-admin/calamares/calamares-3.1.13.ebuild | 79 +++++++++++++++++++++++++++++
14 2 files changed, 80 insertions(+)
15
16 diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest
17 index a60cebdc428..057005f5852 100644
18 --- a/app-admin/calamares/Manifest
19 +++ b/app-admin/calamares/Manifest
20 @@ -1 +1,2 @@
21 DIST calamares-3.1.12.tar.gz 2272996 BLAKE2B f9fd2edd6922262b2a0e5a28818c79e477c9cc2105a4d4d3cb8367cb6a399af1011f6333f43790699aea04d31668e7fa2b9b79225098af6b1f31093de8988e87 SHA512 10ab898c06d4d936c5bf25e5d461e40d98914636b2fddca22b80b949b6a1225170887ffc6ceebb3848276b6d4812db863751b608b6671bb829a98a0dc6e7bf72
22 +DIST calamares-3.1.13.tar.gz 2279516 BLAKE2B ff2c81e81086d53c205c25dbdb7e8b1b60f5f10c979e9afd85c02426cd38037c6fbbf76e21fa5fb152ea9bf1c47658563ba5b2fb7e84b4e2734d6269584315df SHA512 451e04fe41448976e612b2a682cf38ed2683b490bb195ba82ad97d47dfd3eb808f8c25251be00104e3f3b4086ab37be462034bbd2866e64536e90f7ebcfb0d7a
23
24 diff --git a/app-admin/calamares/calamares-3.1.13.ebuild b/app-admin/calamares/calamares-3.1.13.ebuild
25 new file mode 100644
26 index 00000000000..261aa9e0169
27 --- /dev/null
28 +++ b/app-admin/calamares/calamares-3.1.13.ebuild
29 @@ -0,0 +1,79 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python{3_4,3_5,3_6} )
36 +inherit kde5 python-r1
37 +
38 +DESCRIPTION="Distribution-independent installer framework"
39 +HOMEPAGE="https://calamares.io"
40 +if [[ ${KDE_BUILD_TYPE} == live ]] ; then
41 + EGIT_REPO_URI="https://github.com/${PN}/${PN}"
42 +else
43 + SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
44 + KEYWORDS="~amd64"
45 +fi
46 +
47 +LICENSE="GPL-3"
48 +IUSE="+networkmanager pythonqt +upower"
49 +
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +DEPEND="${PYTHON_DEPS}
53 + $(add_frameworks_dep kcoreaddons)
54 + $(add_frameworks_dep kparts)
55 + $(add_frameworks_dep kservice)
56 + $(add_qt_dep qtdbus)
57 + $(add_qt_dep qtdeclarative)
58 + $(add_qt_dep qtgui)
59 + $(add_qt_dep qtnetwork)
60 + $(add_qt_dep qtsvg)
61 + $(add_qt_dep qtwebengine 'widgets')
62 + $(add_qt_dep qtwidgets)
63 + dev-cpp/yaml-cpp:=
64 + >=dev-libs/boost-1.55:=[${PYTHON_USEDEP}]
65 + sys-apps/dbus
66 + sys-apps/dmidecode
67 + sys-auth/polkit-qt[qt5(+)]
68 + >=sys-libs/kpmcore-3.0.3:5=
69 + pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_USEDEP}] )
70 +"
71 +
72 +RDEPEND="${DEPEND}
73 + app-admin/sudo
74 + dev-libs/libatasmart
75 + net-misc/rsync
76 + >=sys-block/parted-3.0
77 + || ( sys-boot/grub:2 sys-boot/systemd-boot )
78 + sys-boot/os-prober
79 + sys-fs/squashfs-tools
80 + virtual/udev
81 + networkmanager? ( net-misc/networkmanager )
82 + upower? ( sys-power/upower )
83 +"
84 +
85 +src_prepare() {
86 + cmake-utils_src_prepare
87 + python_setup
88 + export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
89 + PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
90 + PYTHON_CFLAGS="$(python_get_CFLAGS)"\
91 + PYTHON_LIBS="$(python_get_LIBS)"
92 +}
93 +
94 +src_configure() {
95 + local mycmakeargs=(
96 + -DWEBVIEW_FORCE_WEBKIT=OFF
97 + -DWITH_PYTHONQT=$(usex pythonqt)
98 + )
99 +
100 + kde5_src_configure
101 + sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' "${S}"/calamares.desktop
102 + sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' "${S}"/calamares.desktop
103 +}
104 +
105 +src_install() {
106 + kde5_src_install
107 + dobin "${FILESDIR}"/calamares-pkexec
108 +}