From: | "Johannes Huber (johu)" <johu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/calamares: metadata.xml calamares-1.1.2.ebuild ChangeLog |
Date: | Thu, 23 Jul 2015 19:32:11 |
Message-Id: | 20150723193204.5143AC1@oystercatcher.gentoo.org |
1 | johu 15/07/23 19:32:04 |
2 | |
3 | Added: metadata.xml calamares-1.1.2.ebuild ChangeLog |
4 | Log: |
5 | New package. Imported from my dev overlay. Initial ebuild by Francesco Ferro <skullbocks@××××××××.net>. Improvements by me. |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xFDF4F788) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-admin/calamares/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/calamares/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/calamares/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <maintainer> |
21 | <email>johu@g.o</email> |
22 | <name>Johannes Huber</name> |
23 | </maintainer> |
24 | <longdescription> |
25 | Calamares is a distribution-independent system installer, with an |
26 | advanced partitioning feature for both manual and automated |
27 | partitioning operations. It is the first installer with an automated |
28 | “Replace Partition” option, which makes it easy to reuse a partition |
29 | over and over for distribution testing. Calamares is designed to be |
30 | customizable by distribution maintainers without need for cumbersome |
31 | patching, thanks to third party branding and external modules support. |
32 | </longdescription> |
33 | <upstream> |
34 | <remote-id type="github">calamares/calamares</remote-id> |
35 | </upstream> |
36 | </pkgmetadata> |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 app-admin/calamares/calamares-1.1.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/calamares/calamares-1.1.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/calamares/calamares-1.1.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: calamares-1.1.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2015 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-admin/calamares/calamares-1.1.2.ebuild,v 1.1 2015/07/23 19:32:04 johu Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | PYTHON_COMPAT=( python{3_3,3_4} ) |
55 | inherit kde5 python-r1 |
56 | |
57 | DESCRIPTION="Distribution-independent installer framework" |
58 | HOMEPAGE="http://calamares.io" |
59 | if [[ ${KDE_BUILD_TYPE} == live ]] ; then |
60 | EGIT_REPO_URI="git://github.com/${PN}/${PN}" |
61 | KEYWORDS="" |
62 | else |
63 | SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" |
64 | KEYWORDS="~amd64" |
65 | fi |
66 | |
67 | LICENSE="GPL-3" |
68 | IUSE="+networkmanager +upower" |
69 | |
70 | REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
71 | |
72 | DEPEND="${PYTHON_DEPS} |
73 | >=dev-cpp/yaml-cpp-0.5.1 |
74 | >=dev-libs/boost-1.55[${PYTHON_USEDEP}] |
75 | $(add_frameworks_dep kconfig) |
76 | $(add_frameworks_dep ki18n) |
77 | $(add_frameworks_dep kcoreaddons) |
78 | $(add_frameworks_dep solid) |
79 | dev-qt/linguist-tools:5 |
80 | dev-qt/qtdbus:5 |
81 | dev-qt/qtgui:5 |
82 | dev-qt/qtquick1:5 |
83 | dev-qt/qtsvg:5 |
84 | dev-qt/qtwidgets:5 |
85 | sys-apps/dbus |
86 | sys-apps/dmidecode |
87 | sys-auth/polkit-qt[qt5] |
88 | " |
89 | |
90 | RDEPEND="${DEPEND} |
91 | app-admin/sudo |
92 | dev-libs/libatasmart |
93 | net-misc/rsync |
94 | sys-apps/gptfdisk |
95 | >=sys-block/parted-3.0 |
96 | || ( sys-boot/grub:2 sys-boot/gummiboot ) |
97 | sys-boot/os-prober |
98 | sys-fs/squashfs-tools |
99 | sys-fs/udisks:2[systemd] |
100 | virtual/udev[systemd] |
101 | networkmanager? ( net-misc/networkmanager ) |
102 | upower? ( sys-power/upower ) |
103 | " |
104 | |
105 | src_prepare() { |
106 | python_setup |
107 | export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \ |
108 | PYTHON_INCLUDE_PATH="$(python_get_library_path)"\ |
109 | PYTHON_CFLAGS="$(python_get_CFLAGS)"\ |
110 | PYTHON_LIBS="$(python_get_LIBS)" |
111 | export QT_SELECT=qt5 |
112 | } |
113 | |
114 | src_configure() { |
115 | local mycmakeargs=( "-DWITH_PARTITIONMANAGER=1" ) |
116 | kde5_src_configure |
117 | sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' "${S}"/calamares.desktop |
118 | sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' "${S}"/calamares.desktop |
119 | } |
120 | |
121 | src_install() { |
122 | kde5_src_install |
123 | dobin "${FILESDIR}"/calamares-pkexec |
124 | } |
125 | |
126 | |
127 | |
128 | 1.1 app-admin/calamares/ChangeLog |
129 | |
130 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/calamares/ChangeLog?rev=1.1&view=markup |
131 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/calamares/ChangeLog?rev=1.1&content-type=text/plain |
132 | |
133 | Index: ChangeLog |
134 | =================================================================== |
135 | # ChangeLog for app-admin/calamares |
136 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
137 | # $Header: /var/cvsroot/gentoo-x86/app-admin/calamares/ChangeLog,v 1.1 2015/07/23 19:32:04 johu Exp $ |
138 | |
139 | *calamares-1.1.2 (23 Jul 2015) |
140 | |
141 | 23 Jul 2015; Johannes Huber <johu@g.o> +calamares-1.1.2.ebuild, |
142 | +files/calamares-pkexec, +metadata.xml: |
143 | New package. Imported from my dev overlay. Initial ebuild by Francesco Ferro |
144 | <skullbocks@××××××××.net>. Improvements by me. |