summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-01-15 11:14:14 +0100
committerPacho Ramos <pacho@gentoo.org>2017-01-15 11:31:37 +0100
commite0e1e59e81509c54cbfb398bdc495235511ca46c (patch)
tree8aadea93279397c702083595704d95d27f16b6dc /dev-embedded
parentapp-misc/ktoblzcheck: Drop old (diff)
downloadgentoo-e0e1e59e81509c54cbfb398bdc495235511ca46c.tar.gz
gentoo-e0e1e59e81509c54cbfb398bdc495235511ca46c.tar.bz2
gentoo-e0e1e59e81509c54cbfb398bdc495235511ca46c.zip
dev-embedded/libftdi: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/libftdi/Manifest1
-rw-r--r--dev-embedded/libftdi/files/libftdi-1.0-staticlibs.patch123
-rw-r--r--dev-embedded/libftdi/libftdi-1.0.ebuild67
3 files changed, 0 insertions, 191 deletions
diff --git a/dev-embedded/libftdi/Manifest b/dev-embedded/libftdi/Manifest
index 57bb77c638a1..ae6985962112 100644
--- a/dev-embedded/libftdi/Manifest
+++ b/dev-embedded/libftdi/Manifest
@@ -1,4 +1,3 @@
DIST libftdi-0.19.tar.gz 406671 SHA256 567c9d2c42d92fc401c5aba2deed45ffb2433990984e816bcdf31e441aef06be SHA512 c6deefe8c83063343321e8c2c6b6c1c2842a9f1caf4e54f47106c3c4aac638736f19fecf91582c6cc9f4917c4d140157440c360ce3a030dfb7fa027483bab972 WHIRLPOOL b3ee2812697cb8e0e549d580b07b2d67f2bc7bbb5da823e80172748d2d907e67c36314c4524beb2278e131a57c1ae4e25efaaa7b243ab80b30a3f88fa9f6fd7a
DIST libftdi-0.20.tar.gz 423570 SHA256 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e SHA512 540e5eb201a65936c3dbabff70c251deba1615874b11ff27c5ca16c39d71c150cf61758a68b541135a444fe32ab403b0fba0daf55c587647aaf9b3f400f1dee7 WHIRLPOOL b1eab592bd6a21a123c7e951d5e4cdafc740c20773b8c5c7c86eef2a05bc8a190a2758a04187d3436de464a49dc329d4e4c9e54792287cc5c39a0ec7d08425d2
-DIST libftdi1-1.0.tar.bz2 97072 SHA256 7290fd38208d8c00d25ed13ce172aaa0403b37148080e4a33a99837022d2b321 SHA512 e733db0bf826415971c64723fe1e56cb1201fa1b9e3a3f04a2a47e1d16c543ae29c634a514f5ff5ca422c2e3b3e1715988c84df1dc66114700209dfb1e6d96ae WHIRLPOOL 82b384b396b12681d88531082e6a5d9d765934877192001106b7bb2ee91da91d0941eb7514b7b091fca403d47b4458a5ae06c5249b0cb0114a0fbe7b7056b7ed
DIST libftdi1-1.2.tar.bz2 100672 SHA256 a6ea795c829219015eb372b03008351cee3fb39f684bff3bf8a4620b558488d6 SHA512 d175e2b39dda880653a2e46db67e49a8921095e69eff6598159c3c31292d4ce76617c2f1617fd6727b08c930fcea335d8ef01857debbb60e7ac384b516d38a05 WHIRLPOOL 7e6646a23b8e8f1c0fec6b1ad3231797653e1788abfb7340cd391c792d2f48e4cada0ca832e325947b49d964919d5b81cddd8b43f3962d185605afbabd743fbf
diff --git a/dev-embedded/libftdi/files/libftdi-1.0-staticlibs.patch b/dev-embedded/libftdi/files/libftdi-1.0-staticlibs.patch
deleted file mode 100644
index a3ce560dbfbd..000000000000
--- a/dev-embedded/libftdi/files/libftdi-1.0-staticlibs.patch
+++ /dev/null
@@ -1,123 +0,0 @@
-make static libs optional. already sent upstream.
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -46,6 +46,8 @@ set(CPACK_COMPONENT_SHAREDLIBS_GROUP "Development")
- "Static library, good if you want to embed libftdi1 in your application.")
- set(CPACK_COMPONENT_HEADERS_DESCRIPTION
- "C/C++ header files.")
-+
-+option ( STATICLIBS "Build static libraries" ON )
-
- set(CPACK_COMPONENT_SHAREDLIBS_GROUP "Development")
- set(CPACK_COMPONENT_STATICLIBS_GROUP "Development")
---- a/ftdipp/CMakeLists.txt
-+++ b/ftdipp/CMakeLists.txt
-@@ -30,12 +30,16 @@ if (FTDIPP)
- set_target_properties(ftdipp1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2)
-
- # Static library
-- add_library(ftdipp1-static STATIC ${cpp_sources})
-- set_target_properties(ftdipp1-static PROPERTIES OUTPUT_NAME "ftdipp1")
-+ if (STATICLIBS)
-+ add_library(ftdipp1-static STATIC ${cpp_sources})
-+ set_target_properties(ftdipp1-static PROPERTIES OUTPUT_NAME "ftdipp1")
-+ endif (STATICLIBS)
-
- # Prevent clobbering each other during the build
- set_target_properties(ftdipp1 PROPERTIES CLEAN_DIRECT_OUTPUT 1)
-- set_target_properties(ftdipp1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
-+ if (STATICLIBS)
-+ set_target_properties(ftdipp1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
-+ endif (STATICLIBS)
-
- # Dependencies
- target_link_libraries(ftdipp1 ftdi1 ${LIBUSB_LIBRARIES} ${BOOST_LIBRARIES})
-@@ -46,10 +50,12 @@ if (FTDIPP)
- LIBRARY DESTINATION lib${LIB_SUFFIX}
- COMPONENT sharedlibs
- )
-- install( TARGETS ftdipp1-static
-- ARCHIVE DESTINATION lib${LIB_SUFFIX}
-- COMPONENT staticlibs
-- )
-+ if (STATICLIBS)
-+ install( TARGETS ftdipp1-static
-+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
-+ COMPONENT staticlibs
-+ )
-+ endif (STATICLIBS)
- install( FILES ${cpp_headers}
- DESTINATION include/${PROJECT_NAME}
- COMPONENT headers
-@@ -61,10 +67,12 @@ if (FTDIPP)
- DESTINATION bin
- COMPONENT sharedlibs
- )
-- install( TARGETS ftdipp1-static
-- DESTINATION bin
-- COMPONENT staticlibs
-- )
-+ if (STATICLIBS)
-+ install( TARGETS ftdipp1-static
-+ DESTINATION bin
-+ COMPONENT staticlibs
-+ )
-+ endif (STATICLIBS)
- install( FILES ${cpp_headers}
- DESTINATION include/${PROJECT_NAME}
- COMPONENT headers
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -28,11 +28,15 @@ set_target_properties(ftdi1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}
-
- # Static library
- add_library(ftdi1-static STATIC ${c_sources})
--set_target_properties(ftdi1-static PROPERTIES OUTPUT_NAME "ftdi1")
-+if (STATICLIBS)
-+ set_target_properties(ftdi1-static PROPERTIES OUTPUT_NAME "ftdi1")
-+endif (STATICLIBS)
-
- # Prevent clobbering each other during the build
- set_target_properties(ftdi1 PROPERTIES CLEAN_DIRECT_OUTPUT 1)
--set_target_properties(ftdi1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
-+if (STATICLIBS)
-+ set_target_properties(ftdi1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
-+endif (STATICLIBS)
-
- # Dependencies
- target_link_libraries(ftdi1 ${LIBUSB_LIBRARIES})
-@@ -45,10 +49,12 @@ if(${UNIX})
- COMPONENT sharedlibs
- )
-
-- install( TARGETS ftdi1-static
-- ARCHIVE DESTINATION lib${LIB_SUFFIX}
-- COMPONENT staticlibs
-- )
-+ if (STATICLIBS)
-+ install( TARGETS ftdi1-static
-+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
-+ COMPONENT staticlibs
-+ )
-+ endif (STATICLIBS)
-
- install( FILES ${c_headers}
- DESTINATION include/${PROJECT_NAME}
-@@ -64,10 +70,12 @@ if(${WIN32})
- COMPONENT sharedlibs
- )
-
-- install( TARGETS ftdi1-static
-- DESTINATION bin
-- COMPONENT staticlibs
-- )
-+ if (STATICLIBS)
-+ install( TARGETS ftdi1-static
-+ DESTINATION bin
-+ COMPONENT staticlibs
-+ )
-+ endif (STATICLIBS)
-
- install( FILES ${c_headers}
- DESTINATION include/${PROJECT_NAME}
diff --git a/dev-embedded/libftdi/libftdi-1.0.ebuild b/dev-embedded/libftdi/libftdi-1.0.ebuild
deleted file mode 100644
index 71cd0a59013f..000000000000
--- a/dev-embedded/libftdi/libftdi-1.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit cmake-utils eutils
-
-MY_P="${PN}1-${PV}"
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
- inherit git-2
-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 tools"
-
-RDEPEND="virtual/libusb:1
- cxx? ( dev-libs/boost )
- python? ( dev-lang/python )
- tools? ( dev-libs/confuse )"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- doc? ( app-doc/doxygen )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.0-staticlibs.patch
-}
-
-src_configure() {
- mycmakeargs=(
- $(cmake-utils_use cxx FTDIPP)
- $(cmake-utils_use doc DOCUMENTATION)
- $(cmake-utils_use examples EXAMPLES)
- $(cmake-utils_use python PYTHON_BINDINGS)
- $(cmake-utils_use static-libs STATICLIBS)
- $(cmake-utils_use tools FTDI_EEPROM)
- -DCMAKE_SKIP_BUILD_RPATH=ON
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc AUTHORS ChangeLog README TODO
-
- if use doc ; then
- # Clean up crap man pages. #356369
- rm -vf "${CMAKE_BUILD_DIR}"/doc/man/man3/{_,usb_,deprecated}*
-
- doman "${CMAKE_BUILD_DIR}"/doc/man/man3/*
- dohtml "${CMAKE_BUILD_DIR}"/doc/html/*
- fi
- if use examples ; then
- docinto examples
- dodoc examples/*.c
- fi
-}