hidapi: new package

This commit is contained in:
suvari
2023-07-15 20:36:36 +03:00
parent 1aa891e80d
commit a31174b8c2
8 changed files with 216 additions and 13 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX='/usr'")
def build():
cmaketools.make()
#def check():
#cmaketools.make("test")
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*", "LICENSE*")
+58
View File
@@ -0,0 +1,58 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>hidapi</Name>
<Homepage>https://github.com/libusb/hidapi</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPL</License>
<Icon>hidapi</Icon>
<IsA>library</IsA>
<Summary>Simple library for communicating with USB and Bluetooth HID devices</Summary>
<Description>HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices</Description>
<Archive sha1sum="e14d489b29ade5dcb11dfd875f56e1bc0332379f" type="targz">https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.14.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>eudev-devel</Dependency>
<Dependency>libusb-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>hidapi</Name>
<RuntimeDependencies>
<Dependency>eudev</Dependency>
<Dependency>libusb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libhidapi*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>hidapi-devel</Name>
<Summary>Development files for hidapi</Summary>
<RuntimeDependencies>
<Dependency release="current">hidapi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-07-15</Date>
<Version>0.14.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>hidapi</Name>
<Summary xml:lang="tr">USB ve Bluetooth HID cihazlarıyla iletişim için basit kütüphane</Summary>
<Description xml:lang="tr">HIDAPI, bir uygulamanın USB ve Bluetooth HID Sınıfı cihazlarla arayüz oluşturmasına izin veren çok platformlu bir kitaplıktır.</Description>
</Source>
</PISI>
+116 -10
View File
@@ -4726,7 +4726,7 @@
<Summary xml:lang="en">OpenType text shaping engine</Summary>
<Description xml:lang="en">The Harfbuzz package contains an OpenType text shaping engine.</Description>
<Icon>harfbuzz</Icon>
<Archive type="tarxz" sha1sum="7a66d7d4d5794f9ee6b9d77ad567b708031d0d28" name="harfbuzz-7.2.0.tar.xz">https://github.com/harfbuzz/harfbuzz/releases/download/7.2.0/harfbuzz-7.2.0.tar.xz</Archive>
<Archive type="tarxz" sha1sum="5e5f064c069689c8a9fdd5bdf5c29ef37e8d62a9" name="harfbuzz-8.0.1.tar.xz">https://github.com/harfbuzz/harfbuzz/releases/download/8.0.1/harfbuzz-8.0.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>meson</Dependency>
@@ -4768,7 +4768,7 @@
<Dependency>cairo-devel</Dependency>
<Dependency>graphite2-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency release="23">harfbuzz</Dependency>
<Dependency release="24">harfbuzz</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/harfbuzz</Path>
@@ -4807,6 +4807,13 @@
</Files>
</Package>
<History>
<Update release="24">
<Date>2023-07-12</Date>
<Version>8.0.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="23">
<Date>2023-04-27</Date>
<Version>7.2.0</Version>
@@ -222421,6 +222428,63 @@ It supports email, address books, calendars, tasks, news feeds and much more.</D
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>hidapi</Name>
<Homepage>https://github.com/libusb/hidapi</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPL</License>
<IsA>library</IsA>
<PartOf>hardware.bluetooth</PartOf>
<Summary xml:lang="en">Simple library for communicating with USB and Bluetooth HID devices</Summary>
<Summary xml:lang="tr">USB ve Bluetooth HID cihazlarıyla iletişim için basit kütüphane</Summary>
<Description xml:lang="en">HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices</Description>
<Description xml:lang="tr">HIDAPI, bir uygulamanın USB ve Bluetooth HID Sınıfı cihazlarla arayüz oluşturmasına izin veren çok platformlu bir kitaplıktır.</Description>
<Icon>hidapi</Icon>
<Archive type="targz" sha1sum="e14d489b29ade5dcb11dfd875f56e1bc0332379f" name="hidapi-0.14.0.tar.gz">https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.14.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>eudev-devel</Dependency>
<Dependency>libusb-devel</Dependency>
</BuildDependencies>
<SourceURI>hardware/bluetooth/hidapi/pspec.xml</SourceURI>
</Source>
<Package>
<Name>hidapi</Name>
<RuntimeDependencies>
<Dependency>eudev</Dependency>
<Dependency>libusb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libhidapi*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>hidapi-devel</Name>
<Summary xml:lang="en">Development files for hidapi</Summary>
<RuntimeDependencies>
<Dependency release="1">hidapi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-07-15</Date>
<Version>0.14.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>sbc</Name>
@@ -264684,7 +264748,7 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
<Description xml:lang="en">DeaDBeeF (as in 0xDEADBEEF) is a modular audio player for GNU/Linux, *BSD, OpenSolaris, macOS, and other UNIX-like systems.</Description>
<Description xml:lang="tr">DeaDBeeF (0xDEADBEEF gibi) X11 ile GNU / Linux sistemleri (şimdi olsa da FreeBSD, X olmaksızın düz konsolda çalışır ve OpenSolaris) için bir ses oynatıcısıdır.</Description>
<Description xml:lang="pl">DeaDBeeF Program pozwala odtwarzać najpopularniejsze formaty muzyki, a także płyty Audio-CD i strumienie audio emitowane za pośrednictwem Internetu. Jego ogromną zaletą jest prostota, dopracowanie oraz minimalne zapotrzebowanie na zasoby systemowe.</Description>
<Archive type="tarbz2" sha1sum="5fcd76f66113cdbe2839f8f0d5f6796c948d5f20" name="deadbeef-1.9.4.tar.bz2">mirrors://sourceforge/project/deadbeef/travis/linux/1.9.4/deadbeef-1.9.4.tar.bz2</Archive>
<Archive type="tarbz2" sha1sum="c64d8f4743f935c297e5e2672d0ca279a6fa284f" name="deadbeef-1.9.5.tar.bz2">mirrors://sourceforge/project/deadbeef/travis/linux/1.9.5/deadbeef-1.9.5.tar.bz2</Archive>
<BuildDependencies>
<Dependency>bison</Dependency>
<Dependency>intltool</Dependency>
@@ -264779,6 +264843,13 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
</Files>
</Package>
<History>
<Update release="21">
<Date>2023-07-15</Date>
<Version>1.9.5</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="20">
<Date>2022-12-29</Date>
<Version>1.9.4</Version>
@@ -273683,7 +273754,7 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
<PartOf>multimedia.video</PartOf>
<Summary xml:lang="en">Take photos and videos with your webcam, with fun graphical effects</Summary>
<Description xml:lang="en">Take photos and videos with your webcam, with fun graphical effects</Description>
<Archive type="tarxz" sha1sum="f31a26e988bdbc420c54e6bd025eac7331300e54" name="cheese-44.0.1.tar.xz">https://download.gnome.org/sources/cheese/44/cheese-44.0.1.tar.xz</Archive>
<Archive type="tarxz" sha1sum="a5227d578e106da7fbb89b6e408fe02149c724eb" name="cheese-44.1.tar.xz">https://download.gnome.org/sources/cheese/44/cheese-44.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>appstream-glib-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
@@ -273748,7 +273819,7 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
<Package>
<Name>cheese-devel</Name>
<RuntimeDependencies>
<Dependency release="6">cheese</Dependency>
<Dependency release="7">cheese</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libX11-devel</Dependency>
@@ -273767,6 +273838,13 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
</Files>
</Package>
<History>
<Update release="7">
<Date>2023-07-15</Date>
<Version>44.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="6">
<Date>2023-04-18</Date>
<Version>44.0.1</Version>
@@ -373582,7 +373660,7 @@ contacts, tasks, and calendar information.</Summary>
<Summary xml:lang="tr">Bir mikro kıyaslama destek kitaplığı</Summary>
<Description xml:lang="en">A library to benchmark code snippets, similar to unit tests.</Description>
<Description xml:lang="tr">Birim testlerine benzer şekilde kod parçacıklarını karşılaştırmak için bir kitaplık.</Description>
<Archive type="targz" sha1sum="1faaa54195824bbe151c1ebee31623232477d075" name="v1.6.1.tar.gz">https://github.com/google/benchmark/archive/refs/tags/v1.6.1.tar.gz</Archive>
<Archive type="targz" sha1sum="39dff009fd8e3eb9200b9b02dd0b1dcb06386d74" name="v1.8.2.tar.gz">https://github.com/google/benchmark/archive/refs/tags/v1.8.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency>
@@ -373612,6 +373690,13 @@ contacts, tasks, and calendar information.</Summary>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-07-15</Date>
<Version>1.8.2</Version>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2022-06-11</Date>
<Version>1.6.1</Version>
@@ -380499,7 +380584,7 @@ contacts, tasks, and calendar information.</Summary>
<PartOf>server.database</PartOf>
<Summary xml:lang="en">Symas Lightning Memory-Mapped Database</Summary>
<Description xml:lang="en">An ultra-fast, ultra-compact key-value embedded data store.</Description>
<Archive type="tarbz2" sha1sum="de0fae62681f85c8f34bf7222d4c1458648454f0" name="openldap-LMDB_0.9.30.tar.bz2">https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.30/openldap-LMDB_0.9.30.tar.bz2</Archive>
<Archive type="tarbz2" sha1sum="c7a1d12b8f2b3f12c8875a076f0c05bddbc0c4ba" name="openldap-LMDB_0.9.31.tar.bz2">https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.31/openldap-LMDB_0.9.31.tar.bz2</Archive>
<AdditionalFiles>
<AdditionalFile target="libraries/liblmdb/lmdb.pc" permission="0644" owner="root">lmdb.pc</AdditionalFile>
</AdditionalFiles>
@@ -380518,7 +380603,7 @@ contacts, tasks, and calendar information.</Summary>
<Name>lmdb-devel</Name>
<Summary xml:lang="en">Development files for lmdb</Summary>
<RuntimeDependencies>
<Dependency release="9">lmdb</Dependency>
<Dependency release="10">lmdb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
@@ -380526,6 +380611,13 @@ contacts, tasks, and calendar information.</Summary>
</Files>
</Package>
<History>
<Update release="10">
<Date>2023-07-11</Date>
<Version>0.9.31</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2023-03-29</Date>
<Version>0.9.30</Version>
@@ -385535,7 +385627,7 @@ contacts, tasks, and calendar information.</Summary>
<Description xml:lang="en">inxi is a full featured CLI system information tool.</Description>
<Description xml:lang="nl">Script voor het opvragen van systeem informatie</Description>
<Description xml:lang="es">Inxi es un completo script que muestra la información del sistema</Description>
<Archive type="targz" sha1sum="cf3372b35012ed2292db5a864e4601c6b29b5027" name="3.3.23-1.tar.gz">https://github.com/smxi/inxi/archive/refs/tags/3.3.23-1.tar.gz</Archive>
<Archive type="targz" sha1sum="2dc0497a8dda1dd54a0f3270366bb27488515216" name="3.3.28-1.tar.gz">https://github.com/smxi/inxi/archive/refs/tags/3.3.28-1.tar.gz</Archive>
<SourceURI>util/admin/inxi/pspec.xml</SourceURI>
</Source>
<Package>
@@ -385548,6 +385640,13 @@ contacts, tasks, and calendar information.</Summary>
</Files>
</Package>
<History>
<Update release="9">
<Date>2023-07-11</Date>
<Version>3.3.28.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2022-11-10</Date>
<Version>3.3.23.1</Version>
@@ -412675,7 +412774,7 @@ contacts, tasks, and calendar information.</Summary>
<Description xml:lang="en">The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can&apos;t use the window system directly.</Description>
<Description xml:lang="tr">xterm programı, X Pencere Sistemi için bir uçbirim emülatörüdür. Pencere sistemini doğrudan kullanamayan programlar için DEC VT102 ve Tektronix 4014 uyumlu uçbirimler sağlar.</Description>
<Icon>terminal</Icon>
<Archive type="targz" sha1sum="8edaf6840a63cd60523ec6489c3517b08f39692d" name="xterm-382.tgz">http://invisible-mirror.net/archives/xterm/xterm-382.tgz</Archive>
<Archive type="targz" sha1sum="546692111f1ab549d8b9349e0c9dbc40387ef475" name="xterm-384.tgz">http://invisible-mirror.net/archives/xterm/xterm-384.tgz</Archive>
<BuildDependencies>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libICE-devel</Dependency>
@@ -412724,6 +412823,13 @@ contacts, tasks, and calendar information.</Summary>
</Files>
</Package>
<History>
<Update release="10">
<Date>2023-07-11</Date>
<Version>384</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2023-05-31</Date>
<Version>382</Version>
+1 -1
View File
@@ -1 +1 @@
a89712d800e48b0a8f35f1672db019a8f24b009f
e731f50a0be3d90c1145d48bac447d0bb77b6d9e
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
afac3bf514ace166ceedcc870322ca8b47f2e7e0
6f2d2c81791ccede6f84e33950bfa270e74c434a
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA>
<Summary>A microbenchmark support library</Summary>
<Description>A library to benchmark code snippets, similar to unit tests.</Description>
<Archive sha1sum="1faaa54195824bbe151c1ebee31623232477d075" type="targz">https://github.com/google/benchmark/archive/refs/tags/v1.6.1.tar.gz</Archive>
<Archive sha1sum="39dff009fd8e3eb9200b9b02dd0b1dcb06386d74" type="targz">https://github.com/google/benchmark/archive/refs/tags/v1.8.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency>
@@ -44,6 +44,13 @@
</Package>
<History>
<Update release="1">
<Date>2023-07-15</Date>
<Version>1.8.2</Version>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2022-06-11</Date>
<Version>1.6.1</Version>