public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/
@ 2015-10-26 14:06 Aaron Bauman
  0 siblings, 0 replies; 7+ messages in thread
From: Aaron Bauman @ 2015-10-26 14:06 UTC (permalink / raw
  To: gentoo-commits

commit:     50501e75b35dc3896050316c7befc767e2f31d76
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 26 14:05:39 2015 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 14:05:39 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50501e75

dev-libs/libdivecomputer: update metadata.xml

Package-Manager: portage-2.2.20.1

 dev-libs/libdivecomputer/metadata.xml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dev-libs/libdivecomputer/metadata.xml b/dev-libs/libdivecomputer/metadata.xml
index 567d2b1..b740f6f 100644
--- a/dev-libs/libdivecomputer/metadata.xml
+++ b/dev-libs/libdivecomputer/metadata.xml
@@ -7,11 +7,6 @@
 		<name>Martin Gysel</name>
 		<description>Proxied maintainer. Assign bugs to him.</description>
 	</maintainer>
-	<maintainer>
-		<email>aaron@flappyport.com</email>
-		<name>Aaron Bauman</name>
-		<description>Proxied maintainer. CC him on bugs.</description>
-	</maintainer>
 	<longdescription lang="en">
 		Library for communication with dive computers from various manufacturers.
 	</longdescription>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/
@ 2016-10-30 20:05 Sven Wegener
  0 siblings, 0 replies; 7+ messages in thread
From: Sven Wegener @ 2016-10-30 20:05 UTC (permalink / raw
  To: gentoo-commits

commit:     db4df7f368e255753d6164fd34a7090ba07b5dcd
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  3 11:16:53 2016 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 20:04:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db4df7f3

dev-libs/libdivecomputer: Update SourceForge GIT URLs

Package-Manager: portage-2.3.0

 dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild | 4 ++--
 dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild | 4 ++--
 dev-libs/libdivecomputer/libdivecomputer-9999.ebuild  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild
index 566d7aa..7f9197b 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
 
 if [[ ${PV} = *9999* ]]; then
-	EGIT_REPO_URI="git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer"
+	EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git"
 	GIT_ECLASS="git-2"
 	AUTOTOOLIZE=yes
 	KEYWORDS=""

diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild
index 566d7aa..7f9197b 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
 
 if [[ ${PV} = *9999* ]]; then
-	EGIT_REPO_URI="git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer"
+	EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git"
 	GIT_ECLASS="git-2"
 	AUTOTOOLIZE=yes
 	KEYWORDS=""

diff --git a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
index 9764283..c0af608 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
 
 if [[ ${PV} = *9999* ]]; then
-	EGIT_REPO_URI="git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer"
+	EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git"
 	GIT_ECLASS="git-2"
 	AUTOTOOLS_AUTORECONF=1
 	KEYWORDS=""


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/
@ 2019-11-01 14:11 Joonas Niilola
  0 siblings, 0 replies; 7+ messages in thread
From: Joonas Niilola @ 2019-11-01 14:11 UTC (permalink / raw
  To: gentoo-commits

commit:     7601ce8ea6a2505c229cabf9090b5e3f8f372b6c
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 14:07:43 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 14:07:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7601ce8e

dev-libs/libdivecomputer: add BDEPEND

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild
index 9f8a7f67834..0facf246785 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild
@@ -20,8 +20,8 @@ IUSE="bluetooth"
 
 RDEPEND="virtual/libusb:1
 	bluetooth? ( net-wireless/bluez )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	default


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/
@ 2019-11-01 14:11 Joonas Niilola
  0 siblings, 0 replies; 7+ messages in thread
From: Joonas Niilola @ 2019-11-01 14:11 UTC (permalink / raw
  To: gentoo-commits

commit:     edd0e8d373773bceeacfab17d2171aa82556e69c
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 14:08:41 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 14:08:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd0e8d3

dev-libs/libdivecomputer: update BDEPEND for -9999 live ebuild

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/libdivecomputer/libdivecomputer-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
index 9f8a7f67834..0facf246785 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
@@ -20,8 +20,8 @@ IUSE="bluetooth"
 
 RDEPEND="virtual/libusb:1
 	bluetooth? ( net-wireless/bluez )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	default


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/
@ 2019-11-01 14:11 Joonas Niilola
  0 siblings, 0 replies; 7+ messages in thread
From: Joonas Niilola @ 2019-11-01 14:11 UTC (permalink / raw
  To: gentoo-commits

commit:     5e3a8c8e619349e0eb16ddc282e4dbeb71612d5a
Author:     Martin Gysel <me <AT> bearsh <DOT> org>
AuthorDate: Sat Oct 26 18:30:01 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 14:06:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e3a8c8e

dev-libs/libdivecomputer: remove old

Bug: https://bugs.gentoo.org/696526
Signed-off-by: Martin Gysel <me <AT> bearsh.org>
Closes: https://github.com/gentoo/gentoo/pull/13452
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/libdivecomputer/Manifest                  |  2 -
 .../libdivecomputer/libdivecomputer-0.4.1.ebuild   | 74 ----------------------
 .../libdivecomputer/libdivecomputer-0.4.2.ebuild   | 74 ----------------------
 3 files changed, 150 deletions(-)

diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest
index 4a370131edc..5d0d3552844 100644
--- a/dev-libs/libdivecomputer/Manifest
+++ b/dev-libs/libdivecomputer/Manifest
@@ -1,3 +1 @@
-DIST libdivecomputer-0.4.1.tar.gz 481798 BLAKE2B c4e132087f833dabc8504cd2cdacfe2c5fb29c208855d799cbb095a1ac3c75e7562136a5d47a8ff5717fa7241eec2114812c3c854cb950e0260f9111f873ad9d SHA512 a1104981b1820ea93c3b3e389e42996f9199c5a4c37daf16e9577d8fd29b21440521d1ea5f89ec2df2861b582fd2e748d35eb811ad0d484eacce7d13d39bf88f
-DIST libdivecomputer-0.4.2.tar.gz 487401 BLAKE2B fb6abdf8ac4a6bc4ab121dfcf4e898aed65a3ab7e8692c4a9525c46e3f7c890eeeac88d4903d7192752175f7c964fd0135cf1d119ffc2a49d572e4abf72d906f SHA512 590aca350d86d17a889f47238ad46f0a6a1353b5f7ed67c64a9bae303a010ab042e94a73a36c6f05f2d03d10c80b1fae49431ad581b3024db83b81711d5d1048
 DIST libdivecomputer-0.6.0.tar.gz 680425 BLAKE2B 9ed951c6cdec07929ea7a9d3b842483ea1c88bff0171bfec1ec5a1a1d21a73580f70034856c97397bd21061d01967e14477ffabdf75b10bd6a736820b17e5b7f SHA512 b199d3e7e89fb2f79e4de5b54b086ae5f8b6bc08d02513e903e8fb008c1a453cf4cd4c4b7a94b1f7053ac53cc7b9085193b0ee0682318594c27ac2cb693c9b3f

diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild
deleted file mode 100644
index 36c4f31c926..00000000000
--- a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-if [[ ${PV} = *9999* ]]; then
-	EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git"
-	GIT_ECLASS="git-2"
-	AUTOTOOLIZE=yes
-	KEYWORDS=""
-else
-	KEYWORDS="~amd64 ~x86"
-fi
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit eutils autotools-utils ${GIT_ECLASS}
-
-if [[ ${PV} = *9999* ]]; then
-	SRC_URI=""
-else
-	SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz"
-fi
-
-DESCRIPTION="Library for communication with dive computers from various manufacturers"
-HOMEPAGE="http://www.divesoftware.org/libdc"
-LICENSE="LGPL-2.1"
-
-SLOT="0"
-IUSE="usb +static-libs -tools"
-
-RDEPEND="usb? ( virtual/libusb:1 )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-src_prepare() {
-	if [[ -n ${AUTOTOOLIZE} ]]; then
-		autotools-utils_src_prepare
-	else
-		epatch_user
-	fi
-}
-
-src_configure() {
-	autotools-utils_src_configure
-
-	if ! use tools ; then
-		sed -i 's|examples||' Makefile || die "sed failed"
-	fi
-}
-
-src_compile() {
-	autotools-utils_src_compile
-}
-
-src_install() {
-	autotools-utils_src_install
-
-	if use tools ; then
-		einfo "prefixing tools with 'dctool_'"
-		pushd "${D}/usr/bin/"
-		for file in * ; do
-			mv "${file}" "dctool_${file}" || die "prefixing tools failed"
-		done
-		popd
-	fi
-}
-
-pkg_postinst() {
-	if use tools ; then
-		elog "The 'tools' USE flag has been enabled,"
-		elog "to avoid file collisions, all ${PN}"
-		elog "related tools have been prefixed with 'dctool_'"
-	fi
-}

diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild
deleted file mode 100644
index 36c4f31c926..00000000000
--- a/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-if [[ ${PV} = *9999* ]]; then
-	EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git"
-	GIT_ECLASS="git-2"
-	AUTOTOOLIZE=yes
-	KEYWORDS=""
-else
-	KEYWORDS="~amd64 ~x86"
-fi
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit eutils autotools-utils ${GIT_ECLASS}
-
-if [[ ${PV} = *9999* ]]; then
-	SRC_URI=""
-else
-	SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz"
-fi
-
-DESCRIPTION="Library for communication with dive computers from various manufacturers"
-HOMEPAGE="http://www.divesoftware.org/libdc"
-LICENSE="LGPL-2.1"
-
-SLOT="0"
-IUSE="usb +static-libs -tools"
-
-RDEPEND="usb? ( virtual/libusb:1 )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-src_prepare() {
-	if [[ -n ${AUTOTOOLIZE} ]]; then
-		autotools-utils_src_prepare
-	else
-		epatch_user
-	fi
-}
-
-src_configure() {
-	autotools-utils_src_configure
-
-	if ! use tools ; then
-		sed -i 's|examples||' Makefile || die "sed failed"
-	fi
-}
-
-src_compile() {
-	autotools-utils_src_compile
-}
-
-src_install() {
-	autotools-utils_src_install
-
-	if use tools ; then
-		einfo "prefixing tools with 'dctool_'"
-		pushd "${D}/usr/bin/"
-		for file in * ; do
-			mv "${file}" "dctool_${file}" || die "prefixing tools failed"
-		done
-		popd
-	fi
-}
-
-pkg_postinst() {
-	if use tools ; then
-		elog "The 'tools' USE flag has been enabled,"
-		elog "to avoid file collisions, all ${PN}"
-		elog "related tools have been prefixed with 'dctool_'"
-	fi
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/
@ 2019-11-01 14:11 Joonas Niilola
  0 siblings, 0 replies; 7+ messages in thread
From: Joonas Niilola @ 2019-11-01 14:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f71600d593db76244922b806ee912ece08d0eb3f
Author:     Martin Gysel <me <AT> bearsh <DOT> org>
AuthorDate: Sat Oct 26 18:29:03 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 14:06:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71600d5

dev-libs/libdivecomputer: version bump, port to EAPI 7

remove tools useflag

Closes: https://bugs.gentoo.org/696526
Signed-off-by: Martin Gysel <me <AT> bearsh.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/libdivecomputer/Manifest                  |  1 +
 .../libdivecomputer/libdivecomputer-0.6.0.ebuild   | 33 ++++++++++++
 .../libdivecomputer/libdivecomputer-9999.ebuild    | 59 ++++++----------------
 dev-libs/libdivecomputer/metadata.xml              |  3 --
 4 files changed, 49 insertions(+), 47 deletions(-)

diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest
index 86e2bf795ad..4a370131edc 100644
--- a/dev-libs/libdivecomputer/Manifest
+++ b/dev-libs/libdivecomputer/Manifest
@@ -1,2 +1,3 @@
 DIST libdivecomputer-0.4.1.tar.gz 481798 BLAKE2B c4e132087f833dabc8504cd2cdacfe2c5fb29c208855d799cbb095a1ac3c75e7562136a5d47a8ff5717fa7241eec2114812c3c854cb950e0260f9111f873ad9d SHA512 a1104981b1820ea93c3b3e389e42996f9199c5a4c37daf16e9577d8fd29b21440521d1ea5f89ec2df2861b582fd2e748d35eb811ad0d484eacce7d13d39bf88f
 DIST libdivecomputer-0.4.2.tar.gz 487401 BLAKE2B fb6abdf8ac4a6bc4ab121dfcf4e898aed65a3ab7e8692c4a9525c46e3f7c890eeeac88d4903d7192752175f7c964fd0135cf1d119ffc2a49d572e4abf72d906f SHA512 590aca350d86d17a889f47238ad46f0a6a1353b5f7ed67c64a9bae303a010ab042e94a73a36c6f05f2d03d10c80b1fae49431ad581b3024db83b81711d5d1048
+DIST libdivecomputer-0.6.0.tar.gz 680425 BLAKE2B 9ed951c6cdec07929ea7a9d3b842483ea1c88bff0171bfec1ec5a1a1d21a73580f70034856c97397bd21061d01967e14477ffabdf75b10bd6a736820b17e5b7f SHA512 b199d3e7e89fb2f79e4de5b54b086ae5f8b6bc08d02513e903e8fb008c1a453cf4cd4c4b7a94b1f7053ac53cc7b9085193b0ee0682318594c27ac2cb693c9b3f

diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild
new file mode 100644
index 00000000000..9f8a7f67834
--- /dev/null
+++ b/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+if [[ ${PV} = *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/libdivecomputer/libdivecomputer"
+	inherit autotools git-r3
+else
+	SRC_URI="https://www.libdivecomputer.org/releases/${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Library for communication with dive computers from various manufacturers."
+HOMEPAGE="https://www.libdivecomputer.org"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+IUSE="bluetooth"
+
+RDEPEND="virtual/libusb:1
+	bluetooth? ( net-wireless/bluez )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+src_prepare() {
+	default
+	[[ -v EGIT_REPO_URI ]] && eautoreconf
+}
+
+src_configure() {
+	econf $(use_with bluetooth bluez)
+}

diff --git a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
index 05e2cc29858..9f8a7f67834 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
@@ -1,62 +1,33 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI="7"
 
 if [[ ${PV} = *9999* ]]; then
-	EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git"
-	GIT_ECLASS="git-2"
-	AUTOTOOLS_AUTORECONF=1
-	KEYWORDS=""
+	EGIT_REPO_URI="https://github.com/libdivecomputer/libdivecomputer"
+	inherit autotools git-r3
 else
+	SRC_URI="https://www.libdivecomputer.org/releases/${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 
-AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit eutils autotools-utils ${GIT_ECLASS}
-
-if [[ ${PV} = *9999* ]]; then
-	SRC_URI=""
-else
-	SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz"
-fi
-
-DESCRIPTION="Library for communication with dive computers from various manufacturers"
-HOMEPAGE="http://www.divesoftware.org/libdc"
+DESCRIPTION="Library for communication with dive computers from various manufacturers."
+HOMEPAGE="https://www.libdivecomputer.org"
 LICENSE="LGPL-2.1"
 
 SLOT="0"
-IUSE="usb +static-libs -tools"
+IUSE="bluetooth"
 
-RDEPEND="usb? ( virtual/libusb:1 )"
+RDEPEND="virtual/libusb:1
+	bluetooth? ( net-wireless/bluez )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-src_configure() {
-	autotools-utils_src_configure
-
-	if ! use tools ; then
-		sed -i 's|examples||' Makefile || die "sed failed"
-	fi
+src_prepare() {
+	default
+	[[ -v EGIT_REPO_URI ]] && eautoreconf
 }
 
-src_install() {
-	autotools-utils_src_install
-
-	if use tools ; then
-		einfo "prefixing tools with 'dctool_'"
-		pushd "${D}/usr/bin/"
-		for file in * ; do
-			mv "${file}" "dctool_${file}" || die "prefixing tools failed"
-		done
-		popd
-	fi
-}
-
-pkg_postinst() {
-	if use tools ; then
-		elog "The 'tools' USE flag has been enabled,"
-		elog "to avoid file collisions, all ${PN}"
-		elog "related tools have been prefixed with 'dctool_'"
-	fi
+src_configure() {
+	econf $(use_with bluetooth bluez)
 }

diff --git a/dev-libs/libdivecomputer/metadata.xml b/dev-libs/libdivecomputer/metadata.xml
index 93908aedd95..f4838fd208b 100644
--- a/dev-libs/libdivecomputer/metadata.xml
+++ b/dev-libs/libdivecomputer/metadata.xml
@@ -12,7 +12,4 @@
 	<longdescription lang="en">
 		Library for communication with dive computers from various manufacturers.
 	</longdescription>
-	<use>
-		<flag name="tools">Install tools that can be used to test the library.</flag>
-	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/
@ 2020-06-04 19:52 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2020-06-04 19:52 UTC (permalink / raw
  To: gentoo-commits

commit:     bdd379b356b2ac8cc735677271a323ff5b7bb23a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  4 19:52:29 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jun  4 19:52:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd379b3

dev-libs/libdivecomputer: [QA] Disable static libs

Closes: https://bugs.gentoo.org/726966
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...omputer-0.6.0.ebuild => libdivecomputer-0.6.0-r1.ebuild} | 13 +++++++++++--
 dev-libs/libdivecomputer/libdivecomputer-9999.ebuild        | 13 +++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild
similarity index 78%
rename from dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild
rename to dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild
index 0facf246785..74158781a3b 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -29,5 +29,14 @@ src_prepare() {
 }
 
 src_configure() {
-	econf $(use_with bluetooth bluez)
+	econf \
+		--disable-static \
+		$(use_with bluetooth bluez)
+}
+
+src_install() {
+	default
+
+	# no static archives
+	find "${D}" -name '*.la' -delete || die
 }

diff --git a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
index 0facf246785..74158781a3b 100644
--- a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
+++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -29,5 +29,14 @@ src_prepare() {
 }
 
 src_configure() {
-	econf $(use_with bluetooth bluez)
+	econf \
+		--disable-static \
+		$(use_with bluetooth bluez)
+}
+
+src_install() {
+	default
+
+	# no static archives
+	find "${D}" -name '*.la' -delete || die
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-04 19:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-01 14:11 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdivecomputer/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2020-06-04 19:52 David Seifert
2019-11-01 14:11 Joonas Niilola
2019-11-01 14:11 Joonas Niilola
2019-11-01 14:11 Joonas Niilola
2016-10-30 20:05 Sven Wegener
2015-10-26 14:06 Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox