1 |
commit: 8883893ecd11b82dc40aaa3a62dba56b272271d7 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 30 20:53:03 2018 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 30 21:13:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8883893e |
7 |
|
8 |
x11-wm/openbox: Migrate to git-r3 eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
x11-wm/openbox/openbox-3.6.1.ebuild | 12 +----------- |
13 |
x11-wm/openbox/openbox-9999.ebuild | 11 ++--------- |
14 |
2 files changed, 3 insertions(+), 20 deletions(-) |
15 |
|
16 |
diff --git a/x11-wm/openbox/openbox-3.6.1.ebuild b/x11-wm/openbox/openbox-3.6.1.ebuild |
17 |
index 1786f2c2ccf..fb04b059624 100644 |
18 |
--- a/x11-wm/openbox/openbox-3.6.1.ebuild |
19 |
+++ b/x11-wm/openbox/openbox-3.6.1.ebuild |
20 |
@@ -9,12 +9,10 @@ inherit multilib autotools python-r1 eutils |
21 |
DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager" |
22 |
HOMEPAGE="http://openbox.org/" |
23 |
if [[ ${PV} == *9999* ]]; then |
24 |
- inherit git-2 |
25 |
+ inherit git-r3 |
26 |
EGIT_REPO_URI="git://git.openbox.org/dana/openbox" |
27 |
SRC_URI="branding? ( |
28 |
https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" |
29 |
- KEYWORDS="alpha arm hppa ppc ppc64 sparc x86" |
30 |
- |
31 |
else |
32 |
SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz |
33 |
branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" |
34 |
@@ -51,14 +49,6 @@ DEPEND="${RDEPEND} |
35 |
virtual/pkgconfig |
36 |
x11-base/xorg-proto" |
37 |
|
38 |
-src_unpack() { |
39 |
- if [[ ${PV} == *9999* ]]; then |
40 |
- git-2_src_unpack |
41 |
- else |
42 |
- unpack ${A} |
43 |
- fi |
44 |
-} |
45 |
- |
46 |
src_prepare() { |
47 |
use xdg && python_export_best |
48 |
epatch "${FILESDIR}"/${PN}-3.5.2-gnome-session.patch |
49 |
|
50 |
diff --git a/x11-wm/openbox/openbox-9999.ebuild b/x11-wm/openbox/openbox-9999.ebuild |
51 |
index 651ddc4d1e4..1a98e9183a6 100644 |
52 |
--- a/x11-wm/openbox/openbox-9999.ebuild |
53 |
+++ b/x11-wm/openbox/openbox-9999.ebuild |
54 |
@@ -9,7 +9,7 @@ inherit multilib autotools python-r1 eutils |
55 |
DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager" |
56 |
HOMEPAGE="http://openbox.org/" |
57 |
if [[ ${PV} == *9999* ]]; then |
58 |
- inherit git-2 |
59 |
+ inherit git-r3 |
60 |
EGIT_REPO_URI="git://git.openbox.org/dana/openbox" |
61 |
SRC_URI="branding? ( |
62 |
https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" |
63 |
@@ -51,19 +51,12 @@ DEPEND="${RDEPEND} |
64 |
virtual/pkgconfig |
65 |
x11-base/xorg-proto" |
66 |
|
67 |
-src_unpack() { |
68 |
- if [[ ${PV} == *9999* ]]; then |
69 |
- git-2_src_unpack |
70 |
- else |
71 |
- unpack ${A} |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
src_prepare() { |
76 |
use xdg && python_export_best |
77 |
epatch "${FILESDIR}"/${PN}-3.5.2-gnome-session.patch |
78 |
sed -i \ |
79 |
-e "s:-O0 -ggdb ::" \ |
80 |
+ -e 's/-fno-strict-aliasing//' \ |
81 |
"${S}"/m4/openbox.m4 || die |
82 |
epatch_user |
83 |
eautoreconf |