1 |
commit: debc42e5fed69bfa257ee6be167198adde5b4eec |
2 |
Author: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 25 18:59:50 2018 +0000 |
4 |
Commit: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 25 22:04:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=debc42e5 |
7 |
|
8 |
x11-wm/awesome: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
x11-wm/awesome/awesome-4.2.ebuild | 112 -------------------------------------- |
13 |
1 file changed, 112 deletions(-) |
14 |
|
15 |
diff --git a/x11-wm/awesome/awesome-4.2.ebuild b/x11-wm/awesome/awesome-4.2.ebuild |
16 |
deleted file mode 100644 |
17 |
index a579c0907b8..00000000000 |
18 |
--- a/x11-wm/awesome/awesome-4.2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,112 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-inherit cmake-utils eutils pax-utils |
27 |
- |
28 |
-DESCRIPTION="A dynamic floating and tiling window manager" |
29 |
-HOMEPAGE="https://awesomewm.org/" |
30 |
-SRC_URI="https://github.com/awesomeWM/awesome-releases/raw/master/${P}.tar.xz" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~arm ~x86" |
35 |
-IUSE="dbus doc elibc_FreeBSD gnome luajit" |
36 |
- |
37 |
-RDEPEND=" |
38 |
- >=dev-lang/lua-5.1:0 |
39 |
- dev-libs/glib:2 |
40 |
- >=dev-libs/libxdg-basedir-1 |
41 |
- >=dev-lua/lgi-0.8 |
42 |
- x11-libs/cairo[xcb] |
43 |
- x11-libs/gdk-pixbuf:2 |
44 |
- >=x11-libs/libxcb-1.6 |
45 |
- >=x11-libs/pango-1.19.3[introspection] |
46 |
- >=x11-libs/startup-notification-0.10_p20110426 |
47 |
- >=x11-libs/xcb-util-0.3.8 |
48 |
- x11-libs/xcb-util-cursor |
49 |
- >=x11-libs/xcb-util-keysyms-0.3.4 |
50 |
- >=x11-libs/xcb-util-wm-0.3.8 |
51 |
- >=x11-libs/xcb-util-xrm-1.0 |
52 |
- x11-libs/libXcursor |
53 |
- x11-libs/libxkbcommon[X] |
54 |
- >=x11-libs/libX11-1.3.99.901 |
55 |
- dbus? ( >=sys-apps/dbus-1 ) |
56 |
- elibc_FreeBSD? ( || ( dev-libs/libexecinfo >=sys-freebsd/freebsd-lib-10.0 ) )" |
57 |
- |
58 |
-# graphicsmagick's 'convert -channel' has no Alpha support, bug #352282 |
59 |
-DEPEND="${RDEPEND} |
60 |
- >=app-text/asciidoc-8.4.5 |
61 |
- app-text/xmlto |
62 |
- dev-util/gperf |
63 |
- virtual/pkgconfig |
64 |
- media-gfx/imagemagick[png] |
65 |
- >=x11-proto/xcb-proto-1.5 |
66 |
- >=x11-proto/xproto-7.0.15 |
67 |
- doc? ( dev-lua/ldoc ) |
68 |
- luajit? ( dev-lang/luajit:2 )" |
69 |
- |
70 |
-DOCS=( docs/{00-authors,01-readme,02-contributing}.md ) |
71 |
-PATCHES=( |
72 |
- "${FILESDIR}/${PN}-4.0-convert-path.patch" # bug #408025 |
73 |
- "${FILESDIR}/${PN}-xsession.patch" # bug #408025 |
74 |
- "${FILESDIR}/${PN}-4.0-cflag-cleanup.patch" # bug #509658 |
75 |
-) |
76 |
- |
77 |
-src_configure() { |
78 |
- local mycmakeargs=( |
79 |
- -DSYSCONFDIR="${EPREFIX}"/etc |
80 |
- -DWITH_DBUS=$(usex dbus) |
81 |
- -DWITH_GENERATE_DOC=$(usex doc $(usex doc) n) |
82 |
- ) |
83 |
- if use luajit; then |
84 |
- mycmakeargs+=("-DLUA_INCLUDE_DIR=${EPREFIX}/usr/include/luajit-2.0") |
85 |
- mycmakeargs+=("-DLUA_LIBRARY=${EPREFIX}/usr/$(get_libdir)/libluajit-5.1.so") |
86 |
- fi |
87 |
- cmake-utils_src_configure |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- cmake-utils_src_install |
92 |
- |
93 |
- pax-mark m "${ED%/}"/usr/bin/awesome |
94 |
- |
95 |
- exeinto /etc/X11/Sessions |
96 |
- newexe "${FILESDIR}"/${PN}-session ${PN} |
97 |
- |
98 |
- # GNOME-based awesome |
99 |
- if use gnome; then |
100 |
- # GNOME session |
101 |
- insinto /usr/share/gnome-session/sessions |
102 |
- newins "${FILESDIR}"/${PN}-gnome-3.session ${PN}-gnome.session |
103 |
- |
104 |
- # Application launcher |
105 |
- domenu "${FILESDIR}"/${PN}-gnome.desktop |
106 |
- |
107 |
- # X Session |
108 |
- insinto /usr/share/xsessions |
109 |
- doins "${FILESDIR}"/${PN}-gnome-xsession.desktop |
110 |
- fi |
111 |
-} |
112 |
- |
113 |
-pkg_postinst() { |
114 |
- # bug #447308 |
115 |
- if use gnome; then |
116 |
- elog "You have enabled the gnome USE flag." |
117 |
- elog "Please note that quitting awesome won't kill your gnome session." |
118 |
- elog "To really quit the session, you should bind your quit key" |
119 |
- elog "to the following command:" |
120 |
- elog " gnome-session-quit --logout" |
121 |
- elog "For more info visit" |
122 |
- elog " https://bugs.gentoo.org/show_bug.cgi?id=447308" |
123 |
- fi |
124 |
- |
125 |
- # bug #440724 |
126 |
- elog "If you are having issues with Java application windows being" |
127 |
- elog "completely blank, try installing" |
128 |
- elog " x11-misc/wmname" |
129 |
- elog "and setting the WM name to LG3D." |
130 |
- elog "For more info visit" |
131 |
- elog " https://bugs.gentoo.org/show_bug.cgi?id=440724" |
132 |
-} |