public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/johu:master commit in: app-admin/calamares/
Date: Wed, 22 Jul 2015 20:37:11 +0000 (UTC)	[thread overview]
Message-ID: <1437597490.3dfc043a8485841416066a9f235066626b561183.johu@gentoo> (raw)

commit:     3dfc043a8485841416066a9f235066626b561183
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 22 20:37:39 2015 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Jul 22 20:38:10 2015 +0000
URL:        https://gitweb.gentoo.org/dev/johu.git/commit/?id=3dfc043a

[app-admin/calamares] New package

Import ebuild for maintenance from https://github.com/Sabayon/for-gentoo
by Francesco Ferro <skullbocks <AT> dark-lab.net>.

Package-Manager: portage-2.2.20

 app-admin/calamares/calamares-9999.ebuild | 86 +++++++++++++++++++++++++++++++
 app-admin/calamares/metadata.xml          | 10 ++++
 2 files changed, 96 insertions(+)

diff --git a/app-admin/calamares/calamares-9999.ebuild b/app-admin/calamares/calamares-9999.ebuild
new file mode 100644
index 0000000..d12c0d9
--- /dev/null
+++ b/app-admin/calamares/calamares-9999.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{3_3,3_4} )
+inherit eutils cmake-utils python-r1
+
+MY_AUTHOR="calamares"
+DESCRIPTION="A Distribution-independent installer framework."
+HOMEPAGE="http://${MY_AUTHOR}.io"
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	SRC_URI=""
+	EGIT_REPO_URI="git://github.com/${MY_AUTHOR}/${PN}.git
+		       https://github.com/${MY_AUTHOR}/${PN}.git"
+	KEYWORDS=""
+else
+	inherit git-r3
+	SRC_URI=""
+	EGIT_REPO_URI="git://github.com/${MY_AUTHOR}/${PN}.git
+		       https://github.com/${MY_AUTHOR}/${PN}.git"
+	EGIT_COMMIT=
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+networkmanager +upower"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+DEPEND="${PYTHON_DEPS}
+	sys-apps/dbus
+	>=dev-qt/qtquick1-5.4.0:5
+	>=dev-qt/linguist-tools-5.4.0:5
+	>=dev-qt/qtconcurrent-5.4.0:5
+	>=dev-qt/qtcore-5.4.0:5
+	>=dev-qt/qtdbus-5.4.0:5
+	>=dev-qt/qtgui-5.4.0:5
+	>=dev-qt/qtsvg-5.4.0:5
+	>=dev-qt/qtwidgets-5.4.0:5
+	sys-auth/polkit-qt[qt5]
+	>=dev-cpp/yaml-cpp-0.5.1
+	>=dev-libs/boost-1.55[${PYTHON_USEDEP}]
+	>=kde-frameworks/extra-cmake-modules-5.10.0:5
+	sys-apps/dmidecode"
+
+RDEPEND="${DEPEND}
+	>=dev-libs/libatasmart-0.19
+	>=kde-frameworks/kconfig-5.10.0:5
+	>=kde-frameworks/ki18n-5.10.0:5
+	>=kde-frameworks/kcoreaddons-5.10.0:5
+	>=kde-frameworks/solid-5.10.0:5
+	>=sys-block/parted-3.0
+	>=sys-apps/gptfdisk-0.8.10
+	sys-fs/udisks:2[systemd]
+	virtual/udev[systemd]
+	|| ( sys-boot/grub:2 sys-boot/gummiboot )
+	sys-fs/squashfs-tools
+	networkmanager? ( net-misc/networkmanager )
+	upower? ( sys-power/upower )
+	net-misc/rsync
+	app-admin/sudo
+	sys-boot/os-prober"
+
+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" )
+	cmake-utils_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() {
+	cmake-utils_src_install
+	dobin "${FILESDIR}"/calamares-pkexec
+}

diff --git a/app-admin/calamares/metadata.xml b/app-admin/calamares/metadata.xml
new file mode 100644
index 0000000..1b530c1
--- /dev/null
+++ b/app-admin/calamares/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>no-herd</herd>
+	<maintainer>
+		<email>johu@gentoo.org</email>
+		<name>Johannes Huber</name>
+	</maintainer>
+</pkgmetadata>
+


             reply	other threads:[~2015-07-22 20:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 20:37 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-22 21:22 [gentoo-commits] dev/johu:master commit in: app-admin/calamares/ Johannes Huber
2015-07-22 21:31 Johannes Huber
2015-07-26 11:55 Johannes Huber
2016-03-12 13:44 Johannes Huber
2016-03-13 11:04 Johannes Huber
2016-03-15 16:02 Johannes Huber
2016-04-07 18:29 Johannes Huber
2016-04-10 19:08 Johannes Huber
2016-04-12 17:48 Johannes Huber
2016-04-25 15:49 Johannes Huber
2016-05-22 18:39 Johannes Huber
2016-07-01 17:06 Johannes Huber
2016-07-25 22:14 Johannes Huber
2016-10-14  6:15 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1437597490.3dfc043a8485841416066a9f235066626b561183.johu@gentoo \
    --to=johu@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox