diff options
author | Johannes Huber <johu@gentoo.org> | 2016-04-08 20:21:31 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-04-08 20:21:31 +0200 |
commit | 051791f1b86007c9701a04ff0e4e8302c43b3dba (patch) | |
tree | f331414313e7e2be8c234eaaf36d4253708a9399 /app-admin/calamares | |
parent | dev-libs/purpose: EAPI 6 (diff) | |
download | gentoo-051791f1b86007c9701a04ff0e4e8302c43b3dba.tar.gz gentoo-051791f1b86007c9701a04ff0e4e8302c43b3dba.tar.bz2 gentoo-051791f1b86007c9701a04ff0e4e8302c43b3dba.zip |
app-admin/calamares: Version bump 2.2.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-admin/calamares')
-rw-r--r-- | app-admin/calamares/Manifest | 1 | ||||
-rw-r--r-- | app-admin/calamares/calamares-2.2.1.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest index 6bb8362fe403..908ee3377f17 100644 --- a/app-admin/calamares/Manifest +++ b/app-admin/calamares/Manifest @@ -1 +1,2 @@ +DIST calamares-2.2.1.tar.gz 4733060 SHA256 1775444f286b37994a6970e878db09bf48dfa687c57435eed05c27d3064f34fa SHA512 f6864277857cef616598526936ee91b01245aac8c4fa67cbb69bf365523177d0042c46846af4116496974d74672582a7b6b6b925a9da0aa7819ad6b238ec7980 WHIRLPOOL 0ddc38a2c8ac06892e0dbee2117e100479c28548fed792c9be9ccc547fb49247cc4c69fd88e5d503786ba93d1a1f28ef84979c2a32a97c5fb94a3952f29e9535 DIST calamares-2.2.tar.gz 4728472 SHA256 b75d1462a8a7bd2bdc57ec38bd3b2e0485be573d8af13d05f44df2fc7a7dcaa4 SHA512 1b612f10cba059f8991d4e0afc06a742495929ae20daf8e57d4bca94b5836cd7cd3f3db1cbf08850c8ed55a7dd5f28f42198b6e40392b3f8cc36e8da55b95ffc WHIRLPOOL b1aeb6ff5df865c679d080f6482c50c85a6aa75768729c2194a775182f98d8b78627c66e8b49063c8f60bdec1c2f56a1fd627528fbc2a13fe8117d6c933bb212 diff --git a/app-admin/calamares/calamares-2.2.1.ebuild b/app-admin/calamares/calamares-2.2.1.ebuild new file mode 100644 index 000000000000..9a0efdd7fba1 --- /dev/null +++ b/app-admin/calamares/calamares-2.2.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 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}" + KEYWORDS="" +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 kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep solid) + $(add_qt_dep linguist-tools) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtquick1) + $(add_qt_dep qtsvg) + $(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-2.1.0 +" + +RDEPEND="${DEPEND} + app-admin/sudo + dev-libs/libatasmart + net-misc/rsync + sys-apps/gptfdisk + >=sys-block/parted-3.0 + || ( sys-boot/grub:2 sys-boot/gummiboot ) + 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=( "-DWITH_PARTITIONMANAGER=1" ) + 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 +} |