Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/lumina/
Date: Fri, 24 Nov 2017 16:43:13
Message-Id: 1511541748.811b27fd2d43ed22171aeef4d6cb51f6fd87bdd8.grozin@gentoo
1 commit: 811b27fd2d43ed22171aeef4d6cb51f6fd87bdd8
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 24 16:42:28 2017 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 24 16:42:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=811b27fd
7
8 x11-wm/lumina: bump to 1.4.0
9
10 Closes: https://bugs.gentoo.org/638448
11 Package-Manager: Portage-2.3.14, Repoman-2.3.6
12
13 x11-wm/lumina/Manifest | 3 +-
14 x11-wm/lumina/lumina-1.4.0.ebuild | 74 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 76 insertions(+), 1 deletion(-)
16
17 diff --git a/x11-wm/lumina/Manifest b/x11-wm/lumina/Manifest
18 index 1b2ad87c4fc..4a69ab66179 100644
19 --- a/x11-wm/lumina/Manifest
20 +++ b/x11-wm/lumina/Manifest
21 @@ -1,2 +1,3 @@
22 DIST lumina-1.2.0_p1.tar.gz 56032695 SHA256 f8366212fe3f29039c5febef5b4de97a92eb72483e2d97f5c086edf8fc65bd49 SHA512 8490e2b0f2fa08b2d63ec688f9993771ea935129a2947ef7bfa1874424cbede6d8877083ce90658c283858e67397383b5bab536388e9222b440015ebdf8b2919 WHIRLPOOL 6a7fc95022c4f9cc372c4fafc87cbda70a5f3ebcb52dc1f96516460df928e6e2f02ea380104bd7df9f7df33b1d098b24d8e73ec7ffe77e82a633c920634f9c70
23 -DIST lumina-1.3.0_p1.tar.gz 86451718 SHA256 76f2b6d45d37d154426cb100d46e3ca4e5e7eca51a7f9f9e442261bfe61b1c31 SHA512 93fb195f26984a2ba6e62dbe1ea619e4ab8e936d1cf1d335db8a7e51058c9be8d3e389146259f8229fb5dc6477610dcc2e1278c4e2a348f27904a318ba095707 WHIRLPOOL 6f3af86b66adc66a1b76732e23189946ad35e4897e4bd00912742e3d972bcf0d816b60055098c8ac1104e7e20ce938e7e4727c7501b5e7c92dcb49794c1bb38e
24 +DIST lumina-1.3.0_p1.tar.gz 86451718 BLAKE2B 7834fad1541144524fc44d5e2cc1af21e82878c05f0cc2da4cf90f8f7e51614f535bab1bcb81c6d5929e14b2fa7ba7df8e66e53a9a81b55c973511f3b3e7cc17 SHA512 93fb195f26984a2ba6e62dbe1ea619e4ab8e936d1cf1d335db8a7e51058c9be8d3e389146259f8229fb5dc6477610dcc2e1278c4e2a348f27904a318ba095707
25 +DIST lumina-1.4.0.tar.gz 22489118 BLAKE2B 547d062826a6b253cb361db3fb030c182485d335dea3baff7e30f1331c67fbffca619dbee4688f79ac04ff04e5ef2ceeae0c1146d18730a25b7d01125bc62fd3 SHA512 7243fc366a851832d9431df8ae8cac0f70a7bc92bed1282e78e5775c6593d799a07e2cac7042d770c8d6c4758bb142523027d67227a2282b47ed945b0e617cb0
26
27 diff --git a/x11-wm/lumina/lumina-1.4.0.ebuild b/x11-wm/lumina/lumina-1.4.0.ebuild
28 new file mode 100644
29 index 00000000000..e77758c2ea9
30 --- /dev/null
31 +++ b/x11-wm/lumina/lumina-1.4.0.ebuild
32 @@ -0,0 +1,74 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit qmake-utils
39 +DESCRIPTION="Lumina desktop environment"
40 +HOMEPAGE="https://lumina-desktop.org/"
41 +SRC_URI="https://github.com/trueos/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="desktop-utils"
47 +
48 +COMMON_DEPEND="dev-qt/qtcore:5
49 + dev-qt/qtconcurrent:5
50 + dev-qt/qtmultimedia:5[widgets]
51 + dev-qt/qtsvg:5
52 + dev-qt/qtnetwork:5
53 + dev-qt/qtwidgets:5
54 + dev-qt/qtx11extras:5
55 + dev-qt/qtgui:5
56 + dev-qt/qtdeclarative:5
57 + x11-libs/libxcb:0
58 + x11-libs/xcb-util
59 + x11-libs/xcb-util-image
60 + x11-libs/xcb-util-wm
61 + desktop-utils? ( app-text/poppler[qt5] )"
62 +
63 +DEPEND="$COMMON_DEPEND
64 + dev-qt/linguist-tools:5"
65 +
66 +RDEPEND="$COMMON_DEPEND
67 + sys-fs/inotify-tools
68 + x11-misc/numlockx
69 + x11-wm/fluxbox
70 + || ( x11-apps/xbacklight
71 + sys-power/acpilight )
72 + media-sound/alsa-utils
73 + sys-power/acpi
74 + app-admin/sysstat"
75 +
76 +S="${WORKDIR}/${P/_/-}"
77 +
78 +PATCHES=(
79 + "${FILESDIR}/1.2.0-desktop-files.patch"
80 + "${FILESDIR}/1.3.0-OS-detect.patch"
81 +)
82 +
83 +src_prepare(){
84 + default
85 +
86 + if use !desktop-utils ; then
87 + rm -rf src-qt5/desktop-utils || die
88 + sed -e "/desktop-utils/d" -i src-qt5/src-qt5.pro || die
89 + fi
90 +}
91 +
92 +src_configure(){
93 + eqmake5 PREFIX="${EPREFIX}/usr" LIBPREFIX="${EPREFIX}/usr/$(get_libdir)" \
94 + DESTDIR="${D}" CONFIG+=WITH_I18N QMAKE_CFLAGS_ISYSTEM=
95 +}
96 +
97 +src_install(){
98 + # A hack to avoid sandbox violation and install liblthemeengine*.so to the correct places
99 + emake install INSTALL_ROOT="${D}"
100 + rm "${ED%/}"/${PN}-* "${ED%/}"/start-${PN}-desktop "${ED%/}"/liblthemeengine*.so "${ED%/}"/lthemeengine || die
101 + mv "${D}/${D}/etc" "${D}/etc" || die
102 + mv "${D}/${D}/usr/bin" "${D}/usr/bin" || die
103 + mv "${D}/${D}/usr/share" "${D}/usr/share" || die
104 + rm -rf "${D}/var" || die
105 + mv "${ED%/}"/etc/luminaDesktop.conf{.dist,} || die
106 +}