diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-11-22 11:24:24 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-11-22 11:24:24 +0100 |
commit | 8d19f59468b90d66071cbc78e3143ffbcbe3af38 (patch) | |
tree | af676d5abbf69f5af1091da6cf83ac3229540ea8 /dev-embedded/libftdi | |
parent | profiles: Drop <x11-drivers/nvidia-drivers-304 mask. (diff) | |
download | gentoo-8d19f59468b90d66071cbc78e3143ffbcbe3af38.tar.gz gentoo-8d19f59468b90d66071cbc78e3143ffbcbe3af38.tar.bz2 gentoo-8d19f59468b90d66071cbc78e3143ffbcbe3af38.zip |
dev-embedded/libftdi: Fix dev-libs/confuse dependency.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-embedded/libftdi')
-rw-r--r-- | dev-embedded/libftdi/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/libftdi/libftdi-1.2-r2.ebuild | 74 | ||||
-rw-r--r-- | dev-embedded/libftdi/libftdi-9999.ebuild | 4 |
3 files changed, 78 insertions, 4 deletions
diff --git a/dev-embedded/libftdi/Manifest b/dev-embedded/libftdi/Manifest index ae6985962112..05d1eca51aae 100644 --- a/dev-embedded/libftdi/Manifest +++ b/dev-embedded/libftdi/Manifest @@ -1,3 +1,3 @@ -DIST libftdi-0.19.tar.gz 406671 SHA256 567c9d2c42d92fc401c5aba2deed45ffb2433990984e816bcdf31e441aef06be SHA512 c6deefe8c83063343321e8c2c6b6c1c2842a9f1caf4e54f47106c3c4aac638736f19fecf91582c6cc9f4917c4d140157440c360ce3a030dfb7fa027483bab972 WHIRLPOOL b3ee2812697cb8e0e549d580b07b2d67f2bc7bbb5da823e80172748d2d907e67c36314c4524beb2278e131a57c1ae4e25efaaa7b243ab80b30a3f88fa9f6fd7a +DIST libftdi-0.19.tar.gz 406671 BLAKE2B 47979967d8597584e46a5d9297ed24454d0583869110b52af7662a04a4b037ea57ec6ba133a61d355f0ccf1366b14195a8ccb13d7bb585264cdd1d528f2cf2d9 SHA512 c6deefe8c83063343321e8c2c6b6c1c2842a9f1caf4e54f47106c3c4aac638736f19fecf91582c6cc9f4917c4d140157440c360ce3a030dfb7fa027483bab972 DIST libftdi-0.20.tar.gz 423570 SHA256 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e SHA512 540e5eb201a65936c3dbabff70c251deba1615874b11ff27c5ca16c39d71c150cf61758a68b541135a444fe32ab403b0fba0daf55c587647aaf9b3f400f1dee7 WHIRLPOOL b1eab592bd6a21a123c7e951d5e4cdafc740c20773b8c5c7c86eef2a05bc8a190a2758a04187d3436de464a49dc329d4e4c9e54792287cc5c39a0ec7d08425d2 -DIST libftdi1-1.2.tar.bz2 100672 SHA256 a6ea795c829219015eb372b03008351cee3fb39f684bff3bf8a4620b558488d6 SHA512 d175e2b39dda880653a2e46db67e49a8921095e69eff6598159c3c31292d4ce76617c2f1617fd6727b08c930fcea335d8ef01857debbb60e7ac384b516d38a05 WHIRLPOOL 7e6646a23b8e8f1c0fec6b1ad3231797653e1788abfb7340cd391c792d2f48e4cada0ca832e325947b49d964919d5b81cddd8b43f3962d185605afbabd743fbf +DIST libftdi1-1.2.tar.bz2 100672 BLAKE2B 314ee2695324bc3f6adad56d7ff8fddabfb86714a689ee309afc6aa8498a19fc55d2ea8f4edf0c378d944494505def3faabf1d9c3bb98e6c228526c392d26f09 SHA512 d175e2b39dda880653a2e46db67e49a8921095e69eff6598159c3c31292d4ce76617c2f1617fd6727b08c930fcea335d8ef01857debbb60e7ac384b516d38a05 diff --git a/dev-embedded/libftdi/libftdi-1.2-r2.ebuild b/dev-embedded/libftdi/libftdi-1.2-r2.ebuild new file mode 100644 index 000000000000..c52061be670e --- /dev/null +++ b/dev-embedded/libftdi/libftdi-1.2-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) +inherit cmake-utils python-single-r1 + +MY_P="${PN}1-${PV}" +if [[ ${PV} == 9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://developer.intra2net.com/${PN}" +else + SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" +fi + +DESCRIPTION="Userspace access to FTDI USB interface chips" +HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/" + +LICENSE="LGPL-2" +SLOT="1" +IUSE="cxx doc examples python static-libs test tools" + +RDEPEND="virtual/libusb:1 + cxx? ( dev-libs/boost ) + python? ( ${PYTHON_DEPS} ) + tools? ( + !<dev-embedded/ftdi_eeprom-1.0 + dev-libs/confuse:= + )" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + doc? ( app-doc/doxygen )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +S=${WORKDIR}/${MY_P} + +src_configure() { + mycmakeargs=( + -DFTDIPP=$(usex cxx) + -DDOCUMENTATION=$(usex doc) + -DEXAMPLES=$(usex examples) + -DPYTHON_BINDINGS=$(usex python) + -DSTATICLIBS=$(usex static-libs) + -DBUILD_TESTS=$(usex test) + -DFTDI_EEPROM=$(usex tools) + -DCMAKE_SKIP_BUILD_RPATH=ON + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + use python && python_optimize + dodoc AUTHORS ChangeLog README TODO + + if use doc ; then + # Clean up crap man pages. #356369 + rm -vf "${CMAKE_BUILD_DIR}"/doc/man/man3/_* || die + + doman "${CMAKE_BUILD_DIR}"/doc/man/man3/* + dodoc -r "${CMAKE_BUILD_DIR}"/doc/html + fi + if use examples ; then + docinto examples + dodoc examples/*.c + fi +} diff --git a/dev-embedded/libftdi/libftdi-9999.ebuild b/dev-embedded/libftdi/libftdi-9999.ebuild index 6cf8dd476f96..c52061be670e 100644 --- a/dev-embedded/libftdi/libftdi-9999.ebuild +++ b/dev-embedded/libftdi/libftdi-9999.ebuild @@ -8,8 +8,8 @@ inherit cmake-utils python-single-r1 MY_P="${PN}1-${PV}" if [[ ${PV} == 9999* ]] ; then - EGIT_REPO_URI="git://developer.intra2net.com/${PN}" inherit git-r3 + EGIT_REPO_URI="git://developer.intra2net.com/${PN}" else SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2" KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" @@ -27,7 +27,7 @@ RDEPEND="virtual/libusb:1 python? ( ${PYTHON_DEPS} ) tools? ( !<dev-embedded/ftdi_eeprom-1.0 - dev-libs/confuse + dev-libs/confuse:= )" DEPEND="${RDEPEND} python? ( dev-lang/swig ) |