Skip to content
Permalink
Browse files

hidapi: renamed from hidapi-devel

  • Loading branch information
chrstphrchvz authored and cjones051073 committed Apr 25, 2019
1 parent 4f3fd87 commit acdab78966743b6bf7d8540284a43fd60d556c22
@@ -1,37 +1,14 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup github 1.0
PortGroup obsolete 1.0

github.setup signal11 hidapi a6a622ffb680c55da0de787ff93b80280498330f
# Remove after 2020-04-25
name hidapi-devel
conflicts hidapi
replaced_by hidapi
set portversion 20160920
version 0.8.0-${portversion}
revision 1
categories comms
platforms darwin
maintainers {raimue @raimue} \
openmaintainer
license {GPL-3 BSD Permissive}

description library for interacting with HID-class devices
long_description \
HIDAPI is a multi-platform library which allows an application to \
interface with USB and Bluetooth HID-Class devices.

checksums rmd160 aa84a33aa09fb4b82f59e2e40d58c80ac37a5bfc \
sha256 32ea444bdd6c6a8a940bfa3287a2dc8c291a141fdc78cd638b37b546b44d95be

use_autoreconf yes

variant testgui description {Install GUI to test HIDAPI} {
depends_lib-append port:fox
configure.args-append --enable-testgui
patchfiles-append patch-appbundle.diff

post-destroot {
set destapp ${destroot}${applications_dir}/HIDAPI-TestGUI.app
copy ${worksrcpath}/testgui/TestGUI.app ${destapp}
ln -s ${prefix}/bin/hidapi-testgui ${destapp}/Contents/MacOS/
}
}
@@ -0,0 +1,38 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup github 1.0

# a6a622f (2016-01-28) is latest commit on master branch as of 2019-04-25;
# contains macOS-related improvements since 0.8.0-rc1
github.setup signal11 hidapi a6a622ffb680c55da0de787ff93b80280498330f
version 0.8.0
revision 0
categories comms
platforms darwin
maintainers {raimue @raimue} \
openmaintainer
license {GPL-3 BSD Permissive}

description library for interacting with HID-class devices
long_description \
HIDAPI is a multi-platform library which allows an application to \
interface with USB and Bluetooth HID-Class devices.

checksums rmd160 aa84a33aa09fb4b82f59e2e40d58c80ac37a5bfc \
sha256 32ea444bdd6c6a8a940bfa3287a2dc8c291a141fdc78cd638b37b546b44d95be \
size 103865

use_autoreconf yes

variant testgui description {Install GUI to test HIDAPI} {
depends_lib-append port:fox
configure.args-append --enable-testgui
patchfiles-append patch-appbundle.diff

post-destroot {
set destapp ${destroot}${applications_dir}/HIDAPI-TestGUI.app
copy ${worksrcpath}/testgui/TestGUI.app ${destapp}
ln -s ${prefix}/bin/hidapi-testgui ${destapp}/Contents/MacOS/
}
}
File renamed without changes.
@@ -160,5 +160,5 @@ variant ti description {TI-ICDI interface on Stellaris Launchpad} {

variant cmsis description {Enable building support for the cmsis-dap} {
configure.args-append --enable-cmsis-dap
depends_lib-append port:hidapi-devel
depends_lib-append port:hidapi
}
@@ -24,7 +24,7 @@ checksums rmd160 18cfcf737205ab78119a12ebad27ec051487ac5f \
size 333977

depends_build port:pkgconfig
depends_lib port:hidapi-devel \
depends_lib port:hidapi \
port:libusb-compat \
port:readline

@@ -27,7 +27,7 @@ checksums rmd160 eec9e62e6a03348bf5d651bc4a29b112dd9b35be \

depends_build port:pkgconfig
depends_lib port:json-c \
port:hidapi-devel
port:hidapi

livecheck.type regex
livecheck.url ${master_sites}

0 comments on commit acdab78

Please sign in to comment.
You can’t perform that action at this time.