diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-libs/openobex | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-libs/openobex')
-rw-r--r-- | dev-libs/openobex/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/openobex/openobex-1.7.2-r3.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/openobex/Manifest b/dev-libs/openobex/Manifest index 37df390d461f..69fff18a4cc2 100644 --- a/dev-libs/openobex/Manifest +++ b/dev-libs/openobex/Manifest @@ -1,4 +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-r2.ebuild 1093 BLAKE2B e90f1bcf3c18d19114c7f52dfe168e04af5312f61b633c77df9994118ce9d68e5b419a34ea5e02bd361ab33f56261b42639346c4d2bd5ce680149922c1ccd81a SHA512 df464b66c3b92e73d7b662b3fb62cc6d062777f1dadfd1963af95feca2e7e7a90baf77d5b94ca272a4f8ad2a48be06675a8baef63aee1eb3881978dd122b8579 +EBUILD openobex-1.7.2-r3.ebuild 1086 BLAKE2B bababc7c9713e25c06ef5fbe9a2ebde5cd50bdcb663037c514bd28ad817803d54254ff503b9f5b345ac57179a5f66afd492022c62e223123e1b6506faa0d6d54 SHA512 d58506bd7cabd651f3932f80687e10b5823e243b619dcc46a7b43f20f73dd7e457b3130ecf286f4b68306e94229f5e910f1570a421b4bba8552cb36810395452 MISC metadata.xml 391 BLAKE2B 308e54929dd0b54459df73def6f3000720755140285c80200f90d728370b148db88ed43e57f2262d8a4dde15236d00cb7dc6e926acb353e51fea433d9b3a686d SHA512 46b90dd0b36258872569b982412b810f4a4c4a77bd3f15bf5531aee9b624bd6d964fb0b3e3d21bcf2af5fd1c0b78e4d46ce144eb34d96d68a33030fe372a8722 diff --git a/dev-libs/openobex/openobex-1.7.2-r3.ebuild b/dev-libs/openobex/openobex-1.7.2-r3.ebuild new file mode 100644 index 000000000000..ce0a1b44448b --- /dev/null +++ b/dev-libs/openobex/openobex-1.7.2-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake 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" + +BDEPEND=" + doc? ( app-doc/doxygen ) + virtual/pkgconfig +" +DEPEND=" + bluetooth? ( net-wireless/bluez:= ) + usb? ( virtual/libusb:= ) +" +RDEPEND="${DEPEND}" + +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}" + ) + use usb && mycmakeargs+=( -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)/rules.d" ) + + cmake_src_configure +} |