From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/libdivecomputer/Manifest | 6 ++ .../libdivecomputer/libdivecomputer-0.4.1.ebuild | 74 ++++++++++++++++++++++ .../libdivecomputer/libdivecomputer-0.4.2.ebuild | 74 ++++++++++++++++++++++ .../libdivecomputer/libdivecomputer-9999.ebuild | 62 ++++++++++++++++++ dev-libs/libdivecomputer/metadata.xml | 18 ++++++ 5 files changed, 234 insertions(+) create mode 100644 dev-libs/libdivecomputer/Manifest create mode 100644 dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild create mode 100644 dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild create mode 100644 dev-libs/libdivecomputer/libdivecomputer-9999.ebuild create mode 100644 dev-libs/libdivecomputer/metadata.xml (limited to 'dev-libs/libdivecomputer') diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest new file mode 100644 index 000000000000..cd4c0e57a03d --- /dev/null +++ b/dev-libs/libdivecomputer/Manifest @@ -0,0 +1,6 @@ +DIST libdivecomputer-0.4.1.tar.gz 481798 BLAKE2B c4e132087f833dabc8504cd2cdacfe2c5fb29c208855d799cbb095a1ac3c75e7562136a5d47a8ff5717fa7241eec2114812c3c854cb950e0260f9111f873ad9d SHA512 a1104981b1820ea93c3b3e389e42996f9199c5a4c37daf16e9577d8fd29b21440521d1ea5f89ec2df2861b582fd2e748d35eb811ad0d484eacce7d13d39bf88f +DIST libdivecomputer-0.4.2.tar.gz 487401 BLAKE2B fb6abdf8ac4a6bc4ab121dfcf4e898aed65a3ab7e8692c4a9525c46e3f7c890eeeac88d4903d7192752175f7c964fd0135cf1d119ffc2a49d572e4abf72d906f SHA512 590aca350d86d17a889f47238ad46f0a6a1353b5f7ed67c64a9bae303a010ab042e94a73a36c6f05f2d03d10c80b1fae49431ad581b3024db83b81711d5d1048 +EBUILD libdivecomputer-0.4.1.ebuild 1479 BLAKE2B 60fc4c250cf16b8908cf52fbd2141001440f4ab84afa523d2f4520d44cb5fba409b848dcb03c1d6bb50bbe00d97ced46cc91e44eaa1748b0d71b3f987d418278 SHA512 21e604750a37e9e4d2bcf7378c18cefda7b3cfe1adbe467d72ff8f1cb36adc20654b99ffa8491bd8b1ab640c39b1a33dacf1f3590ba9c372ff1c58d90683baec +EBUILD libdivecomputer-0.4.2.ebuild 1479 BLAKE2B 60fc4c250cf16b8908cf52fbd2141001440f4ab84afa523d2f4520d44cb5fba409b848dcb03c1d6bb50bbe00d97ced46cc91e44eaa1748b0d71b3f987d418278 SHA512 21e604750a37e9e4d2bcf7378c18cefda7b3cfe1adbe467d72ff8f1cb36adc20654b99ffa8491bd8b1ab640c39b1a33dacf1f3590ba9c372ff1c58d90683baec +EBUILD libdivecomputer-9999.ebuild 1331 BLAKE2B 06c1a47003a8cc9a90cf73a19ca8f30417d147132ff02728d6c739057366ef2deed0a71c2329d5b7f65b38fdefc78a991d6a38b4ec551be2d913349e8054aae9 SHA512 81bd24c8afdf6a51219f31b258ca79acc52a1c95d999597085672ad9130094ecd757e6aa8ef4b824c14654202923d0c83c0793cc4175e90844f8aa0db0fd2b00 +MISC metadata.xml 578 BLAKE2B 8758cfa00c96cf28dc5eea77fa20cbda4b050d9b9f881696dff6a2680bae6cd3d553cb2028a6aa647c967e2b6d6e1b5563d2a648c701acaf6d23ac742bad0e1e SHA512 b468481446a9ae7690fb066d44723f9ed4caa27255220eb4c7ec75b320bdac20578a3dfe6eaf55a8e8bce6bfb47fa6fed314b2c50f672fc502f93060d34af818 diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild new file mode 100644 index 000000000000..36c4f31c9269 --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild @@ -0,0 +1,74 @@ +# 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 new file mode 100644 index 000000000000..36c4f31c9269 --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild @@ -0,0 +1,74 @@ +# 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-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild new file mode 100644 index 000000000000..05e2cc29858a --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild @@ -0,0 +1,62 @@ +# 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" + AUTOTOOLS_AUTORECONF=1 + 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_configure() { + autotools-utils_src_configure + + if ! use tools ; then + sed -i 's|examples||' Makefile || die "sed failed" + fi +} + +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/metadata.xml b/dev-libs/libdivecomputer/metadata.xml new file mode 100644 index 000000000000..93908aedd958 --- /dev/null +++ b/dev-libs/libdivecomputer/metadata.xml @@ -0,0 +1,18 @@ + + + + + me@bearsh.org + Martin Gysel + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Library for communication with dive computers from various manufacturers. + + + Install tools that can be used to test the library. + + -- cgit v1.2.3