dev-libs/openobex: 1.7.2 version/EAPI-6 bump

Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
Andreas Sturmlechner
2018-06-28 20:02:46 +02:00
parent 8d11ba0a08
commit a6a7512493
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST openobex-1.7.1-Source.tar.gz 131091 BLAKE2B a30e96a89edeb2f07ab78b1e7eaa341de62b9ad15b0251eaac93300cbf21b073034c672eb753e9dfd44c678a99e4bf0b10cf5c1e5841565ab727c2e082d66d92 SHA512 df38b363bd4c6eb6c0181fc7858fb03ac2bdfa85d8496faaa514d5cc4473b33c883956d4e1c94c3fefa5e44e5eed35a8dfcab889ce6ca8c29694f2b18334754e
DIST openobex-1.7.2-Source.tar.gz 127248 BLAKE2B c0405aef2f15f16e31641f4a60ac01da26c2a61a5114b8f3990f0fcf64bd55c730ff7aa5f524b450c1e6b5653b9616c0861686102594818ba3bdf2314a3c51ff SHA512 22f1b0d99e7186da9fa12b510ef9dbb6f7d76777d58b235ab2f627703d07b6f6b0488cdc9c6d8c0ab7bc86d6d19117c55fff9273fed02736c0210f9b1788bf4d

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2018 Gentoo Foundation
# 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 irda usb"
RDEPEND="
bluetooth? ( net-wireless/bluez:= )
usb? ( virtual/libusb:= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/${P}-Source
src_configure() {
local mycmakeargs=(
-DOPENOBEX_BLUETOOTH=$(usex bluetooth)
-DOPENOBEX_IRDA=$(usex irda)
-DOPENOBEX_USB=$(usex usb)
# TODO: enable them. patch would be appreciated.
-DBUILD_DOCUMENTATION=OFF
-DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)/rules.d"
)
cmake-utils_src_configure
}