commit:     f39626ba34c53b247959c13b6436158bb372212c
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  1 19:45:38 2020 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Jan  1 19:46:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39626ba

app-admin/calamares: Version bump 3.2.17.1

Closes: https://bugs.gentoo.org/703694
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber <johu <AT> gentoo.org>

 app-admin/calamares/Manifest                  |  1 +
 app-admin/calamares/calamares-3.2.17.1.ebuild | 91 +++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest
index f7b4da30ca7..b0d039b9964 100644
--- a/app-admin/calamares/Manifest
+++ b/app-admin/calamares/Manifest
@@ -1 +1,2 @@
 DIST calamares-3.2.12.tar.gz 3008153 BLAKE2B 
32b8a141346da528c2aef40a8fe480445cc8acbccc1190ca5ad1b5b0d03b59c709abd663e5ed33503955e3c0caa71476e7d737d46422992fc22e3acd96260857
 SHA512 
00dec40eb9c9e95933d3785a7b2ddc606530d8b94fde233d91071afbe11067d4e5b0a81298e66aaa0c65b55b6a86359466d8789f3ed886e76c2102b850f2bbc0
+DIST calamares-3.2.17.1.tar.gz 3128350 BLAKE2B 
a6926faaf1d521647cc0037b88686f9ceee1cc8167b888fe3c25228cbca8058572c8786a51f6ce0ccb77b31351d21ac41fa6c86a6577569c118729e1263ccafa
 SHA512 
fa8f1906aa7774b0f6bd65d1dc87ea2e08df92018c162f7e7fe01fe6119e65d6391141bc242623f88040bb18eb8b71003cb7417b27c10b39bc30de0f0bf8deb0

diff --git a/app-admin/calamares/calamares-3.2.17.1.ebuild 
b/app-admin/calamares/calamares-3.2.17.1.ebuild
new file mode 100644
index 00000000000..e94dcef7f30
--- /dev/null
+++ b/app-admin/calamares/calamares-3.2.17.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="true"
+PYTHON_COMPAT=( python3_6 )
+inherit ecm python-r1
+
+DESCRIPTION="Distribution-independent installer framework"
+HOMEPAGE="https://calamares.io";
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz";
+KEYWORDS="~amd64"
+SLOT=5
+LICENSE="GPL-3"
+IUSE="+networkmanager pythonqt +upower"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+       dev-qt/linguist-tools:5
+"
+COMMON_DEPEND="${PYTHON_DEPS}
+       dev-cpp/yaml-cpp:=
+       >=dev-libs/boost-1.55:=[python,${PYTHON_USEDEP}]
+       dev-libs/libpwquality[${PYTHON_USEDEP}]
+       dev-qt/qtconcurrent:5
+       dev-qt/qtdbus:5
+       dev-qt/qtdeclarative:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwebengine:5[widgets]
+       dev-qt/qtwidgets:5
+       dev-qt/qtxml:5
+       kde-frameworks/kconfig:5
+       kde-frameworks/kcoreaddons:5
+       kde-frameworks/kcrash:5
+       kde-frameworks/kpackage:5
+       kde-frameworks/kparts:5
+       kde-frameworks/kservice:5
+       sys-apps/dbus
+       sys-apps/dmidecode
+       sys-auth/polkit-qt
+       >=sys-libs/kpmcore-4.0.0:5=
+       pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_USEDEP}] )
+"
+DEPEND="${COMMON_DEPEND}
+       test? ( dev-qt/qttest:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+       app-admin/sudo
+       dev-libs/libatasmart
+       net-misc/rsync
+       || ( sys-boot/grub:2 sys-boot/systemd-boot )
+       sys-boot/os-prober
+       sys-fs/squashfs-tools
+       sys-libs/timezone-data
+       virtual/udev
+       networkmanager? ( net-misc/networkmanager )
+       upower? ( sys-power/upower )
+"
+
+src_prepare() {
+       ecm_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)"
+
+       sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' \
+               calamares.desktop || die
+       sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' \
+               calamares.desktop || die
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DWEBVIEW_FORCE_WEBKIT=OFF
+               -DCMAKE_DISABLE_FIND_PACKAGE_LIBPARTED=ON
+               -DWITH_PYTHONQT=$(usex pythonqt)
+       )
+
+       ecm_src_configure
+}
+
+src_install() {
+       ecm_src_install
+       dobin "${FILESDIR}"/calamares-pkexec
+}

Reply via email to