summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2015-07-23 19:32:11 +0000
committerJohannes Huber <johu@gentoo.org>2015-07-23 19:32:11 +0000
commitecd92cc227ed6b75ebd29da18b5dbd917402cd1a (patch)
tree516b9447685f2f441a2d8fb181024990deeabec8 /app-admin
parentMask app-admin/calamares for non systemd profiles. (diff)
downloadhistorical-ecd92cc227ed6b75ebd29da18b5dbd917402cd1a.tar.gz
historical-ecd92cc227ed6b75ebd29da18b5dbd917402cd1a.tar.bz2
historical-ecd92cc227ed6b75ebd29da18b5dbd917402cd1a.zip
New package. Imported from my dev overlay. Initial ebuild by Francesco Ferro <skullbocks@dark-lab.net>. Improvements by me.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xFDF4F788
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/calamares/ChangeLog10
-rw-r--r--app-admin/calamares/Manifest27
-rw-r--r--app-admin/calamares/calamares-1.1.2.ebuild77
-rw-r--r--app-admin/calamares/files/calamares-pkexec2
-rw-r--r--app-admin/calamares/metadata.xml21
5 files changed, 137 insertions, 0 deletions
diff --git a/app-admin/calamares/ChangeLog b/app-admin/calamares/ChangeLog
new file mode 100644
index 000000000000..bbbd9478ebe1
--- /dev/null
+++ b/app-admin/calamares/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/calamares
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/calamares/ChangeLog,v 1.1 2015/07/23 19:32:04 johu Exp $
+
+*calamares-1.1.2 (23 Jul 2015)
+
+ 23 Jul 2015; Johannes Huber <johu@gentoo.org> +calamares-1.1.2.ebuild,
+ +files/calamares-pkexec, +metadata.xml:
+ New package. Imported from my dev overlay. Initial ebuild by Francesco Ferro
+ <skullbocks@dark-lab.net>. Improvements by me.
diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest
new file mode 100644
index 000000000000..ae90e7f1afbf
--- /dev/null
+++ b/app-admin/calamares/Manifest
@@ -0,0 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX calamares-pkexec 43 SHA256 1a9c278c085bcb7cb3b1027bf6ad19d153492667730afd2b94c8736387355168 SHA512 768148cd58cdfb5c6791b76ec60c21a4ca852120f53ed31a83bc7a2e0a26aa77b10bd3756182d3dff03208e820def4b83c45edba0484fa2f5a33c93880c3f4bb WHIRLPOOL bda196e8adb3b9207e9f98677dff5a4664504c114ab72bd0879d8518b74b95b558a2c90bcc612dd6f570b04c9f21fd5b46a51d55dd0f73b4fa288b3482d61f4d
+DIST calamares-1.1.2.tar.gz 3642991 SHA256 6adf5777f51998a88b19f37c3dd4bb8256be4464106ffbd5d1393ef67109d49c SHA512 567bfae24691576fb814297d7db66f61b39a639b71b2191defb43fd0d2e56b9ccf70dfd666e1fd1faaa1b954c349aea96ad2b5d1b5d59bdc5a351cde6bbdcea6 WHIRLPOOL e6b88ec952d31088c138a6467b98bd66f739ee48daf7689b5e8356274565beddd602ae02df559d6aa9f6483f797da3b7e284d04071eb3e54cf7b8679abe3730a
+EBUILD calamares-1.1.2.ebuild 1976 SHA256 2d124438541b782f616419e301e564ac93302f26278d26a07fddda24368eca5c SHA512 74d86320364737d2093293d60dd2e92eff4e4a4acf1fd7e96f4b6aef5fcd115609b9078c413742a726ed9d2681201e1672bcd0d530b5d1a5cae670d9fac9703e WHIRLPOOL 89a00b7a15dae03be34b51cfd115039872d76319e02462acd8c834e5cae5d28f223ab8a77a54eb960aae022e51307558152a5f91d8aecdbac1ea8dfdc0a9ec9a
+MISC ChangeLog 484 SHA256 d81bc4c6590616f765522d8b1d6b574c47602aed9c04901c1522428d9a278a22 SHA512 e5063d5c1bd3d084f1d8b1ff8fe0ea1cb396130d3c3f48ea7cd8b8e5510bed58b6c35f658de9bd4f7020e139e2a7f721487a8ca088ca4ab907e9540c5de6091f WHIRLPOOL f0052f5469eb31cfa5d4d4352169fa824177932808564553982c66365a44aec93b026fb7877c791972a38f199ece9a05573fb1fe6a85472f3f64bc38c0a6add3
+MISC metadata.xml 845 SHA256 511569164eec346578d84b3f649f0b222c9fc3f2b4e0827fb873f5275a526d4b SHA512 e712abd4fa06345690512bf9cbaa348b82049ee255251a5830feb2a41a6d8795d826a49ef40ed82be289ded8d36d2df42b71a4ed724eac2e62b96b4649c4d67a WHIRLPOOL fff240e0742e50542c7f70558ce3d1f676461fd42bca0643c00ae5bd1ec10dbd4d9eadc7e520aa02a046ea2d5ca2b663fb97638d3c679cac4af998f0c76e1f30
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.1
+
+iQJ8BAEBCABmBQJVsUGgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0N0Y0MTczMjZGRTRGODM5M0MzOTU4RDAy
+OTU0NDVDRUY5MDcyRDJGAAoJEClURc75By0v9tcP/3QR0dDIeS9zWRonQmz+WK9x
+ZM6sIvAk4zegLu2Aqbhm92pmPnFYb6eXfZuJcfnhvpMYclnluIvvTU1GVVbGAqmR
+vXggzunbiwGhimhdM4JTdFF1F4e52yXaHa1DjhNonvh1d0Xy+IOwhK9YNZW+I97u
+zcG4NWnHIZ+EHhYtvX1slCPOzBdS+jKtzye+xqBuLkqaMaxkpRLN+G5b5qqu7THg
+9bGalE3lnwFvfVsLV+lhTGO1WMx+zs97eVWD8mdH/yTy5U4ytT7Dw3+SjX9TY8yg
+G5yXHpoABC9yNSDmJ7rt43B48YwVUuWotuNoDetbeo0Hbw5gDn5mRBNLjf2puXK5
+dao9cnVuERFLmwkoIwc3+MU8BZfEl5wSwIB3ImH3Eq3mr1q71IeHQ3DiJVDdrdBe
+LAQFRITeD1s1KN89ME8kUPh+FMxeWGjTK4qfMtISVFGkrQTgbVPkpXzBvGijNAM8
+Xh/iho3HSom6QzYUQxw+xhKaBgI7t9UZrpPsZWFzD6dfhkiJiqUlQVDaTl4O1J5j
+sqnjLWpg4n8cwjDu3Kwoq/YRrV6JAO53Gz6MNRrgnwDCmH2r1ML/n95zVPkoLPHi
+4csMplWJhsAvjt820Ts4QpWPUyMkagd2YwSzIcGeF2D8APOYszBi6cZ9nWegWhR8
+eHCcBWwa7q8Cve0zh0e9
+=lyKe
+-----END PGP SIGNATURE-----
diff --git a/app-admin/calamares/calamares-1.1.2.ebuild b/app-admin/calamares/calamares-1.1.2.ebuild
new file mode 100644
index 000000000000..7d1176da1319
--- /dev/null
+++ b/app-admin/calamares/calamares-1.1.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/calamares/calamares-1.1.2.ebuild,v 1.1 2015/07/23 19:32:04 johu Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{3_3,3_4} )
+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}
+ >=dev-cpp/yaml-cpp-0.5.1
+ >=dev-libs/boost-1.55[${PYTHON_USEDEP}]
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep solid)
+ dev-qt/linguist-tools:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtquick1:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ sys-apps/dbus
+ sys-apps/dmidecode
+ sys-auth/polkit-qt[qt5]
+"
+
+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)"
+ export QT_SELECT=qt5
+}
+
+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
+}
diff --git a/app-admin/calamares/files/calamares-pkexec b/app-admin/calamares/files/calamares-pkexec
new file mode 100644
index 000000000000..3300d3b70c61
--- /dev/null
+++ b/app-admin/calamares/files/calamares-pkexec
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkexec "/usr/bin/calamares" "$@"
diff --git a/app-admin/calamares/metadata.xml b/app-admin/calamares/metadata.xml
new file mode 100644
index 000000000000..b719686ba39d
--- /dev/null
+++ b/app-admin/calamares/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>johu@gentoo.org</email>
+ <name>Johannes Huber</name>
+ </maintainer>
+ <longdescription>
+ Calamares is a distribution-independent system installer, with an
+ advanced partitioning feature for both manual and automated
+ partitioning operations. It is the first installer with an automated
+ “Replace Partition” option, which makes it easy to reuse a partition
+ over and over for distribution testing. Calamares is designed to be
+ customizable by distribution maintainers without need for cumbersome
+ patching, thanks to third party branding and external modules support.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">calamares/calamares</remote-id>
+ </upstream>
+</pkgmetadata>
+