mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Compare commits
462 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e855d1ea11 | ||
|
|
8fba548a46 | ||
|
|
75170db1aa | ||
|
|
79c59908cf | ||
|
|
6285685de7 | ||
|
|
8c39d597f7 | ||
|
|
97fa217f54 | ||
|
|
ab246ebe97 | ||
|
|
4862642f6e | ||
|
|
4ab656fe61 | ||
|
|
bb4e3f354d | ||
|
|
f8a588e57e | ||
|
|
d206d46f3e | ||
|
|
c9a2d68cfa | ||
|
|
5ebb357e1a | ||
|
|
8dbfc26f94 | ||
|
|
1d0aa1bedb | ||
|
|
843d59fcfb | ||
|
|
21d9e1293e | ||
|
|
9b33d3589e | ||
|
|
1c89f1826a | ||
|
|
ebdb386091 | ||
|
|
d4c7b7e4b4 | ||
|
|
5b101dc237 | ||
|
|
d7c5753ca7 | ||
|
|
aa967f4fc6 | ||
|
|
f9bce9dd13 | ||
|
|
5fc0a7b38b | ||
|
|
1b40fa2d9a | ||
|
|
8159703761 | ||
|
|
13b2a84ea1 | ||
|
|
d03d9cdd6f | ||
|
|
6dbb0a9698 | ||
|
|
6c59612930 | ||
|
|
d7b1df1730 | ||
|
|
571bb9f145 | ||
|
|
ed5ca47a8f | ||
|
|
0ca4008f8b | ||
|
|
679cd0482b | ||
|
|
d88ef305cc | ||
|
|
8e03887f6c | ||
|
|
eb92ad3d5f | ||
|
|
d49c4e5b11 | ||
|
|
cc1740a4ba | ||
|
|
fd382b9743 | ||
|
|
9dc1f5d168 | ||
|
|
e5b2ea3244 | ||
|
|
4e9fbb01fb | ||
|
|
db2facc06a | ||
|
|
2c8e9d4a15 | ||
|
|
1ab8c01495 | ||
|
|
3a202a3020 | ||
|
|
05315f3fc8 | ||
|
|
feae1d23a5 | ||
|
|
812331133d | ||
|
|
d0df1c2b06 | ||
|
|
9f71e3125a | ||
|
|
72f0a90609 | ||
|
|
8a337ef50d | ||
|
|
4bb4dcab1d | ||
|
|
b3d9313309 | ||
|
|
1bf09aea4e | ||
|
|
d86a21c411 | ||
|
|
69c2096793 | ||
|
|
ba18b00209 | ||
|
|
7a8d54fded | ||
|
|
f781309802 | ||
|
|
be0ac4b955 | ||
|
|
0e53edf8c7 | ||
|
|
368db6a726 | ||
|
|
59be68f4b0 | ||
|
|
6960dc5359 | ||
|
|
2612b796d5 | ||
|
|
2521cb30d5 | ||
|
|
f2935775e4 | ||
|
|
2a15ccbc86 | ||
|
|
a761a2725e | ||
|
|
12b1e672a9 | ||
|
|
e1c0d65ab9 | ||
|
|
af7adda9e6 | ||
|
|
43ea8529e9 | ||
|
|
3db5fcf296 | ||
|
|
49e316bc98 | ||
|
|
73e0b6b5a4 | ||
|
|
be49525470 | ||
|
|
d7ff410795 | ||
|
|
7e2ccb295d | ||
|
|
bfc347ceb4 | ||
|
|
c892b2adf6 | ||
|
|
4962e1fca4 | ||
|
|
b60a6e2d92 | ||
|
|
5867c36671 | ||
|
|
1997236387 | ||
|
|
0c7457e724 | ||
|
|
1bfd8e7f61 | ||
|
|
a32394bca6 | ||
|
|
5ff2b1a955 | ||
|
|
a7802044ca | ||
|
|
dd4431b2a0 | ||
|
|
9b819040be | ||
|
|
b15c63b07e | ||
|
|
bc826f551f | ||
|
|
ffd9cb41f9 | ||
|
|
50b29efbb3 | ||
|
|
66d6f4dc69 | ||
|
|
5d3ab28b5d | ||
|
|
d7e4c1993d | ||
|
|
05f5831370 | ||
|
|
964dada278 | ||
|
|
e7e994bfd9 | ||
|
|
be3c850da2 | ||
|
|
7bf499fef1 | ||
|
|
5c12e6dd48 | ||
|
|
e6bda27080 | ||
|
|
93431a3420 | ||
|
|
a925249f24 | ||
|
|
8e4356aa1b | ||
|
|
6fdb71c0aa | ||
|
|
8de6404b30 | ||
|
|
0e3510b6c9 | ||
|
|
686a73b56b | ||
|
|
8eb85ddaa9 | ||
|
|
7f406af767 | ||
|
|
b6f56108ec | ||
|
|
294e7c5412 | ||
|
|
19bcb1a1fe | ||
|
|
47f98a2bb9 | ||
|
|
6eddc217f6 | ||
|
|
da6317584e | ||
|
|
5455666f32 | ||
|
|
a9b0111317 | ||
|
|
b288787969 | ||
|
|
1298174ad5 | ||
|
|
653e53173f | ||
|
|
2b436b3212 | ||
|
|
2f25c2c8f4 | ||
|
|
29658ecb0f | ||
|
|
6ff220ed5d | ||
|
|
da312dc7d6 | ||
|
|
81888a7c85 | ||
|
|
f122879a43 | ||
|
|
309710e64b | ||
|
|
64965b0ebc | ||
|
|
32258c087d | ||
|
|
79108024da | ||
|
|
10de47343f | ||
|
|
aea575eb29 | ||
|
|
42ee709cfe | ||
|
|
55559f8be5 | ||
|
|
d5705c79ab | ||
|
|
f223e23fe3 | ||
|
|
9957940e86 | ||
|
|
9a5e94fb6e | ||
|
|
ae018780a8 | ||
|
|
34de01dfa5 | ||
|
|
b09726929f | ||
|
|
942b1ffa80 | ||
|
|
b4802bd5c4 | ||
|
|
82cc40069f | ||
|
|
745f6790ec | ||
|
|
fefe70559c | ||
|
|
6c328cfe3b | ||
|
|
ee22bb0dbb | ||
|
|
4b9d71d9e9 | ||
|
|
d41dc1878d | ||
|
|
42b123e712 | ||
|
|
8c6ef4c2ab | ||
|
|
b4e2344026 | ||
|
|
fb1e10f464 | ||
|
|
a5b8ce77c9 | ||
|
|
2adbedec41 | ||
|
|
880f43ee94 | ||
|
|
7301560cd2 | ||
|
|
0fd4cdea9e | ||
|
|
42ed3d20b6 | ||
|
|
ef4443c1de | ||
|
|
0efa45223c | ||
|
|
e82bde9920 | ||
|
|
0f6b1c4142 | ||
|
|
3a29a9e2ce | ||
|
|
b93596fae2 | ||
|
|
5b97d63c95 | ||
|
|
73cf0af5dd | ||
|
|
8fa60279d3 | ||
|
|
2c9f5eeebd | ||
|
|
94cffa28cd | ||
|
|
51a6b73f3b | ||
|
|
6682c6267f | ||
|
|
5ed35c1262 | ||
|
|
4c139b3a02 | ||
|
|
b23f269dbe | ||
|
|
796223f8c6 | ||
|
|
ce9a46ea73 | ||
|
|
fdcab899bc | ||
|
|
18a20870c1 | ||
|
|
e4c842b45b | ||
|
|
c4ebfb00cd | ||
|
|
845c4c97d9 | ||
|
|
534dc1f932 | ||
|
|
9a749b5654 | ||
|
|
8b98e0dc78 | ||
|
|
fe48e16b78 | ||
|
|
12be174140 | ||
|
|
01e30699f1 | ||
|
|
241b089dbd | ||
|
|
7bdafac236 | ||
|
|
f42e876e11 | ||
|
|
4bf466922e | ||
|
|
a0d90c3e2d | ||
|
|
735086eb55 | ||
|
|
bbdc495bf5 | ||
|
|
08c2e35be9 | ||
|
|
6c91178539 | ||
|
|
4ca55555ac | ||
|
|
5bb439d3b6 | ||
|
|
a406686a05 | ||
|
|
c3a7fcffae | ||
|
|
a7cf6b31fe | ||
|
|
03167fa8f6 | ||
|
|
7e1bf53b40 | ||
|
|
029487648d | ||
|
|
c3766580f9 | ||
|
|
bb79e9854d | ||
|
|
6e2c397be6 | ||
|
|
6289fefb19 | ||
|
|
40c68b1236 | ||
|
|
3e1bdc3e17 | ||
|
|
21b1b6f4ea | ||
|
|
1fb2edc659 | ||
|
|
d7da465515 | ||
|
|
586092ce7b | ||
|
|
65bd18949d | ||
|
|
7948131c88 | ||
|
|
31f55cbd62 | ||
|
|
83f2e8d015 | ||
|
|
a19979051e | ||
|
|
ac04dfa3ec | ||
|
|
0dd42ece23 | ||
|
|
a6a64db317 | ||
|
|
d1785da461 | ||
|
|
d047abe378 | ||
|
|
d2002e9ec1 | ||
|
|
0f506f9d25 | ||
|
|
99afd73be7 | ||
|
|
c25a6a395b | ||
|
|
ee000b4bea | ||
|
|
a80455cf04 | ||
|
|
611678249c | ||
|
|
7a7b91fccb | ||
|
|
4b66eb0705 | ||
|
|
5cd8b585cc | ||
|
|
d51bbc5bea | ||
|
|
68e0f09e2c | ||
|
|
50ad0a317c | ||
|
|
2ca552eff8 | ||
|
|
f5dd985f63 | ||
|
|
d1bffaad72 | ||
|
|
96911956fd | ||
|
|
7fa4f6f085 | ||
|
|
713626cbd6 | ||
|
|
c4ab1f6ca4 | ||
|
|
2dffc06ed3 | ||
|
|
87f4220a2c | ||
|
|
31e21f7872 | ||
|
|
dc9412f041 | ||
|
|
dd0f9303fe | ||
|
|
6fe28f5005 | ||
|
|
85d02cc93b | ||
|
|
dc5f87d467 | ||
|
|
7e967b1f66 | ||
|
|
38376ad087 | ||
|
|
28ddaa01d3 | ||
|
|
f782ee9cd3 | ||
|
|
277e0e3cb9 | ||
|
|
489081954c | ||
|
|
3ec179a05d | ||
|
|
de8494df37 | ||
|
|
9ac8481770 | ||
|
|
bd2648a67b | ||
|
|
29bd97b25c | ||
|
|
41724ac2fb | ||
|
|
48c4a94fd8 | ||
|
|
d3bc4d4405 | ||
|
|
0bb162155d | ||
|
|
9762230292 | ||
|
|
a396c0eab7 | ||
|
|
79e65b9a45 | ||
|
|
218521ccda | ||
|
|
1c53abbf63 | ||
|
|
eec7b79ac2 | ||
|
|
a222dcd493 | ||
|
|
9908405b3b | ||
|
|
0e7d3445d0 | ||
|
|
c437348a41 | ||
|
|
c6c72837a3 | ||
|
|
b6ca3ec864 | ||
|
|
76c339e73e | ||
|
|
c0a4a67a71 | ||
|
|
e9c5d18bc6 | ||
|
|
655727eef2 | ||
|
|
354b8724c3 | ||
|
|
91c886f3ad | ||
|
|
0be12dfdc1 | ||
|
|
4d386da4aa | ||
|
|
df45834fe0 | ||
|
|
d873b64624 | ||
|
|
28de7e956f | ||
|
|
bee981a348 | ||
|
|
fd5edd2524 | ||
|
|
7542b351ce | ||
|
|
22cb3de37b | ||
|
|
47ba862258 | ||
|
|
e040e7490b | ||
|
|
2bde52b609 | ||
|
|
0c29d42dfb | ||
|
|
c908c1f453 | ||
|
|
03b1748e35 | ||
|
|
6f8718d27c | ||
|
|
52032717d3 | ||
|
|
7b73c87b5c | ||
|
|
fc3302b54a | ||
|
|
6b4fc85163 | ||
|
|
a0bc8c4dac | ||
|
|
da66b9b4bd | ||
|
|
c31206ff78 | ||
|
|
94e8f64f12 | ||
|
|
6467122c22 | ||
|
|
2907959e13 | ||
|
|
8454fbaa70 | ||
|
|
4e85d78c5a | ||
|
|
0668aa8a07 | ||
|
|
91099120ac | ||
|
|
be9c7ab79f | ||
|
|
396624cfb9 | ||
|
|
97a8eb49cb | ||
|
|
6949ffd446 | ||
|
|
3f7cc3eb02 | ||
|
|
28dedbd6de | ||
|
|
01685cc719 | ||
|
|
c56cc486af | ||
|
|
824565fc3f | ||
|
|
d6180afba3 | ||
|
|
2a7793733c | ||
|
|
d33c7ea336 | ||
|
|
ac9bee017e | ||
|
|
91d7ffa374 | ||
|
|
a0ab5dff70 | ||
|
|
7ddcdfa65a | ||
|
|
ae5a16791b | ||
|
|
194f304c22 | ||
|
|
c6e0ad65d7 | ||
|
|
22510cdfd2 | ||
|
|
db83f0b8ba | ||
|
|
838715a1af | ||
|
|
f9704e0d6f | ||
|
|
599d041a28 | ||
|
|
8a06a27d9c | ||
|
|
0ffe72b890 | ||
|
|
053fd91d52 | ||
|
|
cf63cc1051 | ||
|
|
c3afcf4e6c | ||
|
|
deb8e68a2c | ||
|
|
82e434597d | ||
|
|
764595b2b8 | ||
|
|
a063d8f61d | ||
|
|
88d0220b64 | ||
|
|
36a93bd8b5 | ||
|
|
6051b70bbb | ||
|
|
c2eed16d0c | ||
|
|
3dfd23d811 | ||
|
|
2d27c7d6b2 | ||
|
|
840495f829 | ||
|
|
6a931c6228 | ||
|
|
3390efbc80 | ||
|
|
8f6f8614fe | ||
|
|
7a28e471ee | ||
|
|
31ec452a95 | ||
|
|
6cd60e15b6 | ||
|
|
62f9fb4246 | ||
|
|
48cc5baf64 | ||
|
|
f97b5e20f6 | ||
|
|
b9c74ec5a7 | ||
|
|
30db61e96b | ||
|
|
b6e4f4ee49 | ||
|
|
858b653a36 | ||
|
|
d3c568d81c | ||
|
|
f63efba4e9 | ||
|
|
7305d58ddb | ||
|
|
ab5d0de1b2 | ||
|
|
3fc5343a9d | ||
|
|
d845c83825 | ||
|
|
f140ac6130 | ||
|
|
36a3754ef5 | ||
|
|
62808dc328 | ||
|
|
fc9d875d7d | ||
|
|
1d3f16f6e2 | ||
|
|
07e8421ff5 | ||
|
|
8bf437cc18 | ||
|
|
504ecccd10 | ||
|
|
cdf4232fe3 | ||
|
|
f9c44bc1a7 | ||
|
|
b48f83a18a | ||
|
|
83fd4f2512 | ||
|
|
25d93d8f5d | ||
|
|
0a6a5227b0 | ||
|
|
95d73fa77c | ||
|
|
54a59805e9 | ||
|
|
0395bd861e | ||
|
|
223d56c941 | ||
|
|
1551d41c00 | ||
|
|
d2ec4820bb | ||
|
|
83ef1f2ea9 | ||
|
|
e785d55863 | ||
|
|
9cef657fe5 | ||
|
|
fd9adcf9d9 | ||
|
|
d70dba550e | ||
|
|
c6c4c1d28c | ||
|
|
b468ea5268 | ||
|
|
dfa4e3c379 | ||
|
|
37349c0283 | ||
|
|
72c1be803a | ||
|
|
47c4ea69a2 | ||
|
|
100373f35d | ||
|
|
88204b129e | ||
|
|
f8a5187d8f | ||
|
|
61e22e3fbf | ||
|
|
6ef8ae7ccf | ||
|
|
8517c9f5bc | ||
|
|
317567c6b9 | ||
|
|
7632119b72 | ||
|
|
f00e2a4725 | ||
|
|
867c87d15f | ||
|
|
6d14b10631 | ||
|
|
836c93cf86 | ||
|
|
a7e572227b | ||
|
|
9a5e458bbf | ||
|
|
a71d87c068 | ||
|
|
754214b392 | ||
|
|
aaf8505086 | ||
|
|
495e881340 | ||
|
|
c04935c966 | ||
|
|
eb98edde75 | ||
|
|
da42dadf06 | ||
|
|
fe663e47df | ||
|
|
26ceb6b0de | ||
|
|
a057ebe290 | ||
|
|
61776baee6 | ||
|
|
243dfad2e2 | ||
|
|
6890f259c0 | ||
|
|
f98ac99f20 | ||
|
|
e673e34ace | ||
|
|
89667e7c26 | ||
|
|
272b25499a | ||
|
|
b5bd55fb25 | ||
|
|
3693ce9ada | ||
|
|
1f4132fe92 | ||
|
|
e7fbf32818 | ||
|
|
60eb2c36f0 | ||
|
|
1e4780f85c | ||
|
|
d4ac1fbed9 | ||
|
|
c161126e01 | ||
|
|
0e491dc521 |
8
.gitignore
vendored
8
.gitignore
vendored
@@ -9,15 +9,16 @@
|
||||
# prebuild target binarys to provide
|
||||
/target/
|
||||
|
||||
# scripts for getting and packing source packages
|
||||
/tools/mkpkg/*
|
||||
!/tools/mkpkg/mkpkg_*
|
||||
|
||||
# mkpkg temp
|
||||
mkpkg-temp
|
||||
|
||||
# private working directory
|
||||
/.work/
|
||||
|
||||
# dedicated filesystem
|
||||
/lost+found/
|
||||
|
||||
# symlinks...
|
||||
/sources
|
||||
/.work
|
||||
@@ -30,4 +31,3 @@ mkpkg-temp
|
||||
|
||||
# crap
|
||||
.DS_Store
|
||||
.directory
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
### Questions about LibreELEC?
|
||||
|
||||
To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
|
||||
\#libreelec on freenode.net.
|
||||
\#libreelec on freenode.net, or [webchat].
|
||||
|
||||
Do not open an issue.
|
||||
|
||||
@@ -104,7 +104,8 @@ Please follow this process; it's the best way to get your work included in the p
|
||||
- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
|
||||
clear title and description.
|
||||
|
||||
[Forum]: https://forum.libreelec.tv/
|
||||
[Forum]: http://libreelec.tv/forum
|
||||
[issue]: https://github.com/LibreELEC/LibreELEC.tv/issues
|
||||
[logfiles]: https://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
|
||||
[webchat]: http://libreelec.tv/support/chat
|
||||
[logfiles]: http://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
|
||||
[similar issue]: https://github.com/LibreELEC/LibreELEC.tv/search?&ref=cmdform&type=Issues
|
||||
|
||||
2
Makefile
2
Makefile
@@ -24,4 +24,4 @@ distclean:
|
||||
rm -rf ./.ccache ./$(BUILD_DIRS)
|
||||
|
||||
src-pkg:
|
||||
tar cvJf sources.tar.xz sources .stamps
|
||||
tar cvjf sources.tar.bz2 sources .stamps
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# LibreELEC
|
||||
|
||||
LibreELEC is a 'Just enough OS' Linux distribution for running the award-winning [Kodi](https://kodi.tv) software on popular mediacentre hardware. LibreELEC is a conservative fork of the popular [OpenELEC](http://openelec.tv) project with a stronger focus on pre-release testing and post-release change management. Further information on the project can be found on the [LibreELEC website](https://libreelec.tv).
|
||||
LibreELEC is a 'Just enough OS' Linux distribution for running the award-winning [Kodi](http://kodi.tv) software on popular mediacentre hardware. LibreELEC is a conservative fork of the popular [OpenELEC](http://openelec.tv) project with a stronger focus on pre-release testing and post-release change management. Further information on the project can be found on the [LibreELEC website](https://libreelec.tv).
|
||||
|
||||
**Issues & Support**
|
||||
|
||||
Please report issues via the [LibreELEC forum: Bug Reports](https://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](https://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Freenode.
|
||||
Please report issues via the [LibreELEC forum: Bug Reports](http://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](http://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Freenode.
|
||||
|
||||
**Donations**
|
||||
|
||||
@@ -12,8 +12,8 @@ Contributions towards current project funding goals can be sent via PayPal to do
|
||||
|
||||
**License**
|
||||
|
||||
LibreELEC original code is released under [GPLv2](https://www.gnu.org/licenses/gpl-2.0.html).
|
||||
LibreELEC original code is released under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html).
|
||||
|
||||
**Copyright**
|
||||
|
||||
As LibreELEC includes code from many upstream projects it includes many copyright owners. LibreELEC makes NO claim of copyright on any upstream code. However all original LibreELEC authored code is copyright LibreELEC.tv. Patches to upstream code have the same license as the upstream project, unless specified otherwise. For a complete copyright list please checkout the source code to examine license headers. Unless expressly stated otherwise all code submitted to the LibreELEC project (in any form) is licensed under [GPLv2](https://www.gnu.org/licenses/gpl-2.0.html) and copyright is donated to LibreELEC.tv. This approach allows the project to stay manageable in the long term by giving us freedom to maintain the code as part of the whole without the management overhead of preserving contact with every submitter, e.g. GPLv3. You are absolutely free to retain copyright. To retain copyright simply add a copyright header to each submitted code page. If you submit code that is not your own work it is your responsibility to place a header stating the copyright.
|
||||
As LibreELEC includes code from many upstream projects it includes many copyright owners. LibreELEC makes NO claim of copyright on any upstream code. However all original LibreELEC authored code is copyright LibreELEC.tv. For a complete copyright list please checkout the source code to examine license headers. Unless expressly stated otherwise all code submitted to the LibreELEC project (in any form) is licensed under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html) and copyright is donated to LibreELEC.tv. This approach allows the project to stay manageable in the long term by giving us freedom to maintain the code as part of the whole without the management overhead of preserving contact with every submitter, e.g. GPLv3. You are absolutely free to retain copyright. To retain copyright simply add a copyright header to each submitted code page. If you submit code that is not your own work it is your responsibility to place a header stating the copyright.
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="@PKG_ADDON_ID@"
|
||||
name="@ADDON_NAME@"
|
||||
version="@ADDON_VERSION@"
|
||||
provider-name="@PROVIDER_NAME@">
|
||||
<requires>
|
||||
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
|
||||
<import addon="xbmc.python" version="2.1.0"/>
|
||||
@REQUIRES@
|
||||
</requires>
|
||||
<extension point="xbmc.service" library="default.py">
|
||||
<provides>@PKG_ADDON_PROVIDES@</provides>
|
||||
</extension>
|
||||
<extension point="xbmc.addon.metadata">
|
||||
<summary>@PKG_SHORTDESC@</summary>
|
||||
<description>
|
||||
@PKG_LONGDESC@
|
||||
</description>
|
||||
<disclaimer>
|
||||
@PKG_DISCLAIMER@
|
||||
</disclaimer>
|
||||
<broken>
|
||||
@PKG_ADDON_BROKEN@
|
||||
</broken>
|
||||
<platform>all</platform>
|
||||
<news>
|
||||
@PKG_ADDON_NEWS@
|
||||
</news>
|
||||
<assets>
|
||||
<icon>resources/icon.png</icon>
|
||||
<fanart>resources/fanart.png</fanart>
|
||||
@PKG_ADDON_SCREENSHOT@
|
||||
</assets>
|
||||
</extension>
|
||||
</addon>
|
||||
@@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="@PKG_ADDON_ID@"
|
||||
name="@ADDON_NAME@"
|
||||
version="@ADDON_VERSION@"
|
||||
provider-name="@PROVIDER_NAME@">
|
||||
<requires>
|
||||
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
|
||||
<import addon="xbmc.python" version="2.1.0"/>
|
||||
@REQUIRES@
|
||||
</requires>
|
||||
<extension point="xbmc.service" library="default.py">
|
||||
<provides>@PKG_ADDON_PROVIDES@</provides>
|
||||
</extension>
|
||||
<extension point="xbmc.python.library" library="addon.py">
|
||||
<provides></provides>
|
||||
</extension>
|
||||
<extension point="xbmc.addon.metadata">
|
||||
<summary>@PKG_SHORTDESC@</summary>
|
||||
<description>
|
||||
@PKG_LONGDESC@
|
||||
</description>
|
||||
<disclaimer>
|
||||
@PKG_DISCLAIMER@
|
||||
</disclaimer>
|
||||
<platform>all</platform>
|
||||
<news>
|
||||
@PKG_ADDON_NEWS@
|
||||
</news>
|
||||
<assets>
|
||||
<icon>resources/icon.png</icon>
|
||||
<fanart>resources/fanart.png</fanart>
|
||||
@PKG_ADDON_SCREENSHOT@
|
||||
</assets>
|
||||
</extension>
|
||||
</addon>
|
||||
@@ -15,7 +15,7 @@
|
||||
TARGET_VARIANT=armv8-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}${TARGET_CPU_FLAGS}"
|
||||
TARGET_FEATURES+=" neon"
|
||||
SIMD_SUPPORT="yes"
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
TARGET_KERNEL_ARCH=arm64
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi -mtune=$TARGET_CPU $TARGET_EXTRA_FLAGS"
|
||||
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi $TARGET_EXTRA_FLAGS"
|
||||
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
|
||||
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"
|
||||
|
||||
@@ -29,36 +29,29 @@
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
|
||||
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
|
||||
SIMD_SUPPORT="no"
|
||||
;;
|
||||
cortex-a7|cortex-a15|cortex-a17|cortex-a15.cortex-a7|cortex-a17.cortex-a7)
|
||||
cortex-a7|cortex-a15|cortex-a15.cortex-a7|cortex-a17.cortex-a7)
|
||||
TARGET_SUBARCH=armv7ve
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
|
||||
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
|
||||
TARGET_FEATURES+=" neon"
|
||||
SIMD_SUPPORT="yes"
|
||||
;;
|
||||
cortex-a5|cortex-a8|cortex-a9)
|
||||
TARGET_SUBARCH=armv7-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
|
||||
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
|
||||
TARGET_FEATURES+=" neon"
|
||||
;;
|
||||
cortex-a53|cortex-a72.cortex-a53)
|
||||
TARGET_SUBARCH=armv8-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}"
|
||||
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
|
||||
TARGET_FEATURES+=" neon"
|
||||
SIMD_SUPPORT="yes"
|
||||
;;
|
||||
esac
|
||||
|
||||
TARGET_VARIANT="${TARGET_SUBARCH}${TARGET_CPU_FLAGS}"
|
||||
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
|
||||
TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm}
|
||||
TARGET_KERNEL_ARCH=arm
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated $TARGET_EXTRA_FLAGS"
|
||||
TARGET_CFLAGS="-march=$TARGET_SUBARCH -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated $TARGET_EXTRA_FLAGS"
|
||||
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS $TARGET_FPU_FLAGS"
|
||||
TARGET_LDFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU"
|
||||
TARGET_LDFLAGS="-march=$TARGET_SUBARCH -mtune=$TARGET_CPU"
|
||||
GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
# determine architecture's family
|
||||
TARGET_SUBARCH=x86_64
|
||||
|
||||
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
|
||||
TARGET_GCC_ARCH=$(echo $TARGET_SUBARCH | sed -e "s,-,,")
|
||||
TARGET_KERNEL_ARCH=x86
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=$TARGET_CPU -m64 -mmmx -msse -msse2 -mfpmath=sse"
|
||||
TARGET_CFLAGS="-march=$TARGET_CPU -m64"
|
||||
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
|
||||
|
||||
# build with SIMD support ( yes / no )
|
||||
TARGET_FEATURES+=" mmx sse sse2"
|
||||
SIMD_SUPPORT="yes"
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="@NAME@"
|
||||
PKG_VERSION="@VERSION@" # Update bin/docker.@NAME@ accordingly
|
||||
|
||||
@@ -1,7 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
name="$(basename $0)"
|
||||
. /etc/profile
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
import subprocess
|
||||
import xbmc
|
||||
|
||||
1414
config/functions
1414
config/functions
File diff suppressed because it is too large
Load Diff
151
config/graphic
151
config/graphic
@@ -11,112 +11,71 @@ else
|
||||
fi
|
||||
|
||||
get_graphicdrivers() {
|
||||
|
||||
# set defaults
|
||||
GALLIUM_DRIVERS=""
|
||||
DRI_DRIVERS=""
|
||||
XORG_DRIVERS=""
|
||||
LLVM_SUPPORT="no"
|
||||
COMPOSITE_SUPPORT="no"
|
||||
VDPAU_SUPPORT="no"
|
||||
VAAPI_SUPPORT="no"
|
||||
V4L2_SUPPORT="no"
|
||||
|
||||
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
|
||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
|
||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nvidia vmware virtualbox"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "i915"; then
|
||||
DRI_DRIVERS="$DRI_DRIVERS,i915"
|
||||
XORG_DRIVERS="$XORG_DRIVERS intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
for drv in $GRAPHIC_DRIVERS; do
|
||||
if [ "$drv" = "i915" ]; then
|
||||
DRI_DRIVERS="$DRI_DRIVERS,i915"
|
||||
XORG_DRIVERS="$XORG_DRIVERS intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "i965"; then
|
||||
DRI_DRIVERS="$DRI_DRIVERS,i965"
|
||||
XORG_DRIVERS="$XORG_DRIVERS intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "i965" ]; then
|
||||
DRI_DRIVERS="$DRI_DRIVERS,i965"
|
||||
XORG_DRIVERS="$XORG_DRIVERS intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "nvidia"; then
|
||||
XORG_DRIVERS="$XORG_DRIVERS nvidia"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "nvidia" ]; then
|
||||
XORG_DRIVERS="$XORG_DRIVERS nvidia"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "nvidia-legacy"; then
|
||||
XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "nvidia-legacy" ]; then
|
||||
XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "r200"; then
|
||||
DRI_DRIVERS="$DRI_DRIVERS,r200"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "r200" ]; then
|
||||
DRI_DRIVERS="$DRI_DRIVERS,r200"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "r300"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r300"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||
LLVM_SUPPORT="yes"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "r300" ]; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r300"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||
LLVM_SUPPORT="yes"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "r600"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r600"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||
LLVM_SUPPORT="yes"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VDPAU_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "r600" ]; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r600"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||
LLVM_SUPPORT="yes"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "radeonsi"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,radeonsi"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati amdgpu"
|
||||
LLVM_SUPPORT="yes"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VDPAU_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "radeonsi" ]; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,radeonsi"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati amdgpu"
|
||||
LLVM_SUPPORT="yes"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "vmware"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
|
||||
XORG_DRIVERS="$XORG_DRIVERS vmware"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
fi
|
||||
if [ "$drv" = "vmware" ]; then
|
||||
DRI_DRIVERS="$DRI_DRIVERS,swrast"
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
|
||||
XORG_DRIVERS="$XORG_DRIVERS vmware"
|
||||
# LLVM_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "virtio"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,virgl"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "vc4"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,vc4"
|
||||
V4L2_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="no"
|
||||
VDPAU_SUPPORT="no"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "freedreno"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,freedreno"
|
||||
V4L2_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="no"
|
||||
VDPAU_SUPPORT="no"
|
||||
fi
|
||||
|
||||
if listcontains "$GRAPHIC_DRIVERS" "etnaviv"; then
|
||||
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,etnaviv,imx"
|
||||
V4L2_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="no"
|
||||
VDPAU_SUPPORT="no"
|
||||
fi
|
||||
|
||||
# remove leading comma if present
|
||||
[[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}"
|
||||
[[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"
|
||||
|
||||
# remove duplicate entries
|
||||
XORG_DRIVERS="$(echo $XORG_DRIVERS | xargs -n1 | sort -u | xargs)"
|
||||
done
|
||||
}
|
||||
|
||||
@@ -1,7 +1,21 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
MOUNTPOINT="/tmp/LibreELEC-System"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"partitions": [
|
||||
{
|
||||
"label": "System",
|
||||
"label": "@DISTRONAME@_@PROJECT@_System",
|
||||
"filesystem_type": "FAT",
|
||||
"partition_size_nominal": @SYSTEM_SIZE@,
|
||||
"want_maximised": false,
|
||||
@@ -9,7 +9,7 @@
|
||||
"mkfs_options": ""
|
||||
},
|
||||
{
|
||||
"label": "Storage",
|
||||
"label": "@DISTRONAME@_@PROJECT@_Storage",
|
||||
"filesystem_type": "ext4",
|
||||
"partition_size_nominal": 512,
|
||||
"want_maximised": true,
|
||||
|
||||
108
config/optimize
108
config/optimize
@@ -1,8 +1,16 @@
|
||||
GCC_OPTIM="-Os"
|
||||
# Linker hash-style is set to gnu via gcc default
|
||||
LD_OPTIM="-Wl,--as-needed"
|
||||
|
||||
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
|
||||
if [ "$LTO_SUPPORT" = yes ];then
|
||||
GCC_OPTIM_LTO="-flto -ffat-lto-objects"
|
||||
LD_OPTIM_LTO="-fuse-linker-plugin -flto"
|
||||
fi
|
||||
|
||||
if [ "$GOLD_SUPPORT" = yes ];then
|
||||
LD_OPTIM_GOLD="-fuse-ld=gold"
|
||||
fi
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -ggdb"
|
||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -ggdb"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -ggdb"
|
||||
@@ -12,84 +20,54 @@ else
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS"
|
||||
fi
|
||||
|
||||
NINJA_OPTS=""
|
||||
|
||||
TARGET_CPPFLAGS=""
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $PROJECT_CFLAGS"
|
||||
TARGET_CPPFLAGS=
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $GCC_OPTIM_LTO $PROJECT_CFLAGS"
|
||||
TARGET_CXXFLAGS="$TARGET_CFLAGS"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM $LD_OPTIM_GOLD $LD_OPTIM_LTO"
|
||||
TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
|
||||
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"
|
||||
|
||||
HOST_CPPFLAGS=""
|
||||
HOST_CFLAGS="-march=native -O2 -Wall -pipe -I$TOOLCHAIN/include"
|
||||
HOST_CFLAGS="-O2 -Wall -pipe -I$ROOT/$TOOLCHAIN/include"
|
||||
HOST_CXXFLAGS="$HOST_CFLAGS"
|
||||
HOST_LDFLAGS="-Wl,-rpath,$TOOLCHAIN/lib -L$TOOLCHAIN/lib"
|
||||
HOST_INCDIR="$TOOLCHAIN/include /usr/include"
|
||||
HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
|
||||
HOST_LIBDIR="$ROOT/$TOOLCHAIN/lib"
|
||||
|
||||
# work around Ubuntu default C*FLAGS
|
||||
# see https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
|
||||
HOST_CFLAGS="$HOST_CFLAGS -Wno-format-security"
|
||||
HOST_CXXFLAGS="$HOST_CXXFLAGS -Wno-format-security"
|
||||
|
||||
# lto flags
|
||||
FLAGS_OPTIM_LTO_NO_PARALLEL="-flto"
|
||||
FLAGS_OPTIM_LTO_PARALLEL="-flto=${CONCURRENCY_MAKE_LEVEL}"
|
||||
FLAGS_OPTIM_LTO_NO_FAT="-fno-fat-lto-objects"
|
||||
FLAGS_OPTIM_LTO_FAT="-ffat-lto-objects"
|
||||
FLAGS_OPTIM_LTO_OFF="-fno-lto"
|
||||
LDFLAGS_OPTIM_LTO_COMMON="-fuse-linker-plugin"
|
||||
|
||||
# gold flags
|
||||
LDFLAGS_OPTIM_GOLD="-fuse-ld=gold"
|
||||
|
||||
# position-independent code
|
||||
CFLAGS_OPTIM_PIC="-fPIC -DPIC"
|
||||
CXXFLAGS_OPTIM_PIC="-fPIC -DPIC"
|
||||
LDFLAGS_OPTIM_PIC="-fPIC"
|
||||
|
||||
# hardening support
|
||||
# TODO: basiclly copied from debian 9, should adjust for LE
|
||||
CFLAGS_OPTIM_HARDENING="-fstack-protector-strong -Wformat -Werror=format-security -fPIE"
|
||||
CXXFLAGS_OPTIM_HARDENING="-fstack-protector-strong -Wformat -Werror=format-security -fPIE"
|
||||
CPPFLAGS_OPTIM_HARDENING="-D_FORTIFY_SOURCE=2"
|
||||
LDFLAGS_OPTIM_HARDENING="-Wl,-z,relro -Wl,-z,now"
|
||||
|
||||
# add distro specific library dirs
|
||||
if [ -z "$HOST_LIBDIR" ]; then
|
||||
HOST_LIBDIR="$TOOLCHAIN/lib"
|
||||
|
||||
# ubuntu/debian specific "multiarch support"
|
||||
export MACHINE_HARDWARE_NAME="$(uname -m)"
|
||||
export MACHINE_HARDWARE_PLATFORM="$(uname -i)"
|
||||
FAMILY_TRIPLET=${HOST_NAME/${MACHINE_HARDWARE_NAME}/${MACHINE_HARDWARE_PLATFORM}}
|
||||
if [ -d /lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
FAMILY_TRIPLET=$(echo $HOST_NAME | sed -e "s,$(uname -m),$(uname -i),")
|
||||
if [ -d /lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
|
||||
# default multiarch support
|
||||
case "${MACHINE_HARDWARE_NAME}" in
|
||||
i*86)
|
||||
if [ -d /lib32 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib32"
|
||||
fi
|
||||
if [ -d /usr/lib32 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib32"
|
||||
fi
|
||||
;;
|
||||
x86_64)
|
||||
if [ -d /lib64 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib64"
|
||||
fi
|
||||
if [ -d /usr/lib64 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib64"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
case "`uname -m`" in
|
||||
i*86)
|
||||
if [ -d /lib32 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib32"
|
||||
fi
|
||||
if [ -d /usr/lib32 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib32"
|
||||
fi
|
||||
;;
|
||||
x86_64)
|
||||
if [ -d /lib64 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib64"
|
||||
fi
|
||||
if [ -d /usr/lib64 ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib64"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# default dirs
|
||||
export HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
|
||||
fi
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
|
||||
HOST_INCDIR="$ROOT/$TOOLCHAIN/include /usr/include"
|
||||
|
||||
134
config/options
134
config/options
@@ -1,74 +1,81 @@
|
||||
# Do not build as root. Ever.
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
echo "Building as the root user is NOT supported. Use a regular user account for the build." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set default language for buildsystem
|
||||
export LC_ALL=C
|
||||
|
||||
# set default independent variables
|
||||
ROOT="${PWD}"
|
||||
DISTRO_DIR="${ROOT}/distributions"
|
||||
PROJECT_DIR="${ROOT}/projects"
|
||||
export LC_ALL=C
|
||||
|
||||
# determines DISTRO, if not forced by user
|
||||
DISTRO="${DISTRO:-LibreELEC}"
|
||||
# default is LibreELEC
|
||||
if [ -z "$DISTRO" ]; then
|
||||
DISTRO="LibreELEC"
|
||||
else
|
||||
DISTRO="$DISTRO"
|
||||
fi
|
||||
|
||||
# determines PROJECT, if not forced by user
|
||||
PROJECT="${PROJECT:-Generic}"
|
||||
|
||||
# determines TARGET_ARCH, if not forced by user
|
||||
ARCH="${ARCH:-x86_64}"
|
||||
TARGET_ARCH="${ARCH}"
|
||||
|
||||
# include helper functions
|
||||
. config/functions
|
||||
|
||||
# read DISTRO version information
|
||||
. "${DISTRO_DIR}/${DISTRO}/version" || die "\nERROR: No distro version present\n"
|
||||
|
||||
# read DISTRO options if available
|
||||
if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then
|
||||
. "${DISTRO_DIR}/${DISTRO}/options"
|
||||
# default is Generic
|
||||
if [ -z "$PROJECT" ]; then
|
||||
PROJECT="Generic"
|
||||
else
|
||||
PROJECT="$PROJECT"
|
||||
fi
|
||||
|
||||
# read PROJECT options if available
|
||||
if [ -f "${PROJECT_DIR}/${PROJECT}/options" ]; then
|
||||
. "${PROJECT_DIR}/${PROJECT}/options"
|
||||
# determines TARGET_ARCH, if not forced by user (x86_64 / arm)
|
||||
# default is x86_64
|
||||
if [ -z "$ARCH" ]; then
|
||||
TARGET_ARCH="x86_64"
|
||||
else
|
||||
TARGET_ARCH="$ARCH"
|
||||
fi
|
||||
|
||||
# read DEVICE options if available
|
||||
if [ -f "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options" ]; then
|
||||
. "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options"
|
||||
fi
|
||||
ROOT=`pwd`
|
||||
DISTRO_DIR="$ROOT/distributions"
|
||||
PROJECT_DIR="$ROOT/projects"
|
||||
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $PROJECT_DIR/$PROJECT/devices/$DEVICE/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk"
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && LINUX_DEPENDS+=" $ROOT/packages/linux-firmware/intel-ucode/package.mk $ROOT/packages/linux-firmware/x86-firmware/package.mk"
|
||||
|
||||
# projects can set KERNEL_NAME (kernel.img)
|
||||
KERNEL_NAME="${KERNEL_NAME:-KERNEL}"
|
||||
# include versioning
|
||||
. config/version
|
||||
|
||||
LINUX_DEPENDS="${PROJECT_DIR}/${PROJECT}/linux ${PROJECT_DIR}/${PROJECT}/patches/linux ${PROJECT_DIR}/${PROJECT}/packages/linux ${ROOT}/packages/linux"
|
||||
[ -n "${DEVICE}" ] && LINUX_DEPENDS+=" ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/patches/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/packages/linux"
|
||||
[ "${TARGET_ARCH}" = "x86_64" ] && LINUX_DEPENDS+=" ${ROOT}/packages/linux-firmware/intel-ucode ${ROOT}/packages/linux-firmware/kernel-firmware"
|
||||
# read distro versioning if available
|
||||
if [ -f "$DISTRO_DIR/$DISTRO/version" ]; then
|
||||
. $DISTRO_DIR/$DISTRO/version
|
||||
fi
|
||||
|
||||
# read distro options if available
|
||||
if [ -f "$DISTRO_DIR/$DISTRO/options" ]; then
|
||||
. $DISTRO_DIR/$DISTRO/options
|
||||
fi
|
||||
|
||||
# read project options if available
|
||||
if [ -f "$PROJECT_DIR/$PROJECT/options" ]; then
|
||||
. $PROJECT_DIR/$PROJECT/options
|
||||
fi
|
||||
|
||||
# read board options if available
|
||||
if [ -f "$PROJECT_DIR/$PROJECT/devices/$DEVICE/options" ]; then
|
||||
. $PROJECT_DIR/$PROJECT/devices/$DEVICE/options
|
||||
fi
|
||||
|
||||
# Need to point to your actual cc
|
||||
# If you have ccache installed, take care that LOCAL_CC does not point to it
|
||||
[ -z "${LOCAL_CC}" ] && export LOCAL_CC="$(command -v gcc)"
|
||||
# If you have ccache installed, take care that LOCAL_CC don't point to it
|
||||
LOCAL_CC=`which gcc`
|
||||
|
||||
if [ -z "${LOCAL_CC}" ]; then
|
||||
die "***** Please install gcc *****" "127"
|
||||
if [ -z "$LOCAL_CC" ] ; then
|
||||
echo "***** Please install gcc *****"
|
||||
exit 127
|
||||
fi
|
||||
|
||||
# Need to point to your actual g++
|
||||
# If you have ccache installed, take care that LOCAL_CXX does not point to it
|
||||
[ -z "${LOCAL_CXX}" ] && export LOCAL_CXX="$(command -v g++)"
|
||||
# If you have ccache installed, take care that LOCAL_CXX don't point to it
|
||||
LOCAL_CXX=`which g++`
|
||||
|
||||
# verbose compilation mode (yes/no)
|
||||
VERBOSE="${VERBOSE:-yes}"
|
||||
VERBOSE="yes"
|
||||
|
||||
# Concurrency make level (-j option)
|
||||
# Try values between 1 and number of processor cores present.
|
||||
# default: use all cores
|
||||
[ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(nproc)
|
||||
# Try value 1 (default) to 4 on single CPU computer, or more on
|
||||
# multi-processor computer (like hyperthreading SMP CPU)
|
||||
if test -z "${CONCURRENCY_MAKE_LEVEL}"; then
|
||||
CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
|
||||
fi
|
||||
|
||||
# cache size for ccache
|
||||
# Set the maximum size of the files stored in the cache. You can specify a
|
||||
@@ -76,27 +83,22 @@ VERBOSE="${VERBOSE:-yes}"
|
||||
# value. The default is gigabytes. The actual value stored is rounded down to
|
||||
# the nearest multiple of 16 kilobytes. Keep in mind this per project .ccache
|
||||
# directory.
|
||||
CCACHE_CACHE_SIZE="10G"
|
||||
CCACHE_CACHE_SIZE="10G"
|
||||
|
||||
# read options from $HOME if available
|
||||
if [ -f "${HOME}/.libreelec/options" ]; then
|
||||
. "${HOME}/.libreelec/options"
|
||||
fi
|
||||
if [ -f "$HOME/.libreelec/options" ]; then
|
||||
. $HOME/.libreelec/options
|
||||
fi
|
||||
|
||||
# install devtools on development builds
|
||||
if [ -z "$DEVTOOLS" -a "$LIBREELEC_VERSION" = "devel" ]; then
|
||||
DEVTOOLS=yes
|
||||
fi
|
||||
|
||||
# overwrite OEM_SUPPORT via commandline
|
||||
if [ "${OEM}" = "yes" -o "${OEM}" = "no" ]; then
|
||||
OEM_SUPPORT="${OEM}"
|
||||
if [ "$OEM" = yes -o "$OEM" = no ]; then
|
||||
OEM_SUPPORT=$OEM
|
||||
fi
|
||||
|
||||
check_config
|
||||
|
||||
. config/graphic
|
||||
. config/path $1
|
||||
|
||||
## package processing
|
||||
|
||||
# If the package caches are unset, then populate them
|
||||
init_package_cache
|
||||
|
||||
# set package metadata
|
||||
source_package "${1}"
|
||||
|
||||
217
config/path
217
config/path
@@ -1,15 +1,14 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
set -e
|
||||
|
||||
. config/functions
|
||||
|
||||
# setup initial directorys (relative to root)
|
||||
CONFIG=config
|
||||
SCRIPTS=scripts
|
||||
PACKAGES=packages
|
||||
SOURCES=${SOURCES_DIR:-$ROOT/sources}
|
||||
SOURCES=sources
|
||||
BUILD_BASE=build
|
||||
TARGET_IMG=${TARGET_DIR:-$ROOT/target}
|
||||
TARGET=target
|
||||
ADDONS=addons
|
||||
|
||||
# include ARCH specific options
|
||||
@@ -17,18 +16,26 @@ set -e
|
||||
. config/arch.$TARGET_ARCH
|
||||
fi
|
||||
|
||||
[ -z "${HOST_NAME}" ] && export HOST_NAME="$($LOCAL_CC -dumpmachine)"
|
||||
HOST_NAME=`$LOCAL_CC -dumpmachine`
|
||||
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
|
||||
|
||||
BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$LIBREELEC_VERSION
|
||||
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
|
||||
BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
|
||||
if [ -n "$DEVICE" ]; then
|
||||
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$LIBREELEC_VERSION
|
||||
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
|
||||
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
|
||||
fi
|
||||
else
|
||||
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION
|
||||
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
|
||||
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$BUILD_SUFFIX" ]; then
|
||||
BUILD=$BUILD-$BUILD_SUFFIX
|
||||
fi
|
||||
|
||||
TARGET_IMG=$ROOT/$TARGET
|
||||
TARGET_ADDONS="$TARGET_IMG/$ADDONS/$ADDON_PATH"
|
||||
ADDON_BUILD="$BUILD/$ADDONS/$1"
|
||||
STAMPS_NOARCH=.stamps
|
||||
@@ -36,21 +43,11 @@ STAMPS=$BUILD/.stamps
|
||||
STAMPS_INSTALL=$BUILD/image/.stamps
|
||||
DOCS=DOCS
|
||||
TOOLCHAIN=$BUILD/toolchain
|
||||
SYSROOT_PREFIX=$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||
LIB_PREFIX=$SYSROOT_PREFIX/usr
|
||||
TARGET_PREFIX=$TOOLCHAIN/bin/$TARGET_NAME-
|
||||
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
||||
|
||||
# use linaro toolchain on 64/32 split builds
|
||||
if [ -z "$KERNEL_LINARO_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
|
||||
KERNEL_LINARO_TOOLCHAIN="aarch64-linux-gnu"
|
||||
fi
|
||||
if [ -n "$KERNEL_LINARO_TOOLCHAIN" ]; then
|
||||
TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-linaro-$KERNEL_LINARO_TOOLCHAIN/bin/$KERNEL_LINARO_TOOLCHAIN-
|
||||
else
|
||||
TARGET_KERNEL_PREFIX=$TARGET_PREFIX
|
||||
fi
|
||||
|
||||
FAKEROOT_SCRIPT=$BUILD/.fakeroot
|
||||
FAKEROOT_SCRIPT=$ROOT/.fakeroot.$BUILD
|
||||
|
||||
if [ -z "$INSTALL" ]; then
|
||||
INSTALL=$BUILD/image/system
|
||||
@@ -59,8 +56,126 @@ INSTALL_INIT=$BUILD/image/initramfs/root-image
|
||||
|
||||
. config/sources
|
||||
|
||||
MAKE="$TOOLCHAIN/bin/make"
|
||||
MAKEINSTALL="$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
|
||||
MAKE="$ROOT/$TOOLCHAIN/bin/make"
|
||||
MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
|
||||
SED="sed -i"
|
||||
|
||||
# set package metadata
|
||||
PKG_NAME="$1"
|
||||
PKG_VERSION="0.0invalid"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="unknown"
|
||||
PKG_SITE=""
|
||||
PKG_URL=""
|
||||
PKG_SOURCE_NAME=""
|
||||
PKG_SOURCE_DIR=""
|
||||
PKG_DEPENDS_TARGET=""
|
||||
PKG_DEPENDS_HOST=""
|
||||
PKG_DEPENDS_INIT=""
|
||||
PKG_DEPENDS_BOOTSTRAP=""
|
||||
PKG_SECTION=""
|
||||
PKG_SHORTDESC="$1 (autogenerated)"
|
||||
PKG_LONGDESC=""
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_PATCH_DIRS=""
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
_PKG_ROOT_NAME=${1%:*}
|
||||
_ALL_DIRS=""
|
||||
_FOUND=0
|
||||
_ANCHOR="@?+?@"
|
||||
PKG_DIR=""
|
||||
|
||||
# If the package caches are unset, then populate them
|
||||
if [ -z "${_CACHE_PACKAGE_LOCAL+x}" -o -z "${_CACHE_PACKAGE_GLOBAL+x}" ]; then
|
||||
_CACHE_PACKAGE_LOCAL=""
|
||||
_CACHE_PACKAGE_GLOBAL=""
|
||||
|
||||
# cache project folder for a package
|
||||
for DIR in $(find $ROOT/projects/$PROJECT/packages -type d 2>/dev/null); do
|
||||
[ -r "$DIR/package.mk" ] && _CACHE_PACKAGE_LOCAL+="${DIR}${_ANCHOR}\n"
|
||||
done
|
||||
|
||||
# cache packages folder
|
||||
for DIR in $(find $ROOT/$PACKAGES -type d 2>/dev/null); do
|
||||
[ -r "$DIR/package.mk" ] && _CACHE_PACKAGE_GLOBAL+="${DIR}${_ANCHOR}\n"
|
||||
done
|
||||
|
||||
export _CACHE_PACKAGE_LOCAL _CACHE_PACKAGE_GLOBAL
|
||||
fi
|
||||
|
||||
# Check for any available local package in preference to a global package
|
||||
for DIR in $(echo -e "${_CACHE_PACKAGE_LOCAL}" | grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}"); do
|
||||
DIR="${DIR%${_ANCHOR}}"
|
||||
# found first, set $PKG_DIR
|
||||
PKG_DIR="$DIR"
|
||||
# keep track of dirs with package.mk for detecting multiple folders
|
||||
_ALL_DIRS+="${DIR}\n"
|
||||
_FOUND=$((_FOUND+1))
|
||||
done
|
||||
|
||||
# If there's no local package available, use the global package
|
||||
if [ $_FOUND -eq 0 ]; then
|
||||
for DIR in $(echo -e "${_CACHE_PACKAGE_GLOBAL}" | grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}"); do
|
||||
DIR="${DIR%${_ANCHOR}}"
|
||||
# found first, set $PKG_DIR
|
||||
PKG_DIR="$DIR"
|
||||
# keep track of dirs with package.mk for detecting multiple folders
|
||||
_ALL_DIRS+="${DIR}\n"
|
||||
_FOUND=$((_FOUND+1))
|
||||
done
|
||||
fi
|
||||
|
||||
# _FOUND multiple packages? fail
|
||||
if [ $_FOUND -gt 1 ]; then
|
||||
echo "Error - multiple package folders:"
|
||||
echo -e "$_ALL_DIRS"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ]; then
|
||||
. $PKG_DIR/package.mk
|
||||
fi
|
||||
|
||||
if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
||||
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME"
|
||||
fi
|
||||
|
||||
# Automatically set PKG_SOURCE_NAME unless it is already defined.
|
||||
# PKG_SOURCE_NAME will be automatically set to a name based on
|
||||
# the $PKG_NAME-$PKG_VERSION convention.
|
||||
#
|
||||
# Any $PKG_URL that references more than a single url will abort
|
||||
# the build as these are no longer supported - use mkpkg instead.
|
||||
if [ -n "$PKG_URL" -a -z "$PKG_SOURCE_NAME" ]; then
|
||||
if [[ $PKG_URL =~ .*\ .* ]]; then
|
||||
echo "Error - packages with multiple urls are no longer supported, use mkpkg:"
|
||||
echo "$PKG_URL"
|
||||
exit 1
|
||||
fi
|
||||
PKG_SOURCE_NAME="$(basename "$PKG_URL")"
|
||||
case $PKG_SOURCE_NAME in
|
||||
${PKG_NAME}-${PKG_VERSION}.*)
|
||||
PKG_SOURCE_NAME=$PKG_SOURCE_NAME
|
||||
;;
|
||||
*.tar | *.tbz | *.tgz | *.txz | *.7z | *.zip)
|
||||
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
|
||||
;;
|
||||
*.tar.bz2 | *.tar.gz | *.tar.xz)
|
||||
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.tar.${PKG_SOURCE_NAME##*\.}
|
||||
;;
|
||||
*.diff | *.patch | *.diff.bz2 | *.patch.bz2 | patch-*.bz2 | *.diff.gz | *.patch.gz | patch-*.gz)
|
||||
PKG_SOURCE_NAME=$PKG_SOURCE_NAME
|
||||
;;
|
||||
*)
|
||||
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
PKG_BUILD="$BUILD/${PKG_NAME}-${PKG_VERSION}"
|
||||
|
||||
XORG_PATH_DRI=/usr/lib/dri
|
||||
XORG_PATH_XKB=/usr/share/X11/xkb
|
||||
@@ -72,31 +187,53 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
|
||||
. config/optimize
|
||||
|
||||
if [ -z "$CCACHE_DIR" ]; then
|
||||
export CCACHE_DIR=$BUILD/.ccache
|
||||
export CCACHE_DIR=$ROOT/$BUILD/.ccache
|
||||
fi
|
||||
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
|
||||
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
|
||||
|
||||
if [ -z "$PATH" -o "$PATH" = "${PATH#$ROOT/$TOOLCHAIN/bin:}" ]; then
|
||||
export PATH="$ROOT/$TOOLCHAIN/bin:$ROOT/$TOOLCHAIN/sbin:$PATH"
|
||||
fi
|
||||
|
||||
if [[ -z "$PATH" || ( "$PATH" != "$TOOLCHAIN/bin:$TOOLCHAIN/sbin" && "$PATH" = "${PATH#$TOOLCHAIN/bin:$TOOLCHAIN/sbin:}" ) ]]; then
|
||||
export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin${PATH:+":$PATH"}"
|
||||
if [ -z "$LD_LIBRARY_PATH" -o "$LD_LIBRARY_PATH" = "${LD_LIBRARY_PATH#$ROOT/$TOOLCHAIN/lib:}" ]; then
|
||||
export LD_LIBRARY_PATH="$ROOT/$TOOLCHAIN/lib:$LD_LIBRARY_PATH"
|
||||
fi
|
||||
|
||||
VERSION_SUFFIX=$TARGET_ARCH
|
||||
|
||||
# redirect formatted output
|
||||
if [ -z "${SILENT_OUT}" -a -z "${VERBOSE_OUT}" ]; then
|
||||
export BUILD_INDENT_SIZE=4
|
||||
export SILENT_OUT=3
|
||||
export VERBOSE_OUT=4
|
||||
check_path
|
||||
check_config
|
||||
|
||||
if [ "$VERBOSE" = yes ]; then
|
||||
exec 3>&1
|
||||
exec 4>&2
|
||||
else
|
||||
exec 3>&2
|
||||
exec 4>/dev/null
|
||||
fi
|
||||
SILENT_OUT=3
|
||||
VERBOSE_OUT=4
|
||||
if [ "$VERBOSE" = yes ]; then
|
||||
exec 3>&1
|
||||
exec 4>&2
|
||||
else
|
||||
exec 3>&2
|
||||
exec 4>/dev/null
|
||||
fi
|
||||
BUILD_INDENT_SIZE=4
|
||||
|
||||
unset LD_LIBRARY_PATH
|
||||
# define colors
|
||||
black="\e[0;30m"
|
||||
boldblack="\e[1;30m"
|
||||
red="\e[0;31m"
|
||||
boldred="\e[1;31m"
|
||||
green="\e[0;32m"
|
||||
boldgreen="\e[1;32m"
|
||||
yellow="\e[0;33m"
|
||||
boldyellow="\e[1;33m"
|
||||
blue="\e[0;34m"
|
||||
boldblue="\e[1;34m"
|
||||
magenta="\e[0;35m"
|
||||
boldmagenta="\e[1;35m"
|
||||
cyan="\e[0;36m"
|
||||
boldcyan="\e[1;36m"
|
||||
white="\e[0;37m"
|
||||
boldwhite="\e[1;37m"
|
||||
endcolor="\e[0m"
|
||||
|
||||
# multilib? nah
|
||||
unset CONFIG_SITE
|
||||
|
||||
@@ -1,171 +0,0 @@
|
||||
show_config() {
|
||||
# load graphic configuration
|
||||
get_graphicdrivers
|
||||
|
||||
dashes="==========================="
|
||||
config_message="$config_message\n $dashes$dashes$dashes"
|
||||
config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
|
||||
config_message="$config_message\n $dashes$dashes$dashes"
|
||||
|
||||
# Build options
|
||||
|
||||
config_message="$config_message\n\n Buildoptions:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - CPU (ARCH):\t\t\t\t $TARGET_CPU ($TARGET_ARCH)"
|
||||
config_message="$config_message\n - FLOAT:\t\t\t\t $TARGET_FLOAT"
|
||||
config_message="$config_message\n - FPU:\t\t\t\t\t $TARGET_FPU"
|
||||
config_message="$config_message\n - CPU features:\t\t\t $TARGET_FEATURES"
|
||||
config_message="$config_message\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
|
||||
config_message="$config_message\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
|
||||
config_message="$config_message\n - LLVM support:\t\t\t $LLVM_SUPPORT"
|
||||
config_message="$config_message\n - DEBUG:\t\t\t\t ${DEBUG:-no}"
|
||||
|
||||
# config_message="$config_message\n - CFLAGS:\t $TARGET_CFLAGS"
|
||||
# config_message="$config_message\n - LDFLAGS:\t $TARGET_LDFLAGS"
|
||||
|
||||
# Graphic configuration
|
||||
|
||||
config_message="$config_message\n\n Graphic configuration:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
if [ "$DISPLAYSERVER" = "x11" ] ; then
|
||||
config_message="$config_message\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
|
||||
config_message="$config_message\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
|
||||
config_message="$config_message\n - WindowManager:\t\t\t $WINDOWMANAGER"
|
||||
fi
|
||||
config_message="$config_message\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
|
||||
config_message="$config_message\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
|
||||
config_message="$config_message\n - uvesafb support:\t\t\t $UVESAFB_SUPPORT"
|
||||
|
||||
# Hardware decoder support
|
||||
|
||||
config_message="$config_message\n\n Hardware decoder configuration:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - Kodi Player driver:\t\t\t $KODIPLAYER_DRIVER"
|
||||
config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
|
||||
config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
|
||||
|
||||
# Input device configuration
|
||||
|
||||
config_message="$config_message\n\n Input device configuration:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - Remote support:\t\t\t $REMOTE_SUPPORT"
|
||||
config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT"
|
||||
config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
|
||||
config_message="$config_message\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
|
||||
config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
|
||||
|
||||
# Misc. hardware configuration
|
||||
|
||||
config_message="$config_message\n\n Misc. hardware configuration:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - ALSA support:\t\t\t $ALSA_SUPPORT"
|
||||
config_message="$config_message\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
|
||||
config_message="$config_message\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
|
||||
|
||||
for config_driver in $ADDITIONAL_DRIVERS; do
|
||||
config_message="$config_message\n - Include driver:\t\t\t $config_driver"
|
||||
done
|
||||
|
||||
if [ "$DRIVER_ADDONS_SUPPORT" = "yes" ]; then
|
||||
for config_driver_addons in $DRIVER_ADDONS; do
|
||||
config_message="$config_message\n - Include driver add-ons:\t\t $config_driver_addons"
|
||||
done
|
||||
fi
|
||||
|
||||
for config_firmware in $FIRMWARE; do
|
||||
config_message="$config_message\n - Include firmware:\t\t\t $config_firmware"
|
||||
done
|
||||
|
||||
for config_modules in $INITRAMFS_MODULES; do
|
||||
config_message="$config_message\n - Initramfs modules:\t\t\t $config_modules"
|
||||
done
|
||||
|
||||
# Network service configuration
|
||||
|
||||
config_message="$config_message\n\n Network service configuration:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
|
||||
config_message="$config_message\n - NFS mounting support:\t\t $NFS_SUPPORT"
|
||||
config_message="$config_message\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
|
||||
config_message="$config_message\n - SAMBA server support:\t\t $SAMBA_SERVER"
|
||||
config_message="$config_message\n - SFTP server support:\t\t\t $SFTP_SERVER"
|
||||
config_message="$config_message\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
|
||||
|
||||
# OS configuration
|
||||
|
||||
config_message="$config_message\n\n OS configuration:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
|
||||
config_message="$config_message\n - Default ROOT Password:\t\t $ROOT_PASSWORD"
|
||||
config_message="$config_message\n - Bootloader:\t\t\t\t $BOOTLOADER"
|
||||
if [ "$BOOTLOADER" = "u-boot" ]; then
|
||||
config_message="$config_message\n - U-Boot configuration:\t\t $UBOOT_CONFIG"
|
||||
config_message="$config_message\n - U-Boot config file:\t\t $UBOOT_CONFIGFILE"
|
||||
fi
|
||||
config_message="$config_message\n - UDevil support:\t\t\t $UDEVIL"
|
||||
config_message="$config_message\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
|
||||
for config_package in $ADDITIONAL_PACKAGES; do
|
||||
config_message="$config_message\n - Include package:\t\t\t $config_package"
|
||||
done
|
||||
|
||||
# Misc. Filesystems
|
||||
|
||||
config_message="$config_message\n\n Misc. Filesystems:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - Swap Support:\t\t\t $SWAP_SUPPORT"
|
||||
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
||||
config_message="$config_message\n - Swapfile default size:\t\t $SWAPFILESIZE"
|
||||
fi
|
||||
config_message="$config_message\n - exFAT Support (via Fuse):\t\t $EXFAT"
|
||||
config_message="$config_message\n - NTFS Support (via Fuse):\t\t $NTFS3G"
|
||||
config_message="$config_message\n - Install HFS Tools:\t\t\t $HFSTOOLS"
|
||||
|
||||
# Kodi configuration
|
||||
if [ ! "$MEDIACENTER" = "no" ]; then
|
||||
config_message="$config_message\n\n Kodi configuration:"
|
||||
config_message="$config_message\n $dashes$dashes"
|
||||
|
||||
config_message="$config_message\n - Kodi version:\t\t\t $MEDIACENTER"
|
||||
config_message="$config_message\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
|
||||
if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
|
||||
config_message="$config_message\n - Bluray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
|
||||
config_message="$config_message\n - Bluray AACS support:\t\t $BLURAY_AACS_SUPPORT"
|
||||
fi
|
||||
config_message="$config_message\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
|
||||
config_message="$config_message\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
|
||||
config_message="$config_message\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
|
||||
config_message="$config_message\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
|
||||
config_message="$config_message\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
|
||||
config_message="$config_message\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
|
||||
config_message="$config_message\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
|
||||
config_message="$config_message\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
|
||||
config_message="$config_message\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
|
||||
|
||||
for config_skin in $SKINS; do
|
||||
config_message="$config_message\n - Include Skin:\t\t\t $config_skin"
|
||||
done
|
||||
|
||||
config_message="$config_message\n - Default Skin:\t\t\t $SKIN_DEFAULT"
|
||||
config_message="$config_message\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
|
||||
fi
|
||||
|
||||
if [ "$(type -t show_distro_config)" = "function" ]; then
|
||||
show_distro_config
|
||||
fi
|
||||
|
||||
config_message="$config_message\n"
|
||||
config_message="$config_message\n $dashes$dashes$dashes"
|
||||
config_message="$config_message\n End Configuration for $DISTRONAME"
|
||||
config_message="$config_message\n $dashes$dashes$dashes"
|
||||
config_message="$config_message\n\n\n"
|
||||
|
||||
echo -e "$config_message"
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
# Sourceforge download site
|
||||
SOURCEFORGE_SRC="https://prdownloads.sourceforge.net"
|
||||
SOURCEFORGE_SRC="http://prdownloads.sourceforge.net"
|
||||
@@ -2,7 +2,8 @@
|
||||
LIBREELEC_VERSION="devel"
|
||||
|
||||
# OS_VERSION: OS Version
|
||||
OS_VERSION="9.0"
|
||||
OS_VERSION="8.0"
|
||||
|
||||
# ADDON_VERSION: Addon version
|
||||
ADDON_VERSION="9.0"
|
||||
ADDON_VERSION="8.1"
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
# GOLD (Google Linker) support
|
||||
GOLD_SUPPORT="yes"
|
||||
|
||||
# HARDENING (security relevant linker and compiler flags) support
|
||||
HARDENING_SUPPORT="no"
|
||||
|
||||
# Name of the Distro to build (full name, without special characters)
|
||||
DISTRONAME="LibreELEC"
|
||||
|
||||
@@ -16,7 +13,7 @@
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# LibreELEC #"
|
||||
GREETING2="# https://libreelec.tv #"
|
||||
GREETING2="# http://libreelec.tv #"
|
||||
GREETING3="##############################################"
|
||||
GREETING4=""
|
||||
|
||||
@@ -37,9 +34,6 @@
|
||||
# Default Skin (Estuary)
|
||||
SKIN_DEFAULT="Estuary"
|
||||
|
||||
# Select whether to use default (upstream xbmc/xbmc) repo, or specific vendor repo
|
||||
KODI_VENDOR="default"
|
||||
|
||||
# install extra subtitle Fonts for KODI (yes / no)
|
||||
KODI_EXTRA_FONTS="yes"
|
||||
|
||||
@@ -49,6 +43,10 @@
|
||||
# build and install espeak support (yes / no)
|
||||
ESPEAK_SUPPORT="yes"
|
||||
|
||||
# build and install with non-free support
|
||||
# (RAR compression support in KODI) (yes / no)
|
||||
KODI_NONFREE_SUPPORT="yes"
|
||||
|
||||
# build and install with BluRay support (yes / no)
|
||||
KODI_BLURAY_SUPPORT="yes"
|
||||
|
||||
@@ -65,7 +63,7 @@
|
||||
KODI_DVDCSS_SUPPORT="yes"
|
||||
|
||||
# additional drivers to install:
|
||||
# for a list of additional drivers see packages/linux-drivers
|
||||
# for a list of additinoal drivers see packages/linux-drivers
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU"
|
||||
@@ -82,8 +80,11 @@
|
||||
# build with UPnP support (yes / no)
|
||||
KODI_UPNP_SUPPORT="yes"
|
||||
|
||||
# build with MySQL support (mysql / mariadb / none)
|
||||
KODI_MYSQL_SUPPORT="mariadb"
|
||||
# build with MySQL support (yes / no)
|
||||
KODI_MYSQL_SUPPORT="yes"
|
||||
|
||||
# build xbmc with sshlib support (yes / no)
|
||||
KODI_SSHLIB_SUPPORT="yes"
|
||||
|
||||
# build xbmc with optical drive support (yes / no)
|
||||
KODI_OPTICAL_SUPPORT="yes"
|
||||
@@ -135,7 +136,7 @@
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
|
||||
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy vmware virtio"
|
||||
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy"
|
||||
|
||||
# build and install remote support (yes / no)
|
||||
REMOTE_SUPPORT="yes"
|
||||
@@ -149,9 +150,6 @@
|
||||
# build and install CEC adapter support (yes / no)
|
||||
CEC_SUPPORT="yes"
|
||||
|
||||
# build and install CEC framework support (yes / no)
|
||||
CEC_FRAMEWORK_SUPPORT="no"
|
||||
|
||||
# build and install iSCSI support - iscsistart (yes / no)
|
||||
ISCSI_SUPPORT="yes"
|
||||
|
||||
@@ -160,18 +158,13 @@
|
||||
INITRAMFS_PARTED_SUPPORT="no"
|
||||
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="yes"
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swap support enabled per default (yes / no)
|
||||
SWAP_ENABLED_DEFAULT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="128"
|
||||
|
||||
# additional packages to install:
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_PACKAGES="PACKAGE1 PACKAGE2"
|
||||
ADDITIONAL_PACKAGES=""
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
@@ -193,35 +186,13 @@
|
||||
DISTRO_SRC="http://sources.libreelec.tv/$LIBREELEC_VERSION"
|
||||
|
||||
# Addon Server Url
|
||||
ADDON_SERVER_URL="https://addons.libreelec.tv"
|
||||
ADDON_SERVER_URL="http://addons.libreelec.tv"
|
||||
|
||||
# set the addon dirs
|
||||
ADDON_PATH="$ADDON_VERSION/${DEVICE:-$PROJECT}/$TARGET_ARCH"
|
||||
ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
|
||||
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
|
||||
|
||||
# Default size of system partition, in MB, eg. 512
|
||||
SYSTEM_SIZE=512
|
||||
# Default system partition offset, in sectors, eg. 2048
|
||||
SYSTEM_PART_START=8192
|
||||
|
||||
# Configure debug groups (space delimited key=value pairs, with each value comma-delimited) and default group when DEBUG=yes
|
||||
# Use ! or - prefix to prevent a dependent package from being built with debug. Add + suffix to build dependenencies with debug.
|
||||
DEBUG_GROUPS="kodi+=kodi+,kodi-platform+,p8-platform+,!mesa"
|
||||
DEBUG_GROUP_YES="kodi+"
|
||||
|
||||
# Default supported get handlers (archive, git, file etc.)
|
||||
GET_HANDLER_SUPPORT="archive"
|
||||
|
||||
# Partition labels for USB/SD installation media
|
||||
DISTRO_BOOTLABEL="LIBREELEC"
|
||||
DISTRO_DISKLABEL="STORAGE"
|
||||
|
||||
# Settings package name - blank if not required
|
||||
DISTRO_PKG_SETTINGS="LibreELEC-settings"
|
||||
|
||||
# IR remote protocols supported in default config
|
||||
IR_REMOTE_PROTOCOLS="RC6 NEC"
|
||||
|
||||
# IR remote keymaps supported in default config
|
||||
IR_REMOTE_KEYMAPS="rc6_mce xbox_360 xbox_one"
|
||||
|
||||
SYSTEM_PART_START=2048
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
@@ -1,134 +0,0 @@
|
||||
COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
|
||||
=========================================
|
||||
|
||||
PNG Reference Library License version 2
|
||||
---------------------------------------
|
||||
|
||||
* Copyright (c) 1995-2018 The PNG Reference Library Authors.
|
||||
* Copyright (c) 2018 Cosmin Truta.
|
||||
* Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
|
||||
* Copyright (c) 1996-1997 Andreas Dilger.
|
||||
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
|
||||
The software is supplied "as is", without warranty of any kind,
|
||||
express or implied, including, without limitation, the warranties
|
||||
of merchantability, fitness for a particular purpose, title, and
|
||||
non-infringement. In no even shall the Copyright owners, or
|
||||
anyone distributing the software, be liable for any damages or
|
||||
other liability, whether in contract, tort or otherwise, arising
|
||||
from, out of, or in connection with the software, or the use or
|
||||
other dealings in the software, even if advised of the possibility
|
||||
of such damage.
|
||||
|
||||
Permission is hereby granted to use, copy, modify, and distribute
|
||||
this software, or portions hereof, for any purpose, without fee,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you
|
||||
must not claim that you wrote the original software. If you
|
||||
use this software in a product, an acknowledgment in the product
|
||||
documentation would be appreciated, but is not required.
|
||||
|
||||
2. Altered source versions must be plainly marked as such, and must
|
||||
not be misrepresented as being the original software.
|
||||
|
||||
3. This Copyright notice may not be removed or altered from any
|
||||
source or altered source distribution.
|
||||
|
||||
|
||||
PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35)
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
libpng versions 1.0.7, July 1, 2000 through 1.6.35, July 15, 2018 are
|
||||
Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
|
||||
derived from libpng-1.0.6, and are distributed according to the same
|
||||
disclaimer and license as libpng-1.0.6 with the following individuals
|
||||
added to the list of Contributing Authors:
|
||||
|
||||
Simon-Pierre Cadieux
|
||||
Eric S. Raymond
|
||||
Mans Rullgard
|
||||
Cosmin Truta
|
||||
Gilles Vollant
|
||||
James Yu
|
||||
Mandar Sahastrabuddhe
|
||||
Google Inc.
|
||||
Vadim Barkov
|
||||
|
||||
and with the following additions to the disclaimer:
|
||||
|
||||
There is no warranty against interference with your enjoyment of
|
||||
the library or against infringement. There is no warranty that our
|
||||
efforts or the library will fulfill any of your particular purposes
|
||||
or needs. This library is provided with all faults, and the entire
|
||||
risk of satisfactory quality, performance, accuracy, and effort is
|
||||
with the user.
|
||||
|
||||
Some files in the "contrib" directory and some configure-generated
|
||||
files that are distributed with libpng have other copyright owners, and
|
||||
are released under other open source licenses.
|
||||
|
||||
libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
|
||||
Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
|
||||
libpng-0.96, and are distributed according to the same disclaimer and
|
||||
license as libpng-0.96, with the following individuals added to the
|
||||
list of Contributing Authors:
|
||||
|
||||
Tom Lane
|
||||
Glenn Randers-Pehrson
|
||||
Willem van Schaik
|
||||
|
||||
libpng versions 0.89, June 1996, through 0.96, May 1997, are
|
||||
Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
|
||||
and are distributed according to the same disclaimer and license as
|
||||
libpng-0.88, with the following individuals added to the list of
|
||||
Contributing Authors:
|
||||
|
||||
John Bowler
|
||||
Kevin Bracey
|
||||
Sam Bushell
|
||||
Magnus Holmgren
|
||||
Greg Roelofs
|
||||
Tom Tanner
|
||||
|
||||
Some files in the "scripts" directory have other copyright owners,
|
||||
but are released under this license.
|
||||
|
||||
libpng versions 0.5, May 1995, through 0.88, January 1996, are
|
||||
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
|
||||
For the purposes of this copyright and license, "Contributing Authors"
|
||||
is defined as the following set of individuals:
|
||||
|
||||
Andreas Dilger
|
||||
Dave Martindale
|
||||
Guy Eric Schalnat
|
||||
Paul Schmidt
|
||||
Tim Wegner
|
||||
|
||||
The PNG Reference Library is supplied "AS IS". The Contributing
|
||||
Authors and Group 42, Inc. disclaim all warranties, expressed or
|
||||
implied, including, without limitation, the warranties of
|
||||
merchantability and of fitness for any purpose. The Contributing
|
||||
Authors and Group 42, Inc. assume no liability for direct, indirect,
|
||||
incidental, special, exemplary, or consequential damages, which may
|
||||
result from the use of the PNG Reference Library, even if advised of
|
||||
the possibility of such damage.
|
||||
|
||||
Permission is hereby granted to use, copy, modify, and distribute this
|
||||
source code, or portions hereof, for any purpose, without fee, subject
|
||||
to the following restrictions:
|
||||
|
||||
1. The origin of this source code must not be misrepresented.
|
||||
|
||||
2. Altered versions must be plainly marked as such and must not
|
||||
be misrepresented as being the original source.
|
||||
|
||||
3. This Copyright notice may not be removed or altered from any
|
||||
source or altered source distribution.
|
||||
|
||||
The Contributing Authors and Group 42, Inc. specifically permit,
|
||||
without fee, and encourage the use of this source code as a component
|
||||
to supporting the PNG file format in commercial products. If you use
|
||||
this source code in a product, acknowledgment is not required but would
|
||||
be appreciated.
|
||||
45
packages/addons/README.md
Normal file
45
packages/addons/README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
#add-on package.mk skeleton
|
||||
This file shows a skeleton example of an add-on package.mk with content notes. Except for the license header, any lines prefixed with `#` are optional and may be omitted if not required.
|
||||
|
||||
```shell
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://LibreELEC.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="myprogram" # same as the folder name
|
||||
PKG_VERSION="1.0.1" # version or 7 digit-hash
|
||||
PKG_REV="100" # currently we start at 100 to solve OE update problems
|
||||
PKG_ARCH="any" # for available architectures, see LE/config/arch.* files
|
||||
# PKG_ADDON_PROJECTS="RPi RPi2" # for available projects, see projects subdirectory
|
||||
PKG_LICENSE="GPL" # program licenses, see licenses subdirectory for a list
|
||||
PKG_SITE="http://www.site.org"
|
||||
PKG_URL="http://www.site.org/$PKG_VERSION.tar.xz" # for github see the other packages, prefer tar.xz over .gz
|
||||
# PKG_SOURCE_DIR="somename-${PKG_VERSION}*" # if the folder inside the zip is different to the pkg name
|
||||
PKG_DEPENDS_TARGET="toolchain curl" # dependencies that are needed that the addon builds
|
||||
PKG_SECTION="service" # service, tools, virtual, driver, driver.remote ...
|
||||
PKG_SHORTDESC="Addon name: sort description" # Addon: is a program that does this and that
|
||||
PKG_LONGDESC="Addon name ($PKG_VERSION): detailed description"
|
||||
PKG_AUTORECONF="no" # yes or no
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Addon name" # proper name of the addon that is shown at the repo
|
||||
PKG_ADDON_TYPE="xbmc.service" # see LE/config/addon/ for other possibilities
|
||||
# PKG_ADDON_PROVIDES="executable" # http://kodi.wiki/view/addon.xml#.3Cprovides.3E_element
|
||||
PKG_ADDON_REPOVERSION="8.0" # for what main version it should be compatible
|
||||
# PKG_ADDON_REQUIRES="some.addon:0.0.0" # http://kodi.wiki/view/addon.xml#.3Crequires.3E
|
||||
# PKG_MAINTAINER="John Doe (email)" # if you want to be know as maintainer for a addon
|
||||
```
|
||||
@@ -1,13 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_ADS1x15"
|
||||
PKG_VERSION="a963cc0ee83e2ba6d671b02df5febf7250f626aa"
|
||||
PKG_SHA256="2f81a9a6b7b7f46b79faa5b01df0c25fa5f16af80842d74e35b5fbf01ab0c619"
|
||||
PKG_VERSION="733d179"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python ADS1x15 Library"
|
||||
PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_ADXL345"
|
||||
PKG_VERSION="dca3d90b5477a304fa130f5cc90ea59e3968ce6f"
|
||||
PKG_SHA256="22ec0fc6679cc3e9b5f0aff5cfeef34cbbf13e59aecfb829c2f0dc2d90b5fb8b"
|
||||
PKG_VERSION="b153663"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python ADXL345 Library"
|
||||
PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi or BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_BMP"
|
||||
PKG_VERSION="e8521e969afae3321d9789353d7e92ea9a5e9a56"
|
||||
PKG_SHA256="e5e140c34e312f6a00c62b1bd47ebe3f1857009b1c202c18c7b092ebb2e1eb9c"
|
||||
PKG_VERSION="ad6521d"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python BMP Library"
|
||||
PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi or Beaglebone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_CharLCD"
|
||||
PKG_VERSION="bc75cad284766240424f29dc8e7b84d0caceb72e"
|
||||
PKG_SHA256="eae4b446162feb533a469a9dacf6e750250f925561c9f7983a11d340e1dd98d4"
|
||||
PKG_VERSION="e5952eb"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python CharLCD Library"
|
||||
PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi or BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,32 +1,55 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_DHT"
|
||||
PKG_VERSION="18846deec6a96572b3f2c4a9edfb5bac55b46f5b"
|
||||
PKG_SHA256="9125f8f42b4874db257a45184b866e8b424aa67230d2ffbc734b53686da7817f"
|
||||
PKG_VERSION="310c59b"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python DHT Library"
|
||||
PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
case $PROJECT in
|
||||
RPi)
|
||||
RPI_VERSION="--force-pi"
|
||||
;;
|
||||
RPi2)
|
||||
RPI_VERSION="--force-pi2"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_make_target() {
|
||||
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||
export LDSHARED="$CC -shared"
|
||||
|
||||
sed -e 's/from ez_setup import use_setuptools/\#from ez_setup import use_setuptools/' \
|
||||
-e 's/use_setuptools()/\#use_setuptools()/' \
|
||||
-i setup.py
|
||||
}
|
||||
|
||||
make_target() {
|
||||
case "$PROJECT:$DEVICE" in
|
||||
"RPi:RPi")
|
||||
PKG_RPI_VERSION="--force-pi"
|
||||
;;
|
||||
"RPi:RPi2")
|
||||
PKG_RPI_VERSION="--force-pi2"
|
||||
;;
|
||||
*)
|
||||
PKG_RPI_VERSION=""
|
||||
esac
|
||||
|
||||
python setup.py build $PKG_RPI_VERSION --cross-compile
|
||||
python setup.py build $RPI_VERSION --cross-compile
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_GPIO"
|
||||
PKG_VERSION="c543d1df9c0a71bafb9f0a1f9dceecd79a920e74"
|
||||
PKG_SHA256="d3cb74fd033ebe5aea1786a584d64ef5eb8082ef2bf0a568b01691612cd04e88"
|
||||
PKG_VERSION="fdf0fca"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi ."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python GPIO Library"
|
||||
PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi and Beaglebone Black using the RPi.GPIO and Adafruit_BBIO librarie"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_LED_Backpack"
|
||||
PKG_VERSION="e34b9548e86e63747563a94f02b65b2980fdefff"
|
||||
PKG_SHA256="244d2625cdaebdc68e299fedde276efa5c9f7c143681c4ee056fb8350a4f7167"
|
||||
PKG_VERSION="d3bd401"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python library for controlling LED backpack displays."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Python library for controlling LED backpack displays."
|
||||
PKG_LONGDESC="Python library for controlling LED backpack displays such as 8x8 matrices, bar graphs, and 7/14-segment displays on a Raspberry Pi or BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_LSM303"
|
||||
PKG_VERSION="37d288844515d7bb62a2329982eb033e92dceceb"
|
||||
PKG_SHA256="609591f2add15e849d3bba320417c705a50a3ed077632baf20c12c8b740d5331"
|
||||
PKG_VERSION="03b344d"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python LSM303 Library"
|
||||
PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_MCP3008"
|
||||
PKG_VERSION="e721d26e650c99b0f6d3efd4ec30444e1adf5ccd"
|
||||
PKG_SHA256="f5e4c847a87716c16f0209df95c281b5071549644a79a143a77b212f25c464dc"
|
||||
PKG_VERSION="705f090"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python MCP3008 Library"
|
||||
PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_MCP4725"
|
||||
PKG_VERSION="4d028bbcf58b011a8f14c5d95057b7e1dcc1064e"
|
||||
PKG_SHA256="6ebbd1f76807b01dc2b723064e52b0c82fc45388265b8ec867e0a42a46a6e926"
|
||||
PKG_VERSION="5b5fc87"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python MCP4725 Library"
|
||||
PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_PCA9685"
|
||||
PKG_VERSION="f86db2ca5de379748afd71e379ce2155f47d21e7"
|
||||
PKG_SHA256="46e11dcfbfaab5756ddeb6ab31740cf8c7419ec1d32be2519f19882e7d86e426"
|
||||
PKG_VERSION="bfa4851"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python PCA9685 Library"
|
||||
PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_PureIO"
|
||||
PKG_VERSION="6f4976d91c52d70b67b28bba75a429b5328a52c1"
|
||||
PKG_SHA256="891a4d077fe6610de6aa4b0dc5b9933a6c7db3492072df60c0383662f28c2ae9"
|
||||
PKG_VERSION="a29d95a"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Pure python access to Linux IO including I2C and SPI."
|
||||
PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI. Drop in replacement for smbus and spidev modules."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,39 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_SI1145"
|
||||
PKG_VERSION="18c400643b39dbf29ab7ff8e74ab0c5c36ef5cf1"
|
||||
PKG_SHA256="0238b2c01cfbb2890ae78468d2fc19c815748fc94860a4eb92b649d074476264"
|
||||
PKG_VERSION="cbc6c62"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/THP-JOE/Python_SI1145"
|
||||
PKG_URL="https://github.com/THP-JOE/Python_SI1145/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_SOURCE_DIR="Python_SI1145-$PKG_VERSION*"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Python library for the SI1145"
|
||||
PKG_LONGDESC="Python library for accessing the SI1145 temperature sensor on a Raspberry Pi"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_SSD1306"
|
||||
PKG_VERSION="8819e2d203df49f2843059d981b7347d9881c82b"
|
||||
PKG_SHA256="ed1163dee2fe6c0c2065a429e1d93cff7397a309071ff83714c84566739680a2"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="SSD1306 oled driver library for 'monochrome' 128x64 and 128x32 OLEDs."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_TCS34725"
|
||||
PKG_VERSION="6306f90b4601237a852acef89eeecc1261ce38b3"
|
||||
PKG_SHA256="f2c3218551da55d7fdbe2499a6ffa3a0b8ed1709e4402c6b0e0f37b17d4aa81f"
|
||||
PKG_VERSION="4ff05a3"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python TCS34725 Library"
|
||||
PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_VCNL40xx"
|
||||
PKG_VERSION="5c72575b7390fbedfae0b5fb2a881ca9efe9ca22"
|
||||
PKG_SHA256="78346836965562720248138203a4af9dc6aa18815bda2a5b7842e3b9af9d1ea8"
|
||||
PKG_VERSION="e54bff9"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python VCNL40xx Library"
|
||||
PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,12 +1,37 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_WS2801"
|
||||
PKG_VERSION="d0c190715ffef1b00e5ffa2d7b7560e7f8ed4263"
|
||||
PKG_SHA256="6219edb5c1d767ff950f5020bacdfb5ba608b4995eb14d6073fdec2f17f584cb"
|
||||
PKG_VERSION="699426a"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python WS2801 Library"
|
||||
PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="argtable2"
|
||||
PKG_VERSION="2.13"
|
||||
PKG_SHA256="8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://argtable.sourceforge.net/"
|
||||
PKG_URL="https://downloads.sourceforge.net/project/argtable/argtable/argtable-${PKG_VERSION}/argtable2-${PKG_VERSION:2:4}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Argtable is an open source ANSI C library that parses GNU-style command-line options."
|
||||
|
||||
make_target() {
|
||||
:
|
||||
}
|
||||
40
packages/addons/addon-depends/atk/package.mk
Normal file
40
packages/addons/addon-depends/atk/package.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="atk"
|
||||
PKG_VERSION="2.20.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://library.gnome.org/devel/atk/"
|
||||
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/$PKG_NAME/2.20/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain glib"
|
||||
PKG_SECTION="accessibility"
|
||||
PKG_SHORTDESC="ATK - Accessibility Toolkit"
|
||||
PKG_LONGDESC="ATK provides the set of accessibility interfaces that are implemented by other toolkits and applications. Using the ATK interfaces, accessibility tools have full access to view and control running applications."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
|
||||
--disable-rebuilds --disable-glibtest"
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -fPIC"
|
||||
}
|
||||
347
packages/addons/addon-depends/atk/patches/atk-meh.patch
Normal file
347
packages/addons/addon-depends/atk/patches/atk-meh.patch
Normal file
@@ -0,0 +1,347 @@
|
||||
diff -Naur atk-2.20.0/atk/atkobject.c atk-2.20.0.patch/atk/atkobject.c
|
||||
--- atk-2.20.0/atk/atkobject.c 2016-02-15 12:29:12.000000000 +0100
|
||||
+++ atk-2.20.0.patch/atk/atkobject.c 2016-03-26 01:10:01.058238623 +0100
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <glib/gi18n-lib.h>
|
||||
|
||||
#include "atk.h"
|
||||
-#include "atkmarshal.h"
|
||||
#include "atkprivate.h"
|
||||
|
||||
/**
|
||||
@@ -610,27 +609,6 @@
|
||||
G_TYPE_POINTER);
|
||||
|
||||
/**
|
||||
- * AtkObject::state-change:
|
||||
- * @atkobject: the object which received the signal.
|
||||
- * @arg1: The name of the state which has changed
|
||||
- * @arg2: A boolean which indicates whether the state has been set or unset.
|
||||
- *
|
||||
- * The "state-change" signal is emitted when an object's state
|
||||
- * changes. The detail value identifies the state type which has
|
||||
- * changed.
|
||||
- */
|
||||
- atk_object_signals[STATE_CHANGE] =
|
||||
- g_signal_new ("state_change",
|
||||
- G_TYPE_FROM_CLASS (klass),
|
||||
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
|
||||
- G_STRUCT_OFFSET (AtkObjectClass, state_change),
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__STRING_BOOLEAN,
|
||||
- G_TYPE_NONE, 2,
|
||||
- G_TYPE_STRING,
|
||||
- G_TYPE_BOOLEAN);
|
||||
-
|
||||
- /**
|
||||
* AtkObject::visible-data-changed:
|
||||
* @atkobject: the object which received the signal.
|
||||
*
|
||||
diff -Naur atk-2.20.0/atk/atktable.c atk-2.20.0.patch/atk/atktable.c
|
||||
--- atk-2.20.0/atk/atktable.c 2016-02-15 12:29:12.000000000 +0100
|
||||
+++ atk-2.20.0.patch/atk/atktable.c 2016-03-26 01:11:35.242363570 +0100
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "atktable.h"
|
||||
-#include "atkmarshal.h"
|
||||
|
||||
/**
|
||||
* SECTION:atktable
|
||||
@@ -102,78 +101,6 @@
|
||||
if (!initialized)
|
||||
{
|
||||
/**
|
||||
- * AtkTable::row-inserted:
|
||||
- * @atktable: the object which received the signal.
|
||||
- * @arg1: The index of the first row inserted.
|
||||
- * @arg2: The number of rows inserted.
|
||||
- *
|
||||
- * The "row-inserted" signal is emitted by an object which
|
||||
- * implements the AtkTable interface when a row is inserted.
|
||||
- */
|
||||
- atk_table_signals[ROW_INSERTED] =
|
||||
- g_signal_new ("row_inserted",
|
||||
- ATK_TYPE_TABLE,
|
||||
- G_SIGNAL_RUN_LAST,
|
||||
- G_STRUCT_OFFSET (AtkTableIface, row_inserted),
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__INT_INT,
|
||||
- G_TYPE_NONE,
|
||||
- 2, G_TYPE_INT, G_TYPE_INT);
|
||||
- /**
|
||||
- * AtkTable::column-inserted:
|
||||
- * @atktable: the object which received the signal.
|
||||
- * @arg1: The index of the column inserted.
|
||||
- * @arg2: The number of colums inserted.
|
||||
- *
|
||||
- * The "column-inserted" signal is emitted by an object which
|
||||
- * implements the AtkTable interface when a column is inserted.
|
||||
- */
|
||||
- atk_table_signals[COLUMN_INSERTED] =
|
||||
- g_signal_new ("column_inserted",
|
||||
- ATK_TYPE_TABLE,
|
||||
- G_SIGNAL_RUN_LAST,
|
||||
- G_STRUCT_OFFSET (AtkTableIface, column_inserted),
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__INT_INT,
|
||||
- G_TYPE_NONE,
|
||||
- 2, G_TYPE_INT, G_TYPE_INT);
|
||||
- /**
|
||||
- * AtkTable::row-deleted:
|
||||
- * @atktable: the object which received the signal.
|
||||
- * @arg1: The index of the first row deleted.
|
||||
- * @arg2: The number of rows deleted.
|
||||
- *
|
||||
- * The "row-deleted" signal is emitted by an object which
|
||||
- * implements the AtkTable interface when a row is deleted.
|
||||
- */
|
||||
- atk_table_signals[ROW_DELETED] =
|
||||
- g_signal_new ("row_deleted",
|
||||
- ATK_TYPE_TABLE,
|
||||
- G_SIGNAL_RUN_LAST,
|
||||
- G_STRUCT_OFFSET (AtkTableIface, row_deleted),
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__INT_INT,
|
||||
- G_TYPE_NONE,
|
||||
- 2, G_TYPE_INT, G_TYPE_INT);
|
||||
- /**
|
||||
- * AtkTable::column-deleted:
|
||||
- * @atktable: the object which received the signal.
|
||||
- * @arg1: The index of the first column deleted.
|
||||
- * @arg2: The number of columns deleted.
|
||||
- *
|
||||
- * The "column-deleted" signal is emitted by an object which
|
||||
- * implements the AtkTable interface when a column is deleted.
|
||||
- */
|
||||
- atk_table_signals[COLUMN_DELETED] =
|
||||
- g_signal_new ("column_deleted",
|
||||
- ATK_TYPE_TABLE,
|
||||
- G_SIGNAL_RUN_LAST,
|
||||
- G_STRUCT_OFFSET (AtkTableIface, column_deleted),
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__INT_INT,
|
||||
- G_TYPE_NONE,
|
||||
- 2, G_TYPE_INT, G_TYPE_INT);
|
||||
- /**
|
||||
* AtkTable::row-reordered:
|
||||
* @atktable: the object which received the signal.
|
||||
*
|
||||
diff -Naur atk-2.20.0/atk/atktext.c atk-2.20.0.patch/atk/atktext.c
|
||||
--- atk-2.20.0/atk/atktext.c 2016-02-15 12:29:12.000000000 +0100
|
||||
+++ atk-2.20.0.patch/atk/atktext.c 2016-03-26 01:12:57.099480029 +0100
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "atk.h"
|
||||
-#include "atkmarshal.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -190,75 +189,6 @@
|
||||
class->get_bounded_ranges = atk_text_real_get_bounded_ranges;
|
||||
|
||||
/**
|
||||
- * AtkText::text-changed:
|
||||
- * @atktext: the object which received the signal.
|
||||
- * @arg1: The position (character offset) of the insertion or deletion.
|
||||
- * @arg2: The length (in characters) of text inserted or deleted.
|
||||
- *
|
||||
- * The "text-changed" signal is emitted when the text of the
|
||||
- * object which implements the AtkText interface changes, This
|
||||
- * signal will have a detail which is either "insert" or
|
||||
- * "delete" which identifies whether the text change was an
|
||||
- * insertion or a deletion.
|
||||
- *
|
||||
- * Deprecated: 2.9.4: Use #AtkObject::text-insert or
|
||||
- * #AtkObject::text-remove instead.
|
||||
- */
|
||||
- atk_text_signals[TEXT_CHANGED] =
|
||||
- g_signal_new ("text_changed",
|
||||
- ATK_TYPE_TEXT,
|
||||
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
|
||||
- G_STRUCT_OFFSET (AtkTextIface, text_changed),
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__INT_INT,
|
||||
- G_TYPE_NONE,
|
||||
- 2, G_TYPE_INT, G_TYPE_INT);
|
||||
-
|
||||
- /**
|
||||
- * AtkText::text-insert:
|
||||
- * @atktext: the object which received the signal.
|
||||
- * @arg1: The position (character offset) of the insertion.
|
||||
- * @arg2: The length (in characters) of text inserted.
|
||||
- * @arg3: The new text inserted
|
||||
- *
|
||||
- * The "text-insert" signal is emitted when a new text is
|
||||
- * inserted. If the signal was not triggered by the user
|
||||
- * (e.g. typing or pasting text), the "system" detail should be
|
||||
- * included.
|
||||
- */
|
||||
- atk_text_signals[TEXT_INSERT] =
|
||||
- g_signal_new ("text_insert",
|
||||
- ATK_TYPE_TEXT,
|
||||
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
|
||||
- 0,
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__INT_INT_STRING,
|
||||
- G_TYPE_NONE,
|
||||
- 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
|
||||
-
|
||||
- /**
|
||||
- * AtkText::text-remove:
|
||||
- * @atktext: the object which received the signal.
|
||||
- * @arg1: The position (character offset) of the removal.
|
||||
- * @arg2: The length (in characters) of text removed.
|
||||
- * @arg3: The old text removed
|
||||
- *
|
||||
- * The "text-remove" signal is emitted when a new text is
|
||||
- * removed. If the signal was not triggered by the user
|
||||
- * (e.g. typing or pasting text), the "system" detail should be
|
||||
- * included.
|
||||
- */
|
||||
- atk_text_signals[TEXT_REMOVE] =
|
||||
- g_signal_new ("text_remove",
|
||||
- ATK_TYPE_TEXT,
|
||||
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
|
||||
- 0,
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__INT_INT_STRING,
|
||||
- G_TYPE_NONE,
|
||||
- 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
|
||||
-
|
||||
- /**
|
||||
* AtkText::text-caret-moved:
|
||||
* @atktext: the object which received the signal.
|
||||
* @arg1: The new position of the text caret.
|
||||
diff -Naur atk-2.20.0/atk/atkutil.c atk-2.20.0.patch/atk/atkutil.c
|
||||
--- atk-2.20.0/atk/atkutil.c 2016-02-15 12:29:12.000000000 +0100
|
||||
+++ atk-2.20.0.patch/atk/atkutil.c 2016-03-26 01:13:04.481490538 +0100
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "atkutil.h"
|
||||
-#include "atkmarshal.c"
|
||||
|
||||
/**
|
||||
* SECTION:atkutil
|
||||
diff -Naur atk-2.20.0/atk/atkvalue.c atk-2.20.0.patch/atk/atkvalue.c
|
||||
--- atk-2.20.0/atk/atkvalue.c 2016-02-15 12:29:12.000000000 +0100
|
||||
+++ atk-2.20.0.patch/atk/atkvalue.c 2016-03-26 01:18:03.268897883 +0100
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <glib/gi18n-lib.h>
|
||||
|
||||
#include "atkvalue.h"
|
||||
-#include "atkmarshal.h"
|
||||
#include "atk-enum-types.h"
|
||||
#include "atkprivate.h"
|
||||
|
||||
@@ -322,42 +321,6 @@
|
||||
atk_value_base_init (AtkValueIface *class)
|
||||
{
|
||||
static gboolean initialized = FALSE;
|
||||
- if (!initialized)
|
||||
- {
|
||||
- /**
|
||||
- * AtkValue::value-changed:
|
||||
- * @atkvalue: the object on which the signal was emitted.
|
||||
- * @value: the new value in a numerical form.
|
||||
- * @text: human readable text alternative (also called
|
||||
- * description) of this object. NULL if not available.
|
||||
- *
|
||||
- * The 'value-changed' signal is emitted when the current value
|
||||
- * that represent the object changes. @value is the numerical
|
||||
- * representation of this new value. @text is the human
|
||||
- * readable text alternative of @value, and can be NULL if it is
|
||||
- * not available. Note that if there is a textual description
|
||||
- * associated with the new numeric value, that description
|
||||
- * should be included regardless of whether or not it has also
|
||||
- * changed.
|
||||
- *
|
||||
- * Example: a password meter whose value changes as the user
|
||||
- * types their new password. Appropiate value text would be
|
||||
- * "weak", "acceptable" and "strong".
|
||||
- *
|
||||
- * Since: 2.12
|
||||
- */
|
||||
- atk_value_signals[VALUE_CHANGED] =
|
||||
- g_signal_new ("value_changed",
|
||||
- ATK_TYPE_VALUE,
|
||||
- G_SIGNAL_RUN_LAST,
|
||||
- 0,
|
||||
- (GSignalAccumulator) NULL, NULL,
|
||||
- atk_marshal_VOID__DOUBLE_STRING,
|
||||
- G_TYPE_NONE,
|
||||
- 2, G_TYPE_DOUBLE, G_TYPE_STRING);
|
||||
-
|
||||
- initialized = TRUE;
|
||||
- }
|
||||
}
|
||||
|
||||
/**
|
||||
diff -Naur atk-2.20.0/atk/atkwindow.c atk-2.20.0.patch/atk/atkwindow.c
|
||||
--- atk-2.20.0/atk/atkwindow.c 2016-02-15 12:29:12.000000000 +0100
|
||||
+++ atk-2.20.0.patch/atk/atkwindow.c 2016-03-26 01:13:13.448503294 +0100
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "atkwindow.h"
|
||||
-#include "atkmarshal.h"
|
||||
|
||||
/**
|
||||
* SECTION:atkwindow
|
||||
diff -Naur atk-2.20.0/atk/Makefile.am atk-2.20.0.patch/atk/Makefile.am
|
||||
--- atk-2.20.0/atk/Makefile.am 2016-02-15 12:29:12.000000000 +0100
|
||||
+++ atk-2.20.0.patch/atk/Makefile.am 2016-03-26 01:08:29.075118340 +0100
|
||||
@@ -115,50 +115,7 @@
|
||||
|
||||
# ---------- Handle built sources ----------
|
||||
|
||||
-BUILT_SOURCES = atkmarshal.h atkmarshal.c atk-enum-types.h atk-enum-types.c
|
||||
-
|
||||
-atkmarshal.h: stamp-atkmarshal.h
|
||||
- @true
|
||||
-stamp-atkmarshal.h: @REBUILD@ atkmarshal.list
|
||||
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh \
|
||||
- && (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
|
||||
- && rm -f xgen-gmh xgen-gmh~ \
|
||||
- && echo timestamp > $(@F)
|
||||
-
|
||||
-atkmarshal.c: stamp-atkmarshal.c
|
||||
- @true
|
||||
-stamp-atkmarshal.c: @REBUILD@ atkmarshal.list
|
||||
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc \
|
||||
- && (cmp -s xgen-gmc atkmarshal.c || cp xgen-gmc atkmarshal.c) \
|
||||
- && rm -f xgen-gmc xgen-gmc~ \
|
||||
- && echo timestamp > $(@F)
|
||||
-
|
||||
-atk-enum-types.h: s-enum-types-h
|
||||
- @true
|
||||
-s-enum-types-h: @REBUILD@ $(atk_headers) Makefile
|
||||
- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
|
||||
- --fhead "#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)\n#error \"Only <atk/atk.h> can be included directly.\"\n#endif\n\n#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n\n#include <atk/atkversion.h>\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
|
||||
- --fprod "/* enumerations from \"@filename@\" */\n" \
|
||||
- --vhead "ATK_AVAILABLE_IN_ALL\nGType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
|
||||
- --ftail "G_END_DECLS\n\n#endif /* __ATK_ENUM_TYPES_H__ */" \
|
||||
- $(atk_headers) ) > tmp-atk-enum-types.h \
|
||||
- && (cmp -s tmp-atk-enum-types.h atk-enum-types.h || cp tmp-atk-enum-types.h atk-enum-types.h ) \
|
||||
- && rm -f tmp-atk-enum-types.h \
|
||||
- && echo timestamp > $(@F)
|
||||
-
|
||||
-atk-enum-types.c: s-enum-types-c
|
||||
- @true
|
||||
-s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
|
||||
- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
|
||||
- --fhead "#include \"config.h\"\n\n#include <atk.h>" \
|
||||
- --fprod "\n/* enumerations from \"@filename@\" */" \
|
||||
- --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
|
||||
- --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
||||
- --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
|
||||
- $(atk_headers) ) > tmp-atk-enum-types.c \
|
||||
- && (cmp -s tmp-atk-enum-types.c atk-enum-types.c || cp tmp-atk-enum-types.c atk-enum-types.c ) \
|
||||
- && rm -f tmp-atk-enum-types.c \
|
||||
- && echo timestamp > $(@F)
|
||||
+BUILT_SOURCES = atk-enum-types.h atk-enum-types.c
|
||||
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
@@ -1,16 +1,41 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="bash"
|
||||
PKG_VERSION="4.3.46"
|
||||
PKG_SHA256="fc7131bbc3139db143ec9fe03fd4e6bd3636bdf53e6956065b261f034b6af74b"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/bash/bash.html"
|
||||
PKG_URL="ftp://ftp.cwru.edu/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="The GNU Bourne Again shell."
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="The GNU Bourne Again shell"
|
||||
PKG_LONGDESC="The GNU Bourne Again shell"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-curses \
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
--with-curses \
|
||||
--enable-readline \
|
||||
--without-bash-malloc \
|
||||
--with-installed-readline"
|
||||
|
||||
pre_configure_target() {
|
||||
export LIBS="-lterminfo"
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="ccid"
|
||||
PKG_VERSION="1.4.28"
|
||||
PKG_SHA256="875836ac5d9d952b40dc1a253a726e74361671864d81337285a3260268f8ade0"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://pcsclite.alioth.debian.org/ccid.html"
|
||||
PKG_URL="https://alioth.debian.org/frs/download.php/latestfile/112/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain pcsc-lite"
|
||||
PKG_LONGDESC="A generic USB Chip/Smart Card Interface Devices driver."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --enable-twinserial"
|
||||
|
||||
make_target() {
|
||||
make
|
||||
make -C src/ Info.plist
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017 Escalade
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="at-spi2-atk"
|
||||
PKG_VERSION="2.26.2"
|
||||
PKG_SHA256="61891f0abae1689f6617a963105a3f1dcdab5970c4a36ded9c79a7a544b16a6e"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.gnome.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/${PKG_VERSION:0:4}/at-spi2-atk-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain at-spi2-core atk libX11 libxml2"
|
||||
PKG_LONGDESC="A GTK+ module that bridges ATK to D-Bus at-spi."
|
||||
@@ -1,19 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017 Escalade
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="at-spi2-core"
|
||||
PKG_VERSION="2.28.0"
|
||||
PKG_SHA256="42a2487ab11ce43c288e73b2668ef8b1ab40a0e2b4f94e80fca04ad27b6f1c87"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.gnome.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-core/${PKG_VERSION:0:4}/at-spi2-core-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain atk dbus glib libXtst"
|
||||
PKG_LONGDESC="Protocol definitions and daemon for D-Bus at-spi."
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Denable_docs=false \
|
||||
-Denable-introspection=no"
|
||||
|
||||
pre_configure_target() {
|
||||
LDFLAGS="$LDFLAGS -lXext"
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="atk"
|
||||
PKG_VERSION="2.29.1"
|
||||
PKG_SHA256="1aa7707c6297c1797fe4d79a22a57ede4d5586b0f7a3b30e886d7ca9d75f20da"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://library.gnome.org/devel/atk/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/atk/${PKG_VERSION:0:4}/atk-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain glib glib:host"
|
||||
PKG_LONGDESC="Provides the set of accessibility interfaces that are implemented by other applications."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Ddocs=false \
|
||||
-Dintrospection=false"
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory libXcomposite)/package.mk
|
||||
|
||||
PKG_NAME="chrome-libXcomposite"
|
||||
PKG_LONGDESC="libXcomposite for chrome"
|
||||
PKG_URL=""
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory libXdamage)/package.mk
|
||||
|
||||
PKG_NAME="chrome-libXdamage"
|
||||
PKG_LONGDESC="libXdamage for chrome"
|
||||
PKG_URL=""
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory libXfixes)/package.mk
|
||||
|
||||
PKG_NAME="chrome-libXfixes"
|
||||
PKG_LONGDESC="libXfixes for chrome"
|
||||
PKG_URL=""
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory libXi)/package.mk
|
||||
|
||||
PKG_NAME="chrome-libXi"
|
||||
PKG_LONGDESC="libXi for chrome"
|
||||
PKG_URL=""
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory libXrender)/package.mk
|
||||
|
||||
PKG_NAME="chrome-libXrender"
|
||||
PKG_LONGDESC="libXrender for chrome"
|
||||
PKG_URL=""
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory libXtst)/package.mk
|
||||
|
||||
PKG_NAME="chrome-libXtst"
|
||||
PKG_LONGDESC="libXtst for chrome"
|
||||
PKG_URL=""
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory libxcb)/package.mk
|
||||
|
||||
PKG_NAME="chrome-libxcb"
|
||||
PKG_LONGDESC="libxcb for chrome"
|
||||
PKG_URL=""
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017 Escalade
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="cups"
|
||||
PKG_VERSION="2.2.8"
|
||||
PKG_SHA256="8f87157960b9d80986f52989781d9de79235aa060e05008e4cf4c0a6ef6bca72"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.cups.org"
|
||||
PKG_URL="https://github.com/apple/cups/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain openssl zlib"
|
||||
PKG_LONGDESC="CUPS printing system."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--libdir=/usr/lib \
|
||||
--disable-gssapi \
|
||||
--disable-avahi \
|
||||
--disable-systemd \
|
||||
--disable-launchd \
|
||||
--disable-unit-tests"
|
||||
|
||||
pre_configure_target() {
|
||||
cd ..
|
||||
rm -rf .$TARGET_NAME
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
make BUILDROOT="$INSTALL/../.INSTALL_PKG"
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="gdk-pixbuf"
|
||||
PKG_VERSION="2.36.12"
|
||||
PKG_SHA256="fff85cf48223ab60e3c3c8318e2087131b590fd6f1737e42cb3759a3b427a334"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${PKG_VERSION:0:4}/gdk-pixbuf-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info tiff"
|
||||
PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Ddocs=false \
|
||||
-Dgir=false \
|
||||
-Dman=false \
|
||||
-Drelocatable=false"
|
||||
pre_configure_target() {
|
||||
export PKG_CONFIG_PATH="$(get_build_dir shared-mime-info)/.$TARGET_NAME"
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
diff -Naur a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
|
||||
--- a/gdk-pixbuf/meson.build 2018-06-15 20:13:23.593361199 +0200
|
||||
+++ b/gdk-pixbuf/meson.build 2018-06-15 20:13:42.601469091 +0200
|
||||
@@ -232,15 +232,15 @@
|
||||
|
||||
# The 'loaders.cache' used for testing, so we don't accidentally
|
||||
# load the installed cache; we always build it by default
|
||||
-loaders_cache = custom_target('loaders.cache',
|
||||
- output: 'loaders.cache',
|
||||
- capture: true,
|
||||
- command: [
|
||||
- gdk_pixbuf_query_loaders,
|
||||
- dynamic_loaders,
|
||||
- ],
|
||||
- build_by_default: true)
|
||||
-loaders_dep = declare_dependency(sources: [ loaders_cache ])
|
||||
+#loaders_cache = custom_target('loaders.cache',
|
||||
+# output: 'loaders.cache',
|
||||
+# capture: true,
|
||||
+# command: [
|
||||
+# gdk_pixbuf_query_loaders,
|
||||
+# dynamic_loaders,
|
||||
+# ],
|
||||
+# build_by_default: true)
|
||||
+#loaders_dep = declare_dependency(sources: [ loaders_cache ])
|
||||
|
||||
build_gir = get_option('gir')
|
||||
if build_gir
|
||||
diff -Naur a/meson.build b/meson.build
|
||||
--- a/meson.build 2018-06-15 20:13:23.573361085 +0200
|
||||
+++ b/meson.build 2018-06-15 20:13:32.761413236 +0200
|
||||
@@ -398,7 +398,7 @@
|
||||
# i18n
|
||||
subdir('po')
|
||||
|
||||
-subdir('tests')
|
||||
+#subdir('tests')
|
||||
subdir('thumbnailer')
|
||||
|
||||
# Documentation
|
||||
diff -Naur a/thumbnailer/meson.build b/thumbnailer/meson.build
|
||||
--- a/thumbnailer/meson.build 2018-06-15 20:13:23.605361267 +0200
|
||||
+++ b/thumbnailer/meson.build 2018-06-15 20:13:50.305512825 +0200
|
||||
@@ -12,22 +12,22 @@
|
||||
c_args: common_cflags,
|
||||
dependencies: gdk_pixbuf_deps + [ gdkpixbuf_dep ])
|
||||
|
||||
-custom_target('thumbnailer',
|
||||
- input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
|
||||
- output: 'gdk-pixbuf-thumbnailer.thumbnailer',
|
||||
- command: [
|
||||
- gen_thumbnailer,
|
||||
- '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
|
||||
- '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
|
||||
- '--loaders=@0@'.format(loaders_cache.full_path()),
|
||||
- '--bindir=@0@'.format(gdk_pixbuf_bindir),
|
||||
- '@INPUT@',
|
||||
- '@OUTPUT@',
|
||||
- ],
|
||||
- depends: [
|
||||
- gdk_pixbuf_print_mime_types,
|
||||
- gdk_pixbuf_pixdata,
|
||||
- loaders_cache,
|
||||
- ],
|
||||
- install: true,
|
||||
- install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers'))
|
||||
+#custom_target('thumbnailer',
|
||||
+# input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
|
||||
+# output: 'gdk-pixbuf-thumbnailer.thumbnailer',
|
||||
+# command: [
|
||||
+# gen_thumbnailer,
|
||||
+# '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
|
||||
+# '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
|
||||
+# '--loaders=@0@'.format(loaders_cache.full_path()),
|
||||
+# '--bindir=@0@'.format(gdk_pixbuf_bindir),
|
||||
+# '@INPUT@',
|
||||
+# '@OUTPUT@',
|
||||
+# ],
|
||||
+# depends: [
|
||||
+# gdk_pixbuf_print_mime_types,
|
||||
+# gdk_pixbuf_pixdata,
|
||||
+# loaders_cache,
|
||||
+# ],
|
||||
+# install: true,
|
||||
+# install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers'))
|
||||
@@ -1,4 +0,0 @@
|
||||
[Settings]
|
||||
gtk-icon-theme-name = Adwaita
|
||||
gtk-theme-name = Adwaita
|
||||
gtk-font-name = Liberation Sans 12
|
||||
@@ -1,34 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017 Escalade
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="gtk3"
|
||||
PKG_VERSION="3.22.30"
|
||||
PKG_SHA256="a1a4a5c12703d4e1ccda28333b87ff462741dc365131fbc94c218ae81d9a6567"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gtk+/${PKG_VERSION:0:4}/gtk+-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain at-spi2-atk atk cairo gdk-pixbuf glib libX11 libXi libXrandr libepoxy pango"
|
||||
PKG_LONGDESC="A library for creating graphical user interfaces for the X Window System."
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-cups \
|
||||
--disable-debug \
|
||||
--enable-explicit-deps=no \
|
||||
--disable-glibtest \
|
||||
--disable-gtk-doc \
|
||||
--disable-gtk-doc-html \
|
||||
--disable-man \
|
||||
--enable-modules \
|
||||
--disable-papi \
|
||||
--disable-xinerama \
|
||||
--enable-xkb"
|
||||
|
||||
pre_configure_target() {
|
||||
LIBS="$LIBS -lXcursor"
|
||||
export PKG_CONFIG_PATH="$(get_build_dir pango)/.$TARGET_NAME"
|
||||
export CFLAGS="$CFLAGS -I$(get_build_dir pango) -L$(get_build_dir pango)/.$TARGET_NAME/pango"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -566,8 +566,8 @@
|
||||
|| { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
|
||||
&& DISPLAY=:$$XID && export DISPLAY
|
||||
|
||||
-SRC_SUBDIRS = gdk gtk libgail-util modules demos tests testsuite examples
|
||||
-SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
|
||||
+SRC_SUBDIRS = gdk gtk modules
|
||||
+SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros build
|
||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
MAINTAINERCLEANFILES = \
|
||||
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
|
||||
@@ -1,22 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="harfbuzz"
|
||||
PKG_VERSION="1.8.1"
|
||||
PKG_SHA256="fbed6392ddb085e45e6090a9f389f72926d0e355f4b0a2ef51d35cf21686df45"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
|
||||
PKG_URL="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain cairo freetype glib icu"
|
||||
PKG_LONGDESC="HarfBuzz is an OpenType text shaping engine."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-icu \
|
||||
--disable-gtk-doc \
|
||||
--disable-gtk-doc-html \
|
||||
--disable-gtk-doc-pdf"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="$LDFLAGS -ldl"
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="icu"
|
||||
PKG_VERSION="61.1"
|
||||
PKG_SHA256="d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef"
|
||||
PKG_LICENSE="Custom"
|
||||
PKG_SITE="http://www.icu-project.org"
|
||||
PKG_URL="http://download.icu-project.org/files/icu4c/${PKG_VERSION}/icu4c-${PKG_VERSION//./_}-src.tgz"
|
||||
PKG_DEPENDS_TARGET="toolchain icu:host"
|
||||
PKG_LONGDESC="International Components for Unicode library."
|
||||
|
||||
PKG_ICU_OPTS="--disable-extras \
|
||||
--disable-icuio \
|
||||
--disable-layout \
|
||||
--disable-renaming \
|
||||
--disable-samples \
|
||||
--disable-tests \
|
||||
--disable-tools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--enable-static \
|
||||
--disable-shared \
|
||||
$PKG_ICU_OPTS"
|
||||
|
||||
configure_package() {
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-cross-build=$PKG_BUILD/.$HOST_NAME \
|
||||
$PKG_ICU_OPTS"
|
||||
|
||||
PKG_CONFIGURE_SCRIPT="${PKG_BUILD}/source/configure"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libXScrnSaver"
|
||||
PKG_VERSION="1.2.2"
|
||||
PKG_SHA256="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://xorg.freedesktop.org/"
|
||||
PKG_URL="https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain scrnsaverproto"
|
||||
PKG_LONGDESC="X11 Screen Saver extension client library."
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-static \
|
||||
--enable-shared \
|
||||
--enable-malloc0returnsnull"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libXcursor"
|
||||
PKG_VERSION="1.1.15"
|
||||
PKG_SHA256="294e670dd37cd23995e69aae626629d4a2dfe5708851bbc13d032401b7a3df6b"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXcursor-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11 libXfixes libXrender"
|
||||
PKG_LONGDESC="X11 Cursor management library.s"
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libXft"
|
||||
PKG_VERSION="2.3.2"
|
||||
PKG_SHA256="f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXft-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain fontconfig freetype libXrender util-macros xorgproto"
|
||||
PKG_LONGDESC="X FreeType library."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libxss"
|
||||
PKG_VERSION="1.2.2"
|
||||
PKG_SHA256="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros libXext scrnsaverproto"
|
||||
PKG_LONGDESC="X11 Screen Saver extension library."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-malloc0returnsnull"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pango"
|
||||
PKG_VERSION="1.42.1"
|
||||
PKG_SHA256="915a6756b298578ff27c7a6393f8c2e62e6e382f9411f2504d7af1a13c7bce32"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.pango.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/pango/${PKG_VERSION:0:4}/pango-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib harfbuzz libX11 libXft"
|
||||
PKG_LONGDESC="The Pango library for layout and rendering of internationalized text."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Denable_docs=false \
|
||||
-Dgir=false"
|
||||
|
||||
pre_configure_target() {
|
||||
export PKG_CONFIG_PATH="$(get_build_dir cairo)/.$TARGET_NAME/src":"$(get_build_dir libXft)/.$TARGET_NAME/src"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="scrnsaverproto"
|
||||
PKG_VERSION="1.2.2"
|
||||
PKG_SHA256="8bb70a8da164930cceaeb4c74180291660533ad3cc45377b30a795d1b85bcd65"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://xorg.freedesktop.org/"
|
||||
PKG_URL="https://xorg.freedesktop.org/releases/individual/proto/scrnsaverproto-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="X11 Screen Saver extension wire protocol."
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="shared-mime-info"
|
||||
PKG_VERSION="1.9"
|
||||
PKG_SHA256="5c0133ec4e228e41bdf52f726d271a2d821499c2ab97afd3aa3d6cf43efcdc83"
|
||||
PKG_LICENSE="GPL2"
|
||||
PKG_SITE="https://freedesktop.org/wiki/Software/shared-mime-info/"
|
||||
PKG_URL="http://freedesktop.org/~hadess/shared-mime-info-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain libxml2"
|
||||
PKG_LONGDESC="The shared-mime-info package contains the core database of common types."
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--disable-update-mimedb"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="unclutter"
|
||||
PKG_VERSION="1.09"
|
||||
PKG_SHA256="3a53575fe2a75a34bc9a2b0ad92ee0f8a7dbedc05d8783f191c500060a40a9bd"
|
||||
PKG_LICENSE="Public Domain"
|
||||
PKG_SITE="https://sourceforge.net/projects/unclutter/"
|
||||
PKG_URL="https://sourceforge.net/projects/unclutter/unclutter/source_$PKG_VERSION/unclutter-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11"
|
||||
PKG_LONGDESC="Unclutter runs in the background of an X11 session and hides the X11 Cursor."
|
||||
|
||||
make_target() {
|
||||
rm -f Makefile
|
||||
LDFLAGS="$LDFLAGS -lX11" $MAKE unclutter
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p .install_pkg/usr/bin
|
||||
install -m 755 unclutter .install_pkg/usr/bin/
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="comskip"
|
||||
PKG_VERSION="6030aa0d3b589161ec96c6c986c48aa826fb9f72"
|
||||
PKG_SHA256="df0b4b0354aef5acc17e4e94a20a396fa69c474af7579c94aad09dd490e0ee38"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.kaashoek.com/comskip/"
|
||||
PKG_URL="https://github.com/erikkaashoek/Comskip/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain argtable2 ffmpeg"
|
||||
PKG_LONGDESC="Comskip detects commercial breaks from a video stream. It can be used for post-processing recordings."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
pre_configure_target() {
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
|
||||
export argtable2_CFLAGS="-I$(get_build_dir argtable2)/src"
|
||||
export argtable2_LIBS="-L$(get_build_dir argtable2)/src/.libs -largtable2"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,16 +1,34 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="containerd"
|
||||
PKG_VERSION="1.2.2"
|
||||
PKG_SHA256="91d480816986d74ff4fa7dd0412c787615fa705975b18fa4079c333b137c653f"
|
||||
PKG_VERSION="aa8187d"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="APL"
|
||||
PKG_SITE="https://containerd.tools/"
|
||||
PKG_URL="https://github.com/containerd/containerd/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/docker/containerd/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain go:host"
|
||||
PKG_LONGDESC="A daemon to control runC, built for performance and density."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="containerd is a daemon to control runC"
|
||||
PKG_LONGDESC="containerd is a daemon to control runC, built for performance and density. containerd leverages runC's advanced features such as seccomp and user namespace support as well as checkpoint and restore for cloning and live migration of containers."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_make_target() {
|
||||
case $TARGET_ARCH in
|
||||
@@ -24,9 +42,9 @@ pre_make_target() {
|
||||
arm1176jzf-s)
|
||||
export GOARM=6
|
||||
;;
|
||||
*)
|
||||
export GOARM=7
|
||||
;;
|
||||
cortex-a7)
|
||||
export GOARM=7
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
aarch64)
|
||||
@@ -38,25 +56,21 @@ pre_make_target() {
|
||||
export CGO_ENABLED=1
|
||||
export CGO_NO_EMULATION=1
|
||||
export CGO_CFLAGS=$CFLAGS
|
||||
export CONTAINERD_VERSION=v${PKG_VERSION}
|
||||
export CONTAINERD_REVISION=${PKG_VERSION}
|
||||
export CONTAINERD_PKG=github.com/containerd/containerd
|
||||
export LDFLAGS="-w -extldflags -static -X ${CONTAINERD_PKG}/version.Version=${CONTAINERD_VERSION} -X ${CONTAINERD_PKG}/version.Revision=${CONTAINERD_REVISION} -X ${CONTAINERD_PKG}/version.Package=${CONTAINERD_PKG} -extld $CC"
|
||||
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
|
||||
export GOPATH=$PKG_BUILD/.gopath
|
||||
export GOROOT=$TOOLCHAIN/lib/golang
|
||||
export LDFLAGS="-w -extldflags -static -X github.com/docker/containerd.GitCommit=${PKG_VERSION} -extld $CC"
|
||||
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
|
||||
export GOPATH=$ROOT/$PKG_BUILD.gopath:$ROOT/$PKG_BUILD/vendor/
|
||||
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
|
||||
mkdir -p $PKG_BUILD/.gopath
|
||||
if [ -d $PKG_BUILD/vendor ]; then
|
||||
mv $PKG_BUILD/vendor $PKG_BUILD/.gopath/src
|
||||
fi
|
||||
|
||||
ln -fs $PKG_BUILD $PKG_BUILD/.gopath/src/github.com/containerd/containerd
|
||||
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/vendor/src/github.com/docker/containerd
|
||||
}
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
$GOLANG build -v -o bin/containerd -a -tags "static_build no_btrfs" -ldflags "$LDFLAGS" ./cmd/containerd
|
||||
$GOLANG build -v -o bin/containerd-shim -a -tags "static_build no_btrfs" -ldflags "$LDFLAGS" ./cmd/containerd-shim
|
||||
$GOLANG build -v -o bin/containerd -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd
|
||||
$GOLANG build -v -o bin/containerd-shim -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd-shim
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
|
||||
@@ -1,26 +1,52 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="cxxtools"
|
||||
PKG_VERSION="2.2.1"
|
||||
PKG_SHA256="8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL-2"
|
||||
PKG_SITE="http://www.tntnet.org/cxxtools.html"
|
||||
PKG_URL="http://www.tntnet.org/download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST=""
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
PKG_SECTION="python/web"
|
||||
PKG_SHORTDESC="cxxtools: a collection of general-purpose C++ classes"
|
||||
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-demos --with-atomictype=pthread --disable-unittest"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-demos --with-atomictype=pthread --disable-unittest"
|
||||
|
||||
pre_configure_target() {
|
||||
CFLAGS="$CFLAGS -fPIC"
|
||||
CXXFLAGS="$CXXFLAGS -fPIC"
|
||||
LDFLAGS="$LDFLAGS -fPIC"
|
||||
}
|
||||
|
||||
|
||||
post_makeinstall_host() {
|
||||
rm -rf $TOOLCHAIN/bin/cxxtools-config
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i $SYSROOT_PREFIX/usr/bin/cxxtools-config
|
||||
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/cxxtools-config
|
||||
|
||||
rm -rf $INSTALL/usr/bin
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
Index: cxxtools-2.2/src/Makefile.am
|
||||
===================================================================
|
||||
--- cxxtools-2.2.orig/src/Makefile.am 2013-05-05 13:56:03.225204926 +0300
|
||||
+++ cxxtools-2.2/src/Makefile.am 2013-05-05 13:56:14.017219885 +0300
|
||||
@@ -215,4 +215,4 @@
|
||||
endif
|
||||
|
||||
libcxxtools_la_LIBADD = $(LIBICONV)
|
||||
-libcxxtools_la_LDFLAGS = -version-info @sonumber@ @SHARED_LIB_FLAG@
|
||||
+libcxxtools_la_LDFLAGS = -version-info @sonumber@
|
||||
@@ -1,22 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. $(get_pkg_directory curl)/package.mk
|
||||
|
||||
PKG_NAME="curl3"
|
||||
PKG_URL=""
|
||||
PKG_LONGDESC="curl for dotnet"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
cp -r $(get_build_dir curl)/* $PKG_BUILD
|
||||
sed -i 's/CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@4/CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3/g' $PKG_BUILD/lib/libcurl.vers.in
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="krb5"
|
||||
PKG_VERSION="1.16.2-final"
|
||||
PKG_SHA256="92f62e5a54404d22aa2a7eee9fba64d1be8d10d8dd3aa052e1799993208acce4"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://web.mit.edu/kerberos/"
|
||||
PKG_URL="https://github.com/krb5/krb5/archive/krb5-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="The Kerberos network authentication protocol."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_regcomp=yes \
|
||||
ac_cv_printf_positional=yes \
|
||||
krb5_cv_attr_constructor_destructor=yes,yes"
|
||||
|
||||
post_unpack() {
|
||||
rm -rf $PKG_BUILD/doc
|
||||
mv $PKG_BUILD/src/* $PKG_BUILD
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="lttng-ust"
|
||||
PKG_VERSION="2.10.2"
|
||||
PKG_SHA256="015452be6f94e4468315d0478cd5a4d01d9e52672bcea122b4ff7426198d5803"
|
||||
PKG_LICENSE="LGPLv2.1"
|
||||
PKG_SITE="https://lttng.org/"
|
||||
PKG_URL="https://github.com/lttng/lttng-ust/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain userspace-rcu"
|
||||
PKG_LONGDESC="LTTng is an open source tracing framework for Linux"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-man-pages"
|
||||
|
||||
makeinstall_target() {
|
||||
make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="userspace-rcu"
|
||||
PKG_VERSION="0.10.1"
|
||||
PKG_SHA256="4ddbca9927b459b7a295dec612cf43df5886d398161d50c59d0097995e368a3b"
|
||||
PKG_LICENSE="LGPLv2.1"
|
||||
PKG_SITE="http://liburcu.org"
|
||||
PKG_URL="https://github.com/urcu/userspace-rcu/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="userspace read-copy-update library"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||
--enable-static"
|
||||
@@ -1,15 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="blindscan-s2"
|
||||
PKG_VERSION="192eaf0b3eccfb9721b3d49b9010b5c1447776e0"
|
||||
PKG_SHA256="c9e5bd07672765b30dac758844e2eb87ab68d5dc6bc731e9df6394159acddcbb"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://bitbucket.org/majortom/blindscan-s2"
|
||||
PKG_URL="https://github.com/PLi-metas/blindscan-s2/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="blindscan-s2 is a program to blindscan digital satellite signals"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,13 +1,33 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="bitstream"
|
||||
PKG_VERSION="1.4"
|
||||
PKG_SHA256="b2484940d3b8733bec9dd1ec1731de428261dff31c9f95874264be9dc9ce786b"
|
||||
PKG_VERSION="1.2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.videolan.org"
|
||||
PKG_URL="http://download.videolan.org/pub/videolan/bitstream/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_URL="http://download.videolan.org/pub/videolan/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF."
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
|
||||
PKG_LONGDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr"
|
||||
|
||||
@@ -1,14 +1,33 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libev"
|
||||
PKG_VERSION="4.24"
|
||||
PKG_SHA256="973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://software.schmorp.de/pkg/libev.html"
|
||||
PKG_URL="http://dist.schmorp.de/libev/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A full-featured and high-performance event loop."
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="libev: a full-featured and high-performance event loop"
|
||||
PKG_LONGDESC="A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs."
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||
--enable-static"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
|
||||
|
||||
@@ -1,20 +1,31 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dvb-apps"
|
||||
PKG_VERSION="3d43b280298c"
|
||||
PKG_SHA256="70c1d293ea3ddbcb970e01c8a51487ee97a4dcf33a73c0236c7d57757c7f6fb0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps"
|
||||
PKG_URL="http://linuxtv.org/hg/dvb-apps/archive/${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Applications for initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC."
|
||||
|
||||
pre_make_target() {
|
||||
export PERL_USE_UNSAFE_INC=1
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="Digitial Video Broadcasting (DVB) applications"
|
||||
PKG_LONGDESC="Applications and utilities geared towards the initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC standards."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
From: CvH <namerp@googlemail.com>
|
||||
Date: Wed, 22 Nov 2017 23:45:38 +0100
|
||||
Subject: [PATCH] fix for kernel >=4.14
|
||||
|
||||
---
|
||||
include/ca.h | 1 -
|
||||
util/dst-utils/dst_test.c | 14 --------------
|
||||
2 files changed, 15 deletions(-)
|
||||
|
||||
diff --git a/include/ca.h b/include/ca.h
|
||||
index c18537f..5ad21c9 100644
|
||||
--- a/include/ca.h
|
||||
+++ b/include/ca.h
|
||||
@@ -85,6 +85,5 @@ typedef struct ca_pid {
|
||||
#define CA_GET_MSG _IOR('o', 132, ca_msg_t)
|
||||
#define CA_SEND_MSG _IOW('o', 133, ca_msg_t)
|
||||
#define CA_SET_DESCR _IOW('o', 134, ca_descr_t)
|
||||
-#define CA_SET_PID _IOW('o', 135, ca_pid_t)
|
||||
|
||||
#endif
|
||||
diff --git a/util/dst-utils/dst_test.c b/util/dst-utils/dst_test.c
|
||||
index 74385de..5cf3bd8 100644
|
||||
--- a/util/dst-utils/dst_test.c
|
||||
+++ b/util/dst-utils/dst_test.c
|
||||
@@ -111,16 +111,6 @@ static int dst_reset(int cafd)
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int dst_set_pid(int cafd)
|
||||
-{
|
||||
- if ((ioctl(cafd, CA_SET_PID)) < 0) {
|
||||
- printf("%s: ioctl failed ..\n", __FUNCTION__);
|
||||
- return -1;
|
||||
- }
|
||||
-
|
||||
- return 0;
|
||||
-}
|
||||
-
|
||||
static int dst_get_descr(int cafd)
|
||||
{
|
||||
if ((ioctl(cafd, CA_GET_DESCR_INFO)) < 0) {
|
||||
@@ -229,10 +219,6 @@ int main(int argc, char *argv[])
|
||||
printf("%s: Reset\n", __FUNCTION__);
|
||||
dst_reset(cafd);
|
||||
break;
|
||||
- case 'p':
|
||||
- printf("%s: PID\n", __FUNCTION__);
|
||||
- dst_set_pid(cafd);
|
||||
- break;
|
||||
case 'g':
|
||||
printf("%s: Get Desc\n", __FUNCTION__);
|
||||
dst_get_descr(cafd);
|
||||
@@ -0,0 +1,61 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dvb-fe-tool"
|
||||
PKG_VERSION="1388a04"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://linuxtv.org/"
|
||||
PKG_URL="https://git.linuxtv.org/cgit.cgi/v4l-utils.git/snapshot/$PKG_VERSION.tar.xz"
|
||||
PKG_SOURCE_DIR="$PKG_VERSION*"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="dvb-fe-tool: Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
|
||||
PKG_LONGDESC="Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--disable-rpath \
|
||||
--disable-libdvbv5 \
|
||||
--disable-libv4l \
|
||||
--disable-v4l-utils \
|
||||
--disable-qv4l2 \
|
||||
--without-jpeg \
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix"
|
||||
|
||||
post_patch() {
|
||||
mkdir -p $ROOT/$PKG_BUILD/build-aux/
|
||||
touch $ROOT/$PKG_BUILD/build-aux/config.rpath
|
||||
touch $ROOT/$PKG_BUILD/libdvbv5-po/Makefile.in.in
|
||||
touch $ROOT/$PKG_BUILD/v4l-utils-po/Makefile.in.in
|
||||
}
|
||||
|
||||
make_target() {
|
||||
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
|
||||
make CFLAGS="$TARGET_CFLAGS"
|
||||
|
||||
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/utils/dvb
|
||||
make CFLAGS="$TARGET_CFLAGS"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -1,20 +1,41 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dvblast"
|
||||
PKG_VERSION="acf3844377351ea2949ce1c48dbfde589491013d"
|
||||
PKG_SHA256="007d2c93876892bd09c2a520bdce0b04f6469187123bbf24cdcf0d5effec5389"
|
||||
PKG_VERSION="3.1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://www.videolan.org/projects/dvblast.html"
|
||||
PKG_URL="http://repo.or.cz/dvblast.git/snapshot/${PKG_VERSION}.tar.gz"
|
||||
PKG_SITE="http://www.videolan.org"
|
||||
PKG_URL="http://downloads.videolan.org/pub/videolan/dvblast/${PKG_VERSION}/dvblast-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain bitstream libev"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
|
||||
PKG_LONGDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
MAKEFLAGS="V=1"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="$LDFLAGS -lm"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
: # nop
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dvbsnoop"
|
||||
PKG_VERSION="badf61fcdab1177c1162747be06d035a2b671e9b"
|
||||
PKG_SHA256="7f0f5d9ca15c5caae3ca249d95a5fc30cececd16f63e00a1404e0d2368ce56fa"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dvbsnoop.sourceforge.net/"
|
||||
PKG_URL="https://github.com/persianpros/dvbsnoop/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,15 +1,33 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2017-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mumudvb"
|
||||
PKG_VERSION="6153f87a17a94fbf6e71d710bef39c313302b494"
|
||||
PKG_SHA256="4e8dd903d0cba1e798c3921da83b332a9bbb5ad2102f5c1a9699965af6989e28"
|
||||
PKG_VERSION="fa9ff6e"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://mumudvb.net/"
|
||||
PKG_URL="https://github.com/braice/MuMuDVB/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="MuMuDVB-${PKG_VERSION}*"
|
||||
PKG_DEPENDS_TARGET="toolchain libdvbcsa"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
|
||||
PKG_LONGDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="szap-s2"
|
||||
PKG_VERSION="69ff3584caf9b46f7a551b39b9f9956f8461377c"
|
||||
PKG_SHA256="eea8d99d2d5d6403d624acdd9df908a2dd7767dd5469b44e9a281ff863096b32"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
|
||||
PKG_URL="https://bitbucket.org/CrazyCat/szap-s2/get/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="t2scan"
|
||||
PKG_VERSION="8b9ad91e8685ff80e7c5d924caec83f1ee49ebf3"
|
||||
PKG_SHA256="cdfae6232ba1bbc954bd228f9db217d004c07407cf46245816d39f4599e91111"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/mighty-p/t2scan"
|
||||
PKG_URL="https://github.com/mighty-p/t2scan/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A small channel scan tool which generates DVB-T/T2 channels.conf files."
|
||||
|
||||
# aml 3.14 hack
|
||||
pre_configure_target() {
|
||||
if [ "$LINUX" = "amlogic-3.14" -o "$LINUX" = "amlogic-3.10" ]; then
|
||||
sed -i 's/DVB_HEADER=0/DVB_HEADER=1/g' $PKG_BUILD/configure*
|
||||
sed -i 's/HAS_DVB_API5=0/HAS_DVB_API5=1/g' $PKG_BUILD/configure*
|
||||
fi
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user