1 |
commit: 33758632f698ae04953c1d74a02d6e91eee3e57f |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 7 04:48:30 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 15 01:31:29 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=33758632 |
7 |
|
8 |
Add a new package sys-libs/libosinfo, will be used by gnome-boxes |
9 |
|
10 |
--- |
11 |
sys-libs/libosinfo/libosinfo-0.0.1.ebuild | 49 +++++++++++++++++++++++++++++ |
12 |
sys-libs/libosinfo/libosinfo-9999.ebuild | 49 +++++++++++++++++++++++++++++ |
13 |
2 files changed, 98 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/sys-libs/libosinfo/libosinfo-0.0.1.ebuild b/sys-libs/libosinfo/libosinfo-0.0.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..e08a11e |
18 |
--- /dev/null |
19 |
+++ b/sys-libs/libosinfo/libosinfo-0.0.1.ebuild |
20 |
@@ -0,0 +1,49 @@ |
21 |
+# Copyright 1999-2011 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: $ |
24 |
+ |
25 |
+EAPI="4" |
26 |
+GCONF_DEBUG="no" |
27 |
+GNOME2_LA_PUNT="yes" |
28 |
+ |
29 |
+inherit gnome2 |
30 |
+if [[ ${PV} = 9999 ]]; then |
31 |
+ inherit gnome2-live |
32 |
+fi |
33 |
+ |
34 |
+DESCRIPTION="GObject library for managing information about real and virtual OSes" |
35 |
+HOMEPAGE="https://fedorahosted.org/libosinfo/" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+if [[ ${PV} = 9999 ]]; then |
40 |
+ EGIT_REPO_URI="git://git.fedorahosted.org/${PN}.git" |
41 |
+ KEYWORDS="" |
42 |
+else |
43 |
+ SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz" |
44 |
+ KEYWORDS="~amd64 ~x86" |
45 |
+fi |
46 |
+IUSE="doc +introspection +vala test" |
47 |
+REQUIRED_USE="vala? ( introspection )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/glib:2 |
51 |
+ >=dev-libs/libxml2-2.6.0:2 |
52 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.0 )" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ dev-util/pkgconfig |
55 |
+ doc? ( >=dev-util/gtk-doc-1.10 ) |
56 |
+ introspection? ( dev-libs/check ) |
57 |
+ vala? ( dev-lang/vala:0.14 )" |
58 |
+ |
59 |
+pkg_setup() { |
60 |
+ # --enable-udev only installs udev rules |
61 |
+ G2CONF="--disable-coverage |
62 |
+ --disable-static |
63 |
+ --enable-udev |
64 |
+ --with-udev-rulesdir=/lib/udev/rules.d |
65 |
+ VAPIGEN=$(type -P vapigen-0.14) |
66 |
+ $(use_enable introspection) |
67 |
+ $(use_enable test tests) |
68 |
+ $(use_enable vala)" |
69 |
+} |
70 |
|
71 |
diff --git a/sys-libs/libosinfo/libosinfo-9999.ebuild b/sys-libs/libosinfo/libosinfo-9999.ebuild |
72 |
new file mode 100644 |
73 |
index 0000000..e08a11e |
74 |
--- /dev/null |
75 |
+++ b/sys-libs/libosinfo/libosinfo-9999.ebuild |
76 |
@@ -0,0 +1,49 @@ |
77 |
+# Copyright 1999-2011 Gentoo Foundation |
78 |
+# Distributed under the terms of the GNU General Public License v2 |
79 |
+# $Header: $ |
80 |
+ |
81 |
+EAPI="4" |
82 |
+GCONF_DEBUG="no" |
83 |
+GNOME2_LA_PUNT="yes" |
84 |
+ |
85 |
+inherit gnome2 |
86 |
+if [[ ${PV} = 9999 ]]; then |
87 |
+ inherit gnome2-live |
88 |
+fi |
89 |
+ |
90 |
+DESCRIPTION="GObject library for managing information about real and virtual OSes" |
91 |
+HOMEPAGE="https://fedorahosted.org/libosinfo/" |
92 |
+ |
93 |
+LICENSE="GPL-2" |
94 |
+SLOT="0" |
95 |
+if [[ ${PV} = 9999 ]]; then |
96 |
+ EGIT_REPO_URI="git://git.fedorahosted.org/${PN}.git" |
97 |
+ KEYWORDS="" |
98 |
+else |
99 |
+ SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz" |
100 |
+ KEYWORDS="~amd64 ~x86" |
101 |
+fi |
102 |
+IUSE="doc +introspection +vala test" |
103 |
+REQUIRED_USE="vala? ( introspection )" |
104 |
+ |
105 |
+RDEPEND=" |
106 |
+ dev-libs/glib:2 |
107 |
+ >=dev-libs/libxml2-2.6.0:2 |
108 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.0 )" |
109 |
+DEPEND="${RDEPEND} |
110 |
+ dev-util/pkgconfig |
111 |
+ doc? ( >=dev-util/gtk-doc-1.10 ) |
112 |
+ introspection? ( dev-libs/check ) |
113 |
+ vala? ( dev-lang/vala:0.14 )" |
114 |
+ |
115 |
+pkg_setup() { |
116 |
+ # --enable-udev only installs udev rules |
117 |
+ G2CONF="--disable-coverage |
118 |
+ --disable-static |
119 |
+ --enable-udev |
120 |
+ --with-udev-rulesdir=/lib/udev/rules.d |
121 |
+ VAPIGEN=$(type -P vapigen-0.14) |
122 |
+ $(use_enable introspection) |
123 |
+ $(use_enable test tests) |
124 |
+ $(use_enable vala)" |
125 |
+} |