diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-05-19 23:16:58 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-05-19 23:34:58 +0200 |
commit | 9904f874414877fe1918b1e94869cfe5c0071bb0 (patch) | |
tree | e3e08d32a330da310ddaa522585d4d187c7588f4 /dev-libs | |
parent | sys-apps/cpuid: drop old version (diff) | |
download | gentoo-9904f874414877fe1918b1e94869cfe5c0071bb0.tar.gz gentoo-9904f874414877fe1918b1e94869cfe5c0071bb0.tar.bz2 gentoo-9904f874414877fe1918b1e94869cfe5c0071bb0.zip |
dev-libs/cyberjack: bump to version 3.99.5_p14
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cyberjack/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/dev-libs/cyberjack/Manifest b/dev-libs/cyberjack/Manifest index 1cdcd4b01ed3..4673a974b76d 100644 --- a/dev-libs/cyberjack/Manifest +++ b/dev-libs/cyberjack/Manifest @@ -1 +1,2 @@ +DIST pcsc-cyberjack-3.99.5final.SP14.tar.bz2 1090014 BLAKE2B 15c9d0225f03d1fcbc636b6f8ae29f265243af35bc78c48f2e9cca27c7731ebb30069eb5bf377ce66d2c7afb31e1fb5d839001fa21e854a4bdc56237bf780327 SHA512 f39e4f13776d8c4e4bc5ea3cc64e64649d8dea334f50b9bcc9cc6f1fc9e7433ef32b8fcb00b5dad78867029dab0a099c0d7799d7e8f80d0f310b0f53dbd2a7b9 DIST pcsc-cyberjack_3.99.5final.SP13.tar.gz 1617714 BLAKE2B 344f00217fa5dfb18e5318d2b8ccb88a3cc12b86a9c14d41a9800d701d0fc7a0a486a0b3c05188d07d1f7c51c4c514c48a55d987d8d9d2af574f427e550c8654 SHA512 74ac56a0f74a69006c87e2c22e147b65d26582d29753de03d56e4ad76413f4477a031d47f5eb074323b4ffd000b0908a1fb2b12fb7d91e9b3ee67e983e09e968 diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild new file mode 100644 index 000000000000..53d0aee2a30f --- /dev/null +++ b/dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="pcsc-${PN}" +MY_PV="${PV/_p/final.SP}" +MY_P="${MY_PN}-${MY_PV}" + +inherit autotools flag-o-matic linux-info toolchain-funcs udev + +DESCRIPTION="REINER SCT cyberJack USB chipcard reader user space driver" +HOMEPAGE="https://www.reiner-sct.de/" +SRC_URI="http://kernelport.com/reiner-sct/SP$(ver_cut 5)/${MY_P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +IUSE="static-libs threads tools +udev +usb xml" + +RDEPEND=" + sys-apps/pcsc-lite + usb? ( virtual/libusb:1 ) + udev? ( virtual/udev ) + xml? ( dev-libs/libxml2:2= ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P/_/-}" + +CONFIG_CHECK="~USB_SERIAL_CYBERJACK" + +pkg_setup() { + # Add workaround for GCC-10, + # by defining narrowing as warning like GCC-9 did. + # Upstream is working on that. + append-cxxflags -Wno-narrowing +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-debug + --disable-error-on-warning + --disable-hal + --disable-mac-universal + --disable-mac-arches-i386 + --disable-mac-arches-x86_64 + --disable-visibility + --enable-pcsc + --enable-release + --enable-warnings + --sysconfdir="/etc/cyberjack" + $(use_enable static-libs static) + $(use_enable threads) + $(use_enable udev) + $(use_enable usb nonserial) + $(use_enable xml xml2) + --with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)" + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + if use tools; then + # cjBingo can't be compiled, as it's defines stuff, which got dropped + cd "${S}"/tools/cjflash && emake + cd "${S}"/tools/cjgeldkarte && emake + fi +} + +src_install() { + default + + use tools && dobin tools/cjflash/cjflash tools/cjgeldkarte/cjgeldkarte + use udev && udev_newrules debian/libifd-cyberjack6.udev 99-${PN}.rules + + dodoc debian/changelog doc/{LIESMICH,README}.{pdf,txt,xml} + + docinto html + dodoc doc/{LIESMICH,README}.html + + docinto source + dodoc doc/*.c* + + find "${D}" -name '*.la' -delete || die +} |