Skip to content

Commit 177b1b2

Browse files
committed
Use shared-modules for libusb
1 parent 0bfd263 commit 177b1b2

File tree

3 files changed

+5
-19
lines changed

3 files changed

+5
-19
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "shared-modules"]
2+
path = shared-modules
3+
url = https://github.com/flathub/shared-modules.git

cc.arduino.arduinoide.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,7 @@
3636
"/usr/lib/sdk/openjdk11/install.sh"
3737
]
3838
},
39-
{
40-
"name": "libusb",
41-
"config-opts": [ "--disable-static", "--disable-udev" ],
42-
"cleanup": [
43-
"/lib/*.la",
44-
"/lib/pkgconfig",
45-
"/include"
46-
],
47-
"sources": [
48-
{
49-
"type":"archive",
50-
"url":"https://github.com/libusb/libusb/archive/v1.0.23.tar.gz",
51-
"sha256": "02620708c4eea7e736240a623b0b156650c39bfa93a14bcfa5f3e05270313eba"
52-
}
53-
],
54-
"post-install": [
55-
"install -Dm644 COPYING /app/share/licenses/libusb/COPYING"
56-
]
57-
},
39+
"shared-modules/libusb/libusb.json",
5840
{
5941
"name": "usbutils",
6042
"config-opts": [

shared-modules

Submodule shared-modules added at 1f5c22d

0 commit comments

Comments
 (0)