From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E9B9138334 for ; Fri, 22 Mar 2019 11:24:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D677E09FD; Fri, 22 Mar 2019 11:24:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31C1BE09FD for ; Fri, 22 Mar 2019 11:24:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F482335CE9 for ; Fri, 22 Mar 2019 11:24:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E66A954A for ; Fri, 22 Mar 2019 11:24:40 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1553253840.b65c3d9897a06a4d70a9f4b58f2ec506374f0f86.bircoph@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/openobex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/openobex/openobex-1.7.2-r2.ebuild X-VCS-Directories: dev-libs/openobex/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: b65c3d9897a06a4d70a9f4b58f2ec506374f0f86 X-VCS-Branch: master Date: Fri, 22 Mar 2019 11:24:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 24b9320c-e58e-4576-a170-849ca91e48cf X-Archives-Hash: 44c961342c06c85fbda90ac67e842236 commit: b65c3d9897a06a4d70a9f4b58f2ec506374f0f86 Author: Andrew Savchenko gentoo org> AuthorDate: Fri Mar 22 11:09:01 2019 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Fri Mar 22 11:24:00 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65c3d98 dev-libs/openobex: qa fixes 1. Fix QA for unused cmake variable with USE="-usb". 2. Update to EAPI 7. Closes: https://bugs.gentoo.org/677898 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andrew Savchenko gentoo.org> dev-libs/openobex/openobex-1.7.2-r2.ebuild | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-libs/openobex/openobex-1.7.2-r2.ebuild b/dev-libs/openobex/openobex-1.7.2-r2.ebuild new file mode 100644 index 00000000000..ab1632e42d3 --- /dev/null +++ b/dev-libs/openobex/openobex-1.7.2-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +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-utils_src_configure +}