1 |
commit: 863e2bed124b69af5df912b5e44c86e6fc4da244 |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 14 13:51:13 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 14 19:42:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=863e2bed |
7 |
|
8 |
x11-misc/bbtime: EAPI bump 4 -> 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/3967 |
12 |
|
13 |
x11-misc/bbtime/bbtime-0.1.5-r1.ebuild | 37 +++++++++++++++++++++++ |
14 |
x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch | 8 ++--- |
15 |
2 files changed, 41 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/x11-misc/bbtime/bbtime-0.1.5-r1.ebuild b/x11-misc/bbtime/bbtime-0.1.5-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000000..acfb02e321 |
20 |
--- /dev/null |
21 |
+++ b/x11-misc/bbtime/bbtime-0.1.5-r1.ebuild |
22 |
@@ -0,0 +1,37 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+inherit autotools |
30 |
+ |
31 |
+DESCRIPTION="blackbox time watcher" |
32 |
+HOMEPAGE="https://sourceforge.net/projects/bbtools/" |
33 |
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
38 |
+IUSE="" |
39 |
+ |
40 |
+RDEPEND="x11-libs/libX11" |
41 |
+DEPEND="${RDEPEND}" |
42 |
+ |
43 |
+DOCS=( README AUTHORS BUGS ChangeLog NEWS TODO data/README.bbtime ) |
44 |
+PATCHES=( "${FILESDIR}"/${P}-asneeded.patch ) |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ default |
48 |
+ mv configure.{in,ac} || die |
49 |
+ eautoreconf |
50 |
+} |
51 |
+ |
52 |
+src_install () { |
53 |
+ default |
54 |
+ rm "${ED%/}"/usr/share/bbtools/README.bbtime || die |
55 |
+ # since multiple bbtools packages provide this file, install |
56 |
+ # it in /usr/share/doc/${PF} |
57 |
+ mv "${ED%/}/usr/share/bbtools/bbtoolsrc.in" \ |
58 |
+ "${ED%/}/usr/share/doc/${PF}/bbtoolsrc.example" || die |
59 |
+} |
60 |
|
61 |
diff --git a/x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch b/x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch |
62 |
index 17788812d8..734d60a89b 100644 |
63 |
--- a/x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch |
64 |
+++ b/x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch |
65 |
@@ -2,8 +2,8 @@ Fixing build with as-needed |
66 |
|
67 |
https://bugs.gentoo.org/show_bug.cgi?id=248555 |
68 |
|
69 |
---- configure.in |
70 |
-+++ configure.in |
71 |
+--- a/configure.in |
72 |
++++ b/configure.in |
73 |
@@ -47,14 +47,9 @@ |
74 |
AC_PATH_X |
75 |
AC_PATH_XTRA |
76 |
@@ -21,8 +21,8 @@ https://bugs.gentoo.org/show_bug.cgi?id=248555 |
77 |
|
78 |
dnl Checks for header files. |
79 |
AC_HEADER_STDC |
80 |
---- Makefile.am |
81 |
-+++ Makefile.am |
82 |
+--- a/Makefile.am |
83 |
++++ b/Makefile.am |
84 |
@@ -1,5 +1,4 @@ |
85 |
-CPPFLAGS = @CPPFLAGS@ \ |
86 |
- -DDEFAULT_CONF=\"$(datadir)/bbtools/bbtime.conf\" \ |