summaryrefslogtreecommitdiff
path: root/app-admin/calamares
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/calamares')
-rw-r--r--app-admin/calamares/Manifest1
-rw-r--r--app-admin/calamares/calamares-2.4.6.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest
index 0567d5c8..b407262f 100644
--- a/app-admin/calamares/Manifest
+++ b/app-admin/calamares/Manifest
@@ -1 +1,2 @@
DIST calamares-2.4.5.tar.gz 2142339 SHA256 fe924bf951ea64c92a565195330aff87587b9326c6769f5c8a8e4ee67e20bab5 SHA512 b55ed22f40116e67fe9bea6f1112fa98538f831886b950097465e171390bbef5773f61c374939c7a7a467a721af5e36c9e9845eb419f7cb015e997f82550998c WHIRLPOOL 33e91c774561eb4687eed94dedb7b2708cb0b2c73522d10061c635c9367807c4a01fdc5aee713668f090dfc204c48cd55ba76353af19e2dfff6bfaffccc6f24a
+DIST calamares-2.4.6.tar.gz 2143386 SHA256 c091ad0db9b69b7552d7f282317ba4a4453d7e5ca7ee4bf98f605fe43c63597e SHA512 d2ba4675a846095c437231eb1d59f86668f7c65e2f9bda9681cd4de60324b8d8007f4337f8cd93ca71a303812ecdb8c55935805adc8fd25bb98f1e39432be009 WHIRLPOOL b54ac8347604942a00293c23e766142af867ac37dc3e910d93a07fc909eefb70bd9dc7744270320fcda10b25c3db50476f35074122ae60ee2243e46ab14ea206
diff --git a/app-admin/calamares/calamares-2.4.6.ebuild b/app-admin/calamares/calamares-2.4.6.ebuild
new file mode 100644
index 00000000..b6276d73
--- /dev/null
+++ b/app-admin/calamares/calamares-2.4.6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python3_4 )
+
+inherit eutils cmake-utils python-r1
+
+SRC_URI="https://github.com/calamares/calamares/releases/download/v${PV}/${P}.tar.gz"
+
+DESCRIPTION="Distribution-independent installer framework"
+HOMEPAGE="http://calamares.io"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="+python"
+
+S="${WORKDIR}/${P}"
+
+DEPEND="
+ dev-vcs/git
+ python? (
+ >=dev-libs/boost-1.55.0-r2[python_targets_python3_4]
+ )
+ >=dev-qt/designer-5.6.0:5
+ >=dev-qt/linguist-tools-5.6.0:5
+ >=dev-qt/qtconcurrent-5.6.0:5
+ >=dev-qt/qtcore-5.6.0:5
+ >=dev-qt/qtdbus-5.6.0:5
+ >=dev-qt/qtdeclarative-5.6.0:5
+ >=dev-qt/qtgui-5.6.0:5
+ >=dev-qt/qtnetwork-5.6.0:5
+ >=dev-qt/qtopengl-5.6.0:5
+ >=dev-qt/qtprintsupport-5.6.0:5
+ >=dev-qt/qtscript-5.6.0:5
+ >=dev-qt/qtsvg-5.6.0:5
+ >=dev-qt/qttest-5.6.0:5
+ >=dev-qt/qtwebengine-5.6.0:5
+ >=dev-qt/qtwebchannel-5.6.0:5
+ >=dev-qt/qtwidgets-5.6.0:5
+ >=dev-qt/qtxml-5.6.0:5
+ >=dev-qt/qtxmlpatterns-5.6.0:5
+ >=dev-cpp/yaml-cpp-0.5.1
+ >=kde-frameworks/extra-cmake-modules-5.18.0
+ >=sys-libs/kpmcore-2.2.0"
+
+RDEPEND=">=app-misc/calamares-runtime-1.0[branding]"
+
+src_prepare() {
+ # replace calamares installer desktop icon
+ sed -i "s/Icon=calamares/Icon=redcore-logo/g" "${S}/calamares.desktop"
+ # fix installer doesn't start from desktop launcher (IMPROVE THIS UGLY THINGY)
+ sed -i "s/pkexec //g" "${S}/calamares.desktop"
+ sed -i "s/calamares/calamares-pkexec/g" "${S}/calamares.desktop"
+ # If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used.
+ # Setting QT_SELECT environment variable will enforce correct binaries (fix taken from vlc ebuild)
+ export QT_SELECT=qt5
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_PARTITIONMANAGER=1
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ insinto /usr/bin
+ insopts -m 755
+ doins ${FILESDIR}/calamares-pkexec
+}