summaryrefslogtreecommitdiff
path: root/dev-libs/openobex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-03 08:36:22 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-03 08:36:22 +0000
commitf65628136faa35d0c4d3b5e7332275c7b35fcd96 (patch)
tree021998302365c5652e37824b6c26d4d969a62055 /dev-libs/openobex
parent70b82ae359a5538711e103b0e8dfb92654296644 (diff)
gentoo resync : 03.11.2018
Diffstat (limited to 'dev-libs/openobex')
-rw-r--r--dev-libs/openobex/Manifest4
-rw-r--r--dev-libs/openobex/files/openobex-1.7.2-version.h.patch13
-rw-r--r--dev-libs/openobex/metadata.xml5
-rw-r--r--dev-libs/openobex/openobex-1.7.2-r1.ebuild41
4 files changed, 61 insertions, 2 deletions
diff --git a/dev-libs/openobex/Manifest b/dev-libs/openobex/Manifest
index c64f636619e0..4b07ef96aa15 100644
--- a/dev-libs/openobex/Manifest
+++ b/dev-libs/openobex/Manifest
@@ -1,3 +1,5 @@
+AUX openobex-1.7.2-version.h.patch 621 BLAKE2B 90ef501688d2313b70d755a5d6233c027eade70870bb135c018eea180993d5138fdaf614fd1cc396a1521a2d522f8d03c132dc3d3c14839664c7021fc2e657b4 SHA512 9c060d3f4af4ca78ccbc931df26311d1e37c1a86279a56358eb468162746ef3e3d6324fd419f9b38c072ae4c1bb0e9df64643b5de0cdb876aff54530daa83262
DIST openobex-1.7.2-Source.tar.gz 127248 BLAKE2B c0405aef2f15f16e31641f4a60ac01da26c2a61a5114b8f3990f0fcf64bd55c730ff7aa5f524b450c1e6b5653b9616c0861686102594818ba3bdf2314a3c51ff SHA512 22f1b0d99e7186da9fa12b510ef9dbb6f7d76777d58b235ab2f627703d07b6f6b0488cdc9c6d8c0ab7bc86d6d19117c55fff9273fed02736c0210f9b1788bf4d
+EBUILD openobex-1.7.2-r1.ebuild 1060 BLAKE2B 69d4df78a89b265aa9a4acce3ea2b54afd1a141f84161ff4b0a1682ab010c02c7f46b0fa40fd83b6ed7de71053ca723c948e97a42f9caf1e0fd364f659c50dee SHA512 743a72998268d0f863c927a70bd785e6f825aa0868ce1c22535e10580e5deb8c6255078b3876bf0054a52000c481a1f707599a985d2f4b430cb65a53aeed970e
EBUILD openobex-1.7.2.ebuild 915 BLAKE2B c54c4903a1c3f03284c1cdfc4cf354147b7c64aa22ea048885f35e3fd9b60ce3f657630e872f5cc390a3f336acf23f753170851d541924a2d408a31c76a1c88c SHA512 dd2b3c22c5fb5815916e2f4a62bd422b2f18d755040f5649de4ba63661f4725efd7a32b450d6b9a7114d82cf52b21823556441a50812b61070f27d01e4717e41
-MISC metadata.xml 467 BLAKE2B 6465b304f41324406f6e641b7e08268a19e1154a35d5dffdc3f57cb0b4925cbc0a6eb0e617a8bc309e9fe237352b5395a8afbbaaa61f1082dc63e336f16a4461 SHA512 947ebd0891b57e986712a13177719a300679db7a90e91210d8f9f22919d38dd7c391deaee73de43282b0b01ce80746cd6d387d53ce6f4409c82be44a98df41f4
+MISC metadata.xml 550 BLAKE2B 4505f0b70a901fbbf3cebe1a066d4c9275853a7667abf221ff439cb6783f485c5d43a24c8abf05df5757a8578712fffbc8a1ff43e0f16f8f8507417e32654ef2 SHA512 19bbed2e27c2fd9ebf00552d3443d09bb295f81c7637d2d09850d5bfc6128f6f3a7642ae55760c36308f7fe333319d6d8324cde0fc75781d32a486abb32be4fe
diff --git a/dev-libs/openobex/files/openobex-1.7.2-version.h.patch b/dev-libs/openobex/files/openobex-1.7.2-version.h.patch
new file mode 100644
index 000000000000..cfcf68595b43
--- /dev/null
+++ b/dev-libs/openobex/files/openobex-1.7.2-version.h.patch
@@ -0,0 +1,13 @@
+--- openobex-1.7.2-Source/include/openobex/version.h.in.orig 2013-07-21 21:27:14.000000000 +0400
++++ openobex-1.7.2-Source/include/openobex/version.h.in 2018-10-27 19:35:53.921795023 +0300
+@@ -1,6 +1,6 @@
+
+-#define OPENOBEX_VERSION "@VERSION@"
++#define OPENOBEX_VERSION "@openobex_VERSION@"
+
+-#define OPENOBEX_VERSION_MAJOR @VERSION_MAJOR@
+-#define OPENOBEX_VERSION_MINOR @VERSION_MINOR@
+-#define OPENOBEX_VERSION_PATCH @VERSION_PATCH@
++#define OPENOBEX_VERSION_MAJOR @openobex_VERSION_MAJOR@
++#define OPENOBEX_VERSION_MINOR @openobex_VERSION_MINOR@
++#define OPENOBEX_VERSION_PATCH @openobex_VERSION_PATCH@
diff --git a/dev-libs/openobex/metadata.xml b/dev-libs/openobex/metadata.xml
index 94f17e3f7349..b6f5436a0b06 100644
--- a/dev-libs/openobex/metadata.xml
+++ b/dev-libs/openobex/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>bircoph@gentoo.org</email>
+ <name>Andrew Savchenko</name>
+ </maintainer>
<longdescription>Free open source implementation of the Object Exchange (OBEX) protocol,
used for transferring data to/from mobile devices.</longdescription>
<use>
diff --git a/dev-libs/openobex/openobex-1.7.2-r1.ebuild b/dev-libs/openobex/openobex-1.7.2-r1.ebuild
new file mode 100644
index 000000000000..814f435076c3
--- /dev/null
+++ b/dev-libs/openobex/openobex-1.7.2-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils udev
+
+DESCRIPTION="Implementation of the OBEX protocol used for transferring data to mobile devices"
+HOMEPAGE="https://sourceforge.net/projects/openobex/"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-Source.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="bluetooth doc irda usb"
+
+RDEPEND="
+ bluetooth? ( net-wireless/bluez:= )
+ usb? ( virtual/libusb:= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${P}-Source"
+
+PATCHES=( "${FILESDIR}/${P}-version.h.patch" )
+DOCS=( AUTHORS ChangeLog README UPGRADING.txt )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCUMENTATION=$(usex doc)
+ -DOPENOBEX_BLUETOOTH=$(usex bluetooth)
+ -DOPENOBEX_IRDA=$(usex irda)
+ -DOPENOBEX_USB=$(usex usb)
+
+ -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+ -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)/rules.d"
+ )
+
+ cmake-utils_src_configure
+}