diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-libs/libdivecomputer | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-libs/libdivecomputer')
| -rw-r--r-- | dev-libs/libdivecomputer/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild | 42 | ||||
| -rw-r--r-- | dev-libs/libdivecomputer/libdivecomputer-9999.ebuild | 42 | ||||
| -rw-r--r-- | dev-libs/libdivecomputer/metadata.xml | 16 |
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest new file mode 100644 index 000000000000..5d0d35528442 --- /dev/null +++ b/dev-libs/libdivecomputer/Manifest @@ -0,0 +1 @@ +DIST libdivecomputer-0.6.0.tar.gz 680425 BLAKE2B 9ed951c6cdec07929ea7a9d3b842483ea1c88bff0171bfec1ec5a1a1d21a73580f70034856c97397bd21061d01967e14477ffabdf75b10bd6a736820b17e5b7f SHA512 b199d3e7e89fb2f79e4de5b54b086ae5f8b6bc08d02513e903e8fb008c1a453cf4cd4c4b7a94b1f7053ac53cc7b9085193b0ee0682318594c27ac2cb693c9b3f diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild new file mode 100644 index 000000000000..74158781a3b0 --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 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}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + [[ -v EGIT_REPO_URI ]] && eautoreconf +} + +src_configure() { + 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 new file mode 100644 index 000000000000..74158781a3b0 --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 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}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + [[ -v EGIT_REPO_URI ]] && eautoreconf +} + +src_configure() { + 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/metadata.xml b/dev-libs/libdivecomputer/metadata.xml new file mode 100644 index 000000000000..fd3e2969a1af --- /dev/null +++ b/dev-libs/libdivecomputer/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>me@bearsh.org</email> + <name>Martin Gysel</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + Library for communication with dive computers from various manufacturers. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> |
