1 |
commit: a6a7512493aa73ae930892707e63cfd0a4e08d72 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 28 18:02:46 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 28 18:45:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a75124 |
7 |
|
8 |
dev-libs/openobex: 1.7.2 version/EAPI-6 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
dev-libs/openobex/Manifest | 1 + |
13 |
dev-libs/openobex/openobex-1.7.2.ebuild | 37 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/openobex/Manifest b/dev-libs/openobex/Manifest |
17 |
index 0fb5fccbdba..6c3522997a4 100644 |
18 |
--- a/dev-libs/openobex/Manifest |
19 |
+++ b/dev-libs/openobex/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST openobex-1.7.1-Source.tar.gz 131091 BLAKE2B a30e96a89edeb2f07ab78b1e7eaa341de62b9ad15b0251eaac93300cbf21b073034c672eb753e9dfd44c678a99e4bf0b10cf5c1e5841565ab727c2e082d66d92 SHA512 df38b363bd4c6eb6c0181fc7858fb03ac2bdfa85d8496faaa514d5cc4473b33c883956d4e1c94c3fefa5e44e5eed35a8dfcab889ce6ca8c29694f2b18334754e |
22 |
+DIST openobex-1.7.2-Source.tar.gz 127248 BLAKE2B c0405aef2f15f16e31641f4a60ac01da26c2a61a5114b8f3990f0fcf64bd55c730ff7aa5f524b450c1e6b5653b9616c0861686102594818ba3bdf2314a3c51ff SHA512 22f1b0d99e7186da9fa12b510ef9dbb6f7d76777d58b235ab2f627703d07b6f6b0488cdc9c6d8c0ab7bc86d6d19117c55fff9273fed02736c0210f9b1788bf4d |
23 |
|
24 |
diff --git a/dev-libs/openobex/openobex-1.7.2.ebuild b/dev-libs/openobex/openobex-1.7.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..51f4b0d3d0a |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/openobex/openobex-1.7.2.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit cmake-utils udev |
36 |
+ |
37 |
+DESCRIPTION="Implementation of the OBEX protocol used for transferring data to mobile devices" |
38 |
+HOMEPAGE="https://sourceforge.net/projects/openobex/" |
39 |
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-Source.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-2 LGPL-2.1" |
42 |
+SLOT="0/2" |
43 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
44 |
+IUSE="bluetooth irda usb" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ bluetooth? ( net-wireless/bluez:= ) |
48 |
+ usb? ( virtual/libusb:= )" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ virtual/pkgconfig" |
51 |
+ |
52 |
+S=${WORKDIR}/${P}-Source |
53 |
+ |
54 |
+src_configure() { |
55 |
+ local mycmakeargs=( |
56 |
+ -DOPENOBEX_BLUETOOTH=$(usex bluetooth) |
57 |
+ -DOPENOBEX_IRDA=$(usex irda) |
58 |
+ -DOPENOBEX_USB=$(usex usb) |
59 |
+ # TODO: enable them. patch would be appreciated. |
60 |
+ -DBUILD_DOCUMENTATION=OFF |
61 |
+ |
62 |
+ -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)/rules.d" |
63 |
+ ) |
64 |
+ |
65 |
+ cmake-utils_src_configure |
66 |
+} |