mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Compare commits
641 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a76d1275a9 | ||
|
|
e16e263fb9 | ||
|
|
eacd50cbc6 | ||
|
|
fe39836041 | ||
|
|
23c5398ba5 | ||
|
|
87430084aa | ||
|
|
eee50c694c | ||
|
|
bdfc710974 | ||
|
|
98ace83f5b | ||
|
|
12174ee961 | ||
|
|
8bdd6863ad | ||
|
|
59c60c679c | ||
|
|
754d7fce84 | ||
|
|
405ab3fe30 | ||
|
|
ca20c72f08 | ||
|
|
1e54f6b690 | ||
|
|
c8c57fba6e | ||
|
|
cc4d220911 | ||
|
|
72580f1e82 | ||
|
|
8ade757f2b | ||
|
|
780de86d69 | ||
|
|
b55e08ea15 | ||
|
|
1e0100a45f | ||
|
|
2d2999fcf0 | ||
|
|
e29118865b | ||
|
|
dd508b24a7 | ||
|
|
34aa4b9b41 | ||
|
|
e0d690a2fc | ||
|
|
1a141e73fc | ||
|
|
05abd4a02f | ||
|
|
9667591332 | ||
|
|
92ccbd743a | ||
|
|
e41deb8256 | ||
|
|
fb92e8efc9 | ||
|
|
3e68c62f1c | ||
|
|
bf824be3c7 | ||
|
|
c3d292f978 | ||
|
|
ed3143fffe | ||
|
|
71060aaf91 | ||
|
|
23a4479aff | ||
|
|
66c4137a90 | ||
|
|
b265100ed7 | ||
|
|
59ebfda677 | ||
|
|
728a03c9c5 | ||
|
|
0793708613 | ||
|
|
615e4bda1e | ||
|
|
5332b5dd90 | ||
|
|
00ba45170f | ||
|
|
4bd00ea49b | ||
|
|
e8708f0772 | ||
|
|
e882c649fe | ||
|
|
a09b8ea227 | ||
|
|
3c6b246da1 | ||
|
|
0dc0085d12 | ||
|
|
501d64503f | ||
|
|
ce9deb7aa7 | ||
|
|
0ddf2aa42e | ||
|
|
1951715877 | ||
|
|
83282b6af0 | ||
|
|
d019b64b78 | ||
|
|
fb3975758f | ||
|
|
2b3c251900 | ||
|
|
332ab42cc7 | ||
|
|
9ab6b71716 | ||
|
|
469f1829c1 | ||
|
|
ec759de239 | ||
|
|
18581f3006 | ||
|
|
2a5e229a20 | ||
|
|
c3b52d6284 | ||
|
|
fd8aa6610d | ||
|
|
57afce6129 | ||
|
|
110ea515dc | ||
|
|
861bb0e445 | ||
|
|
ec446e21ef | ||
|
|
c7d8093c6b | ||
|
|
ba0a2ec358 | ||
|
|
07aa491253 | ||
|
|
00437c4c8d | ||
|
|
2509ccd743 | ||
|
|
4d9caffbe4 | ||
|
|
e39892557d | ||
|
|
e347b69d0e | ||
|
|
f20200dad3 | ||
|
|
cb7c0c9361 | ||
|
|
4ca25d29a7 | ||
|
|
2dab8326c4 | ||
|
|
169ebdb762 | ||
|
|
fcfa9a9d9c | ||
|
|
ed3ea1d53d | ||
|
|
de9a2ba961 | ||
|
|
a24745c9be | ||
|
|
bad81a508e | ||
|
|
bfa4e8d74b | ||
|
|
d2a7c9c5d2 | ||
|
|
24fb463fda | ||
|
|
63f25a2f8a | ||
|
|
c9695b5868 | ||
|
|
aade987f76 | ||
|
|
d8f951533a | ||
|
|
f840cb7ecf | ||
|
|
b384e473b5 | ||
|
|
6d144e7721 | ||
|
|
dfcf29fcec | ||
|
|
2e1fc1aba7 | ||
|
|
8ad20d22a6 | ||
|
|
63760a12d1 | ||
|
|
a284c9d5bc | ||
|
|
b99bae91ea | ||
|
|
daabb1301b | ||
|
|
e808b3d8ad | ||
|
|
92aee3070b | ||
|
|
cddbc32720 | ||
|
|
5d50feac62 | ||
|
|
c789a4ad1b | ||
|
|
5299cf1d93 | ||
|
|
8475f31d2a | ||
|
|
4a620a129a | ||
|
|
241dad6a1a | ||
|
|
46db9a3565 | ||
|
|
2af4df4f0a | ||
|
|
21e699ffd5 | ||
|
|
88971a551a | ||
|
|
a099563512 | ||
|
|
bc3a6e7c6b | ||
|
|
ebf3066572 | ||
|
|
12d33baa24 | ||
|
|
0d59f48407 | ||
|
|
dafd9bdb7b | ||
|
|
b27b2a95cc | ||
|
|
b3ce664f7e | ||
|
|
285d68b3b7 | ||
|
|
e2b4df7333 | ||
|
|
afdf552ba4 | ||
|
|
e385d80c5a | ||
|
|
215b7df748 | ||
|
|
a917a9a1c4 | ||
|
|
996ad540e4 | ||
|
|
429deca122 | ||
|
|
5135f3911d | ||
|
|
e994a82ae5 | ||
|
|
dc2934a984 | ||
|
|
d5bfe006c2 | ||
|
|
67a6991fcf | ||
|
|
18bd6b5478 | ||
|
|
514ae5bba9 | ||
|
|
0b8d0773b0 | ||
|
|
fb5fb91a3e | ||
|
|
c4f8e1b4f0 | ||
|
|
c40f234923 | ||
|
|
37f98b5239 | ||
|
|
763d8e0821 | ||
|
|
319bb26d4e | ||
|
|
39f48f3975 | ||
|
|
b261cb3eff | ||
|
|
8f0afd1530 | ||
|
|
bc86ad98db | ||
|
|
351652bba3 | ||
|
|
0783480fa9 | ||
|
|
c10ee861b8 | ||
|
|
01c51fec6a | ||
|
|
f5c7c8dc5e | ||
|
|
c302deacac | ||
|
|
6d87e3d781 | ||
|
|
04a81af6b4 | ||
|
|
8f8f03dbfa | ||
|
|
191e78e58e | ||
|
|
29af04fc3a | ||
|
|
de111dd5b2 | ||
|
|
c1dcaf7699 | ||
|
|
910b29e202 | ||
|
|
53fdef88c6 | ||
|
|
8ec2004c28 | ||
|
|
818c27d1da | ||
|
|
b651fd6c9b | ||
|
|
72fa600fb2 | ||
|
|
333cef4bfc | ||
|
|
7c3931c054 | ||
|
|
ebc0f91e06 | ||
|
|
30ddac55cd | ||
|
|
22e783687e | ||
|
|
02bb3bb0fc | ||
|
|
a2d75ff269 | ||
|
|
cf9417b501 | ||
|
|
2238b8d42e | ||
|
|
fbb99e9f2f | ||
|
|
d3be1316d2 | ||
|
|
8e53c0735a | ||
|
|
e4368fa60d | ||
|
|
74c883c7c1 | ||
|
|
b89b6f413a | ||
|
|
c87210552e | ||
|
|
8bfc82403f | ||
|
|
ad91bf9dec | ||
|
|
d1f3893465 | ||
|
|
f3413e4e75 | ||
|
|
37326be294 | ||
|
|
04af077a14 | ||
|
|
d5196096a0 | ||
|
|
6ecb5bc094 | ||
|
|
b060789373 | ||
|
|
55860debf3 | ||
|
|
f48bb2d072 | ||
|
|
7b43d13259 | ||
|
|
8b8a3fd30e | ||
|
|
19a1827729 | ||
|
|
1fbb16303b | ||
|
|
35ea6394f6 | ||
|
|
e536132072 | ||
|
|
733bd0eba9 | ||
|
|
6f0d290ab7 | ||
|
|
1ada221e6b | ||
|
|
d33c8126f7 | ||
|
|
45e0ac0327 | ||
|
|
90f3996106 | ||
|
|
1f866ebf00 | ||
|
|
027388f169 | ||
|
|
9bab3b1ef3 | ||
|
|
4c013a65cd | ||
|
|
3dc7f409a4 | ||
|
|
4c15c2d666 | ||
|
|
ba3f6d3aa7 | ||
|
|
42c75b0ed1 | ||
|
|
458bc9849f | ||
|
|
615517d508 | ||
|
|
e52ddc8c88 | ||
|
|
ae9ce1ca8d | ||
|
|
43fb0bb809 | ||
|
|
7eb64adeb5 | ||
|
|
ad3eda88cd | ||
|
|
69ce2cfeb6 | ||
|
|
b8bda970bc | ||
|
|
1704e10abc | ||
|
|
7ece64bea5 | ||
|
|
979b9baea1 | ||
|
|
909c7f2229 | ||
|
|
ebc48f2e52 | ||
|
|
fc983cb39b | ||
|
|
06931afbb4 | ||
|
|
b6f3f9c86a | ||
|
|
a0f5043758 | ||
|
|
04dfa5e7cc | ||
|
|
510401aa2a | ||
|
|
df763ec8cb | ||
|
|
894c10be26 | ||
|
|
23c70d1fca | ||
|
|
a45062b7d5 | ||
|
|
9110823729 | ||
|
|
0a4c147e91 | ||
|
|
28f83fa778 | ||
|
|
ce6bd84cd4 | ||
|
|
ecb139f9d2 | ||
|
|
da2bc78a05 | ||
|
|
6bb3d9556c | ||
|
|
31b93d8c56 | ||
|
|
94eea993f7 | ||
|
|
3d52ca3984 | ||
|
|
dd64e9d1da | ||
|
|
f37a6c50bd | ||
|
|
ee2785b63e | ||
|
|
92d8e0694e | ||
|
|
1ae430dbc7 | ||
|
|
aa7113a528 | ||
|
|
0ef9c41ff2 | ||
|
|
24aa0e7ad6 | ||
|
|
d1f501c72c | ||
|
|
ad0616d6e5 | ||
|
|
0e055a8d07 | ||
|
|
230a24f9f1 | ||
|
|
87573c86e1 | ||
|
|
ee7da2fcf6 | ||
|
|
c166bcea32 | ||
|
|
d252e341ed | ||
|
|
946459fa3f | ||
|
|
935db302e1 | ||
|
|
97c0cbed2c | ||
|
|
3a0c93131a | ||
|
|
7d1dfe6ac4 | ||
|
|
4e10d50bfe | ||
|
|
33e4f03a40 | ||
|
|
f8b307e193 | ||
|
|
06e32afa05 | ||
|
|
c30b314d63 | ||
|
|
2de087dab9 | ||
|
|
72609f4e8d | ||
|
|
c7e8f08b3c | ||
|
|
2d0e20b640 | ||
|
|
0808909d70 | ||
|
|
c1a0ab07cf | ||
|
|
c8e365c3fc | ||
|
|
d65c28092a | ||
|
|
518fa8b5c6 | ||
|
|
9119d3ae5b | ||
|
|
f13a0d1eef | ||
|
|
2bbdb116e3 | ||
|
|
a3a8d635ea | ||
|
|
b29f489f3a | ||
|
|
7056641696 | ||
|
|
e8fe8b4360 | ||
|
|
e0517f8be8 | ||
|
|
bca8001b26 | ||
|
|
b9a5386627 | ||
|
|
910d5e270c | ||
|
|
db5fae31e0 | ||
|
|
94a786c551 | ||
|
|
930813e7e5 | ||
|
|
d49ec62db6 | ||
|
|
3dda333228 | ||
|
|
a947397bf1 | ||
|
|
c9869e1074 | ||
|
|
8ce744b8b1 | ||
|
|
b6118c32c3 | ||
|
|
a39379ec1f | ||
|
|
3df48cc42f | ||
|
|
23b0cd7630 | ||
|
|
2939d07cb2 | ||
|
|
7c75d85280 | ||
|
|
0ce7b378bc | ||
|
|
356c829cad | ||
|
|
852aa74bb4 | ||
|
|
3223ad9cf1 | ||
|
|
fd07dd3478 | ||
|
|
0ceb8c2704 | ||
|
|
09d7a43f65 | ||
|
|
eb4ceeb5b8 | ||
|
|
fe6b6c7830 | ||
|
|
cb29080831 | ||
|
|
334025b42c | ||
|
|
c04447263a | ||
|
|
55b8a54128 | ||
|
|
384f78f44e | ||
|
|
d05a73c66f | ||
|
|
f9711f61f6 | ||
|
|
5743d7fe99 | ||
|
|
7267c72209 | ||
|
|
22392793bf | ||
|
|
9430a80dc4 | ||
|
|
2568ed6872 | ||
|
|
33b269b200 | ||
|
|
60a28bc8da | ||
|
|
0d842fd3a5 | ||
|
|
f6fade45af | ||
|
|
12ba0260ab | ||
|
|
9cd3aece8c | ||
|
|
3978747af7 | ||
|
|
0bb8b837ba | ||
|
|
5eec0f2d1c | ||
|
|
e19df6f449 | ||
|
|
ada645e251 | ||
|
|
bd3c329acb | ||
|
|
b32beecdf2 | ||
|
|
e97c647833 | ||
|
|
31a68a4a30 | ||
|
|
1295ed8c9d | ||
|
|
bc8f205059 | ||
|
|
b1d7a3d68b | ||
|
|
8d3b36e34d | ||
|
|
08e2d1080f | ||
|
|
139824f2e0 | ||
|
|
10032cbc2b | ||
|
|
c9dd60302d | ||
|
|
24c448405a | ||
|
|
d00c45151a | ||
|
|
c8328b27da | ||
|
|
bd502e8f11 | ||
|
|
47333ba494 | ||
|
|
27ab0b0f28 | ||
|
|
d48c3d8f50 | ||
|
|
2f03fcb23d | ||
|
|
78f303b5de | ||
|
|
7df57f81aa | ||
|
|
bcbef60dad | ||
|
|
4df449fc51 | ||
|
|
85436ab03e | ||
|
|
71dc1e5d06 | ||
|
|
f7a27122ce | ||
|
|
7f971be88b | ||
|
|
3bff39dd21 | ||
|
|
7111556a55 | ||
|
|
1411f6098f | ||
|
|
95eb836354 | ||
|
|
9e00840e8a | ||
|
|
4460592336 | ||
|
|
b708f5aeec | ||
|
|
69480d9cef | ||
|
|
738daa9499 | ||
|
|
475180c28d | ||
|
|
cf4f561229 | ||
|
|
84a8b5ad8a | ||
|
|
90b3b36121 | ||
|
|
8c5cee6e0b | ||
|
|
e5eb4c3e9d | ||
|
|
1426326e8f | ||
|
|
01fd0f8a8b | ||
|
|
9d5429d2bd | ||
|
|
d2cd80b9a8 | ||
|
|
a7c042811f | ||
|
|
16901ccd57 | ||
|
|
d5a18c8575 | ||
|
|
cc810553a1 | ||
|
|
266da54652 | ||
|
|
fa77afbb17 | ||
|
|
7e0d75a907 | ||
|
|
543ef35a27 | ||
|
|
abcd8fa161 | ||
|
|
e859c5db93 | ||
|
|
3fd44b70ea | ||
|
|
c035a54849 | ||
|
|
ccb121b2bc | ||
|
|
af1ed48815 | ||
|
|
25094ad2df | ||
|
|
721aec4d69 | ||
|
|
f9a4b788eb | ||
|
|
1504d3a0b3 | ||
|
|
635d8b2988 | ||
|
|
dce9240b0d | ||
|
|
2e3207f5ad | ||
|
|
3291bb723d | ||
|
|
26c44c742c | ||
|
|
7ad29a89ad | ||
|
|
c53131c923 | ||
|
|
a2d26e8a5a | ||
|
|
156f813b5f | ||
|
|
6aabafd0ac | ||
|
|
4e21006d85 | ||
|
|
836510a29c | ||
|
|
378125d4cd | ||
|
|
1f297bcb15 | ||
|
|
5bd73928fc | ||
|
|
2bf2dcfb8d | ||
|
|
dbb36ed68a | ||
|
|
6ed2d2c5bf | ||
|
|
b48ff9491c | ||
|
|
a3ccf93bd1 | ||
|
|
e538e903d8 | ||
|
|
f1fcc8b8e3 | ||
|
|
d15b536cef | ||
|
|
124a483bfc | ||
|
|
9e2bf58622 | ||
|
|
a0606e9d03 | ||
|
|
2b7f76693f | ||
|
|
66404925eb | ||
|
|
da61e204e7 | ||
|
|
666f35ba80 | ||
|
|
d570ed6062 | ||
|
|
3f68813a7f | ||
|
|
fa3a18cd02 | ||
|
|
b638a1fa71 | ||
|
|
69a23f2348 | ||
|
|
e765f843fa | ||
|
|
6cfce2058d | ||
|
|
3dd7c0f03a | ||
|
|
74eff6b4ba | ||
|
|
5e53dd9c38 | ||
|
|
c60648e264 | ||
|
|
82a92e7756 | ||
|
|
64d4617a24 | ||
|
|
aa05e81881 | ||
|
|
e1afc747b5 | ||
|
|
172c68e697 | ||
|
|
ce2d718dea | ||
|
|
0797dacee3 | ||
|
|
9c558aa2af | ||
|
|
825acf7b75 | ||
|
|
6f260e37be | ||
|
|
14e2e54611 | ||
|
|
a49aea0084 | ||
|
|
36eca04370 | ||
|
|
a0b3b0a5c3 | ||
|
|
a0fa19e0c7 | ||
|
|
d2c6ecdf09 | ||
|
|
d03c993501 | ||
|
|
06677cc7e1 | ||
|
|
49b9c41d6a | ||
|
|
903249ffed | ||
|
|
6b56b6fe80 | ||
|
|
7141f30022 | ||
|
|
d11b0a2259 | ||
|
|
11ea667968 | ||
|
|
fb374dafd2 | ||
|
|
3201678a5a | ||
|
|
c16861f798 | ||
|
|
57a942b084 | ||
|
|
afe0edcb1c | ||
|
|
d0fab4f3d7 | ||
|
|
dfd80b90e0 | ||
|
|
3f206c3046 | ||
|
|
cf7057a15b | ||
|
|
e780288cd0 | ||
|
|
85a343fdf3 | ||
|
|
ba54c4b27f | ||
|
|
c9f803817e | ||
|
|
14ea0a7032 | ||
|
|
2ce7af8697 | ||
|
|
c9afd791dd | ||
|
|
ccb2829eee | ||
|
|
b5905cebdc | ||
|
|
60ad30c0cb | ||
|
|
a07f0570c0 | ||
|
|
b539c46979 | ||
|
|
4273aa61b2 | ||
|
|
d681e6e2fa | ||
|
|
59fcb6a0f2 | ||
|
|
aff51d88d9 | ||
|
|
007c5a82a5 | ||
|
|
2f434d1c70 | ||
|
|
9a5bafc42e | ||
|
|
fd6f00f001 | ||
|
|
363e69cb95 | ||
|
|
aa76378d14 | ||
|
|
e421cc6b62 | ||
|
|
4ae9df4e14 | ||
|
|
0a9bd14a74 | ||
|
|
d627f3057e | ||
|
|
874cb67068 | ||
|
|
7d3bb1f892 | ||
|
|
c329687009 | ||
|
|
f4adec920d | ||
|
|
8b0b8d4b8d | ||
|
|
c40952a7ad | ||
|
|
882e5070f1 | ||
|
|
eabd65ce34 | ||
|
|
82b1247ca5 | ||
|
|
a52e5dfa05 | ||
|
|
e04fd4a957 | ||
|
|
a3318e7317 | ||
|
|
53ca0ea214 | ||
|
|
745e14dbd6 | ||
|
|
de99af22ae | ||
|
|
515a4c3d0f | ||
|
|
48df0ecaed | ||
|
|
02cb0d8c43 | ||
|
|
c31570c464 | ||
|
|
7df9efa931 | ||
|
|
e850affe98 | ||
|
|
b3a5f43ce6 | ||
|
|
25de5ce27e | ||
|
|
f9cef5cdec | ||
|
|
03f2d1a678 | ||
|
|
496ea19056 | ||
|
|
bf8b0fc4b9 | ||
|
|
8c35ddb957 | ||
|
|
96cfbf9a1f | ||
|
|
98f2198025 | ||
|
|
e5979b550a | ||
|
|
9863ba9cd4 | ||
|
|
eeb5d381f4 | ||
|
|
d7bdd36922 | ||
|
|
081fbb2aa1 | ||
|
|
f4d65af22a | ||
|
|
f731208929 | ||
|
|
5bbbbda8c5 | ||
|
|
0e8feb7e49 | ||
|
|
f7dff7e1ca | ||
|
|
098cdb02c0 | ||
|
|
0a2f215193 | ||
|
|
4b3dfa4c5a | ||
|
|
a51188bd68 | ||
|
|
e5c53e77a1 | ||
|
|
295a75cd1d | ||
|
|
3e19055372 | ||
|
|
d97b05a6f9 | ||
|
|
bba025202c | ||
|
|
524dc53ee8 | ||
|
|
dd4c00fcf6 | ||
|
|
b27b319c9f | ||
|
|
2e03e63b6b | ||
|
|
bb617446b8 | ||
|
|
8d01934c5c | ||
|
|
69b71ee3bb | ||
|
|
89248156b3 | ||
|
|
37302f18bb | ||
|
|
48aea71469 | ||
|
|
903cd8bb4a | ||
|
|
4bfb206432 | ||
|
|
b1c2191a20 | ||
|
|
5e5cc05c5a | ||
|
|
0d3742b333 | ||
|
|
39f13a26df | ||
|
|
86053a0336 | ||
|
|
5a290a3035 | ||
|
|
cc7ba9c381 | ||
|
|
f4a7a40a67 | ||
|
|
61fe12c0c2 | ||
|
|
ab43d6e255 | ||
|
|
a39238432c | ||
|
|
e1d7ab39b8 | ||
|
|
50a86a4799 | ||
|
|
915f6a0730 | ||
|
|
ed427bad70 | ||
|
|
ab33606563 | ||
|
|
310e937a08 | ||
|
|
7c98d2b83c | ||
|
|
cf1068712e | ||
|
|
28a90c5bb3 | ||
|
|
02089e2ca5 | ||
|
|
a48579e50b | ||
|
|
1c203aabed | ||
|
|
e390cf1008 | ||
|
|
d67e4b92fe | ||
|
|
006a2de227 | ||
|
|
c3841e579a | ||
|
|
fada301775 | ||
|
|
2086e76bcb | ||
|
|
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 | ||
|
|
fd382b9743 | ||
|
|
9dc1f5d168 | ||
|
|
e5b2ea3244 | ||
|
|
4e9fbb01fb | ||
|
|
db2facc06a | ||
|
|
2c8e9d4a15 | ||
|
|
1ab8c01495 |
35
config/addon/xbmc.broken.xml
Normal file
35
config/addon/xbmc.broken.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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>
|
||||
35
config/addon/xbmc.service.library.xml
Normal file
35
config/addon/xbmc.service.library.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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>
|
||||
@@ -17,16 +17,16 @@ setup_toolchain() {
|
||||
export CFLAGS="$TARGET_CFLAGS"
|
||||
export CXXFLAGS="$TARGET_CXXFLAGS"
|
||||
export LDFLAGS="$TARGET_LDFLAGS"
|
||||
export PKG_CONFIG="$ROOT/$TOOLCHAIN/bin/pkg-config"
|
||||
export PKG_CONFIG="$TOOLCHAIN/bin/pkg-config"
|
||||
export PKG_CONFIG_PATH=""
|
||||
export PKG_CONFIG_LIBDIR="$SYSROOT_PREFIX/usr/lib/pkgconfig:$SYSROOT_PREFIX/usr/share/pkgconfig"
|
||||
export PKG_CONFIG_SYSROOT_DIR="$SYSROOT_PREFIX"
|
||||
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
|
||||
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
|
||||
export CMAKE_CONF=$ROOT/$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf
|
||||
export CMAKE_CONF=$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf
|
||||
export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=/usr"
|
||||
if [ ! -f $CMAKE_CONF ] ; then
|
||||
mkdir -p $ROOT/$TOOLCHAIN/etc
|
||||
mkdir -p $TOOLCHAIN/etc
|
||||
echo "SET(CMAKE_SYSTEM_NAME Linux)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_SYSTEM_VERSION 1)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_SYSTEM_PROCESSOR $TARGET_ARCH)" >> $CMAKE_CONF
|
||||
@@ -39,8 +39,8 @@ setup_toolchain() {
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $CMAKE_CONF
|
||||
fi
|
||||
export HOST_CC="$ROOT/$TOOLCHAIN/bin/host-gcc"
|
||||
export HOST_CXX="$ROOT/$TOOLCHAIN/bin/host-g++"
|
||||
export HOST_CC="$TOOLCHAIN/bin/host-gcc"
|
||||
export HOST_CXX="$TOOLCHAIN/bin/host-g++"
|
||||
export HOSTCC="$HOST_CC"
|
||||
export HOSTCXX="$HOST_CXX"
|
||||
export CC_FOR_BUILD="$HOST_CC"
|
||||
@@ -54,8 +54,8 @@ setup_toolchain() {
|
||||
host|bootstrap)
|
||||
export DESTIMAGE="host"
|
||||
export AWK="gawk"
|
||||
export CC="$ROOT/$TOOLCHAIN/bin/host-gcc"
|
||||
export CXX="$ROOT/$TOOLCHAIN/bin/host-g++"
|
||||
export CC="$TOOLCHAIN/bin/host-gcc"
|
||||
export CXX="$TOOLCHAIN/bin/host-g++"
|
||||
export CPP="cpp"
|
||||
export LD="ld"
|
||||
export AS="as"
|
||||
@@ -69,14 +69,14 @@ setup_toolchain() {
|
||||
export CFLAGS="$HOST_CFLAGS"
|
||||
export CXXFLAGS="$HOST_CXXFLAGS"
|
||||
export LDFLAGS="$HOST_LDFLAGS"
|
||||
export PKG_CONFIG="$ROOT/$TOOLCHAIN/bin/pkg-config"
|
||||
export PKG_CONFIG="$TOOLCHAIN/bin/pkg-config"
|
||||
export PKG_CONFIG_PATH=""
|
||||
export PKG_CONFIG_LIBDIR="$ROOT/$TOOLCHAIN/lib/pkgconfig:$ROOT/$TOOLCHAIN/share/pkgconfig"
|
||||
export PKG_CONFIG_LIBDIR="$TOOLCHAIN/lib/pkgconfig:$TOOLCHAIN/share/pkgconfig"
|
||||
export PKG_CONFIG_SYSROOT_DIR=""
|
||||
unset PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
|
||||
unset PKG_CONFIG_ALLOW_SYSTEM_LIBS
|
||||
export CMAKE_CONF=$ROOT/$TOOLCHAIN/etc/cmake-$HOST_NAME.conf
|
||||
export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=$ROOT/$TOOLCHAIN"
|
||||
export CMAKE_CONF=$TOOLCHAIN/etc/cmake-$HOST_NAME.conf
|
||||
export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=$TOOLCHAIN"
|
||||
if [ ! -f $CMAKE_CONF ] ; then
|
||||
mkdir -p $TOOLCHAIN/etc
|
||||
echo "SET(CMAKE_SYSTEM_NAME Linux)" >> $CMAKE_CONF
|
||||
@@ -85,7 +85,7 @@ setup_toolchain() {
|
||||
echo "SET(CMAKE_CXX_COMPILER $CXX)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_CPP_COMPILER $CXX)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_AR $AR CACHE FILEPATH "Archiver")" >> $CMAKE_CONF # hum?
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH $ROOT/$TOOLCHAIN)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH $TOOLCHAIN)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)" >> $CMAKE_CONF
|
||||
@@ -120,7 +120,7 @@ get_module_dir() {
|
||||
get_build_dir() {
|
||||
local _PKG_NAME="$(get_pkg_variable "$1" PKG_NAME)" _PKG_VERSION="$(get_pkg_version "$1")"
|
||||
if [ -n "$_PKG_NAME" -a -n "$_PKG_VERSION" ]; then
|
||||
echo $ROOT/$BUILD/${_PKG_NAME}-${_PKG_VERSION}
|
||||
echo $BUILD/${_PKG_NAME}-${_PKG_VERSION}
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -182,41 +182,41 @@ add_group() {
|
||||
do_autoreconf() {
|
||||
export ACLOCAL_DIR=$SYSROOT_PREFIX/usr/share/aclocal
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/autoconf" ]; then
|
||||
export AUTOCONF=$ROOT/$TOOLCHAIN/bin/autoconf
|
||||
if [ -e "$TOOLCHAIN/bin/autoconf" ]; then
|
||||
export AUTOCONF=$TOOLCHAIN/bin/autoconf
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/automake" ]; then
|
||||
export AUTOMAKE=$ROOT/$TOOLCHAIN/bin/automake
|
||||
if [ -e "$TOOLCHAIN/bin/automake" ]; then
|
||||
export AUTOMAKE=$TOOLCHAIN/bin/automake
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/autopoint" ]; then
|
||||
export AUTOPOINT=$ROOT/$TOOLCHAIN/bin/autopoint
|
||||
if [ -e "$TOOLCHAIN/bin/autopoint" ]; then
|
||||
export AUTOPOINT=$TOOLCHAIN/bin/autopoint
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/libtoolize" ]; then
|
||||
export LIBTOOLIZE=$ROOT/$TOOLCHAIN/bin/libtoolize
|
||||
if [ -e "$TOOLCHAIN/bin/libtoolize" ]; then
|
||||
export LIBTOOLIZE=$TOOLCHAIN/bin/libtoolize
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/intltoolize" ]; then
|
||||
export INTLTOOLIZE=$ROOT/$TOOLCHAIN/bin/intltoolize
|
||||
if [ -e "$TOOLCHAIN/bin/intltoolize" ]; then
|
||||
export INTLTOOLIZE=$TOOLCHAIN/bin/intltoolize
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/aclocal" ]; then
|
||||
export ACLOCAL="$ROOT/$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
|
||||
if [ -e "$TOOLCHAIN/bin/aclocal" ]; then
|
||||
export ACLOCAL="$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/autoheader" ]; then
|
||||
export AUTOHEADER=$ROOT/$TOOLCHAIN/bin/autoheader
|
||||
if [ -e "$TOOLCHAIN/bin/autoheader" ]; then
|
||||
export AUTOHEADER=$TOOLCHAIN/bin/autoheader
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/libtool" ]; then
|
||||
export LIBTOOL=$ROOT/$TOOLCHAIN/bin/libtool
|
||||
if [ -e "$TOOLCHAIN/bin/libtool" ]; then
|
||||
export LIBTOOL=$TOOLCHAIN/bin/libtool
|
||||
fi
|
||||
|
||||
if [ -e "$ROOT/$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
|
||||
if [ -e "$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
|
||||
mkdir -p $ACLOCAL_DIR
|
||||
export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
|
||||
export AUTORECONF="$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
|
||||
$AUTORECONF $@
|
||||
fi
|
||||
}
|
||||
@@ -329,7 +329,7 @@ dashes="==========================="
|
||||
linux_config_dir="$PROJECT_DIR/$PROJECT/linux"
|
||||
fi
|
||||
|
||||
if [ ! -f $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
|
||||
if [ ! -e $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
|
||||
! ls $linux_config_dir/*/linux.$TARGET_ARCH.conf &>/dev/null; then
|
||||
check_arch="$check_arch\n $dashes$dashes$dashes"
|
||||
check_arch="$check_arch\n ERROR: Architecture not found, use a valid Architecture"
|
||||
@@ -338,6 +338,7 @@ dashes="==========================="
|
||||
check_arch="$check_arch\n\n Valid Architectures for your project: $PROJECT"
|
||||
|
||||
for arch in $linux_config_dir/*.conf $linux_config_dir/*/linux.$TARGET_ARCH.conf; do
|
||||
[[ ${arch} =~ .*\*.* ]] && continue #ignore unexpanded wildcard
|
||||
check_arch="$check_arch\n - $(basename $arch | cut -f2 -d".")"
|
||||
done
|
||||
echo -e $check_arch
|
||||
@@ -507,7 +508,7 @@ show_config() {
|
||||
# strip
|
||||
debug_strip() {
|
||||
if [ ! "$DEBUG" = yes ]; then
|
||||
find $* -type f -executable | xargs $STRIP 1>/dev/null || :
|
||||
find $* -type f -executable | xargs $STRIP 2>/dev/null || :
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"partitions": [
|
||||
{
|
||||
"label": "@DISTRONAME@_@PROJECT@_System",
|
||||
"label": "System",
|
||||
"filesystem_type": "FAT",
|
||||
"partition_size_nominal": @SYSTEM_SIZE@,
|
||||
"want_maximised": false,
|
||||
@@ -9,7 +9,7 @@
|
||||
"mkfs_options": ""
|
||||
},
|
||||
{
|
||||
"label": "@DISTRONAME@_@PROJECT@_Storage",
|
||||
"label": "Storage",
|
||||
"filesystem_type": "ext4",
|
||||
"partition_size_nominal": 512,
|
||||
"want_maximised": true,
|
||||
|
||||
@@ -28,10 +28,10 @@ TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
|
||||
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"
|
||||
|
||||
HOST_CPPFLAGS=""
|
||||
HOST_CFLAGS="-O2 -Wall -pipe -I$ROOT/$TOOLCHAIN/include"
|
||||
HOST_CFLAGS="-O2 -Wall -pipe -I$TOOLCHAIN/include"
|
||||
HOST_CXXFLAGS="$HOST_CFLAGS"
|
||||
HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
|
||||
HOST_LIBDIR="$ROOT/$TOOLCHAIN/lib"
|
||||
HOST_LDFLAGS="-Wl,-rpath,$TOOLCHAIN/lib -L$TOOLCHAIN/lib"
|
||||
HOST_LIBDIR="$TOOLCHAIN/lib"
|
||||
|
||||
# work around Ubuntu default C*FLAGS
|
||||
# see https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
|
||||
@@ -70,4 +70,4 @@ HOST_CXXFLAGS="$HOST_CXXFLAGS -Wno-format-security"
|
||||
|
||||
# default dirs
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
|
||||
HOST_INCDIR="$ROOT/$TOOLCHAIN/include /usr/include"
|
||||
HOST_INCDIR="$TOOLCHAIN/include /usr/include"
|
||||
|
||||
48
config/path
48
config/path
@@ -19,16 +19,9 @@ set -e
|
||||
HOST_NAME=`$LOCAL_CC -dumpmachine`
|
||||
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
|
||||
|
||||
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
|
||||
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
|
||||
fi
|
||||
|
||||
if [ -n "$BUILD_SUFFIX" ]; then
|
||||
@@ -43,11 +36,11 @@ STAMPS=$BUILD/.stamps
|
||||
STAMPS_INSTALL=$BUILD/image/.stamps
|
||||
DOCS=DOCS
|
||||
TOOLCHAIN=$BUILD/toolchain
|
||||
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||
SYSROOT_PREFIX=$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||
LIB_PREFIX=$SYSROOT_PREFIX/usr
|
||||
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
||||
TARGET_PREFIX=$TOOLCHAIN/bin/$TARGET_NAME-
|
||||
|
||||
FAKEROOT_SCRIPT=$ROOT/.fakeroot.$BUILD
|
||||
FAKEROOT_SCRIPT=$BUILD/.fakeroot
|
||||
|
||||
if [ -z "$INSTALL" ]; then
|
||||
INSTALL=$BUILD/image/system
|
||||
@@ -56,8 +49,8 @@ INSTALL_INIT=$BUILD/image/initramfs/root-image
|
||||
|
||||
. config/sources
|
||||
|
||||
MAKE="$ROOT/$TOOLCHAIN/bin/make"
|
||||
MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
|
||||
MAKE="$TOOLCHAIN/bin/make"
|
||||
MAKEINSTALL="$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
|
||||
SED="sed -i"
|
||||
|
||||
# set package metadata
|
||||
@@ -76,9 +69,19 @@ SED="sed -i"
|
||||
PKG_DEPENDS_BOOTSTRAP=""
|
||||
PKG_SECTION=""
|
||||
PKG_SHORTDESC="$1 (autogenerated)"
|
||||
PKG_LONGDESC=""
|
||||
PKG_LONGDESC="$1 (autogenerated)"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_PATCH_DIRS=""
|
||||
PKG_NEED_UNPACK=""
|
||||
PKG_SHA256=""
|
||||
PKG_ADDON_BROKEN=""
|
||||
PKG_ADDON_NAME=""
|
||||
PKG_ADDON_PROVIDES=""
|
||||
PKG_ADDON_REQUIRES=""
|
||||
PKG_ADDON_SCREENSHOT=""
|
||||
PKG_ADDON_TYPE=""
|
||||
PKG_DISCLAIMER=""
|
||||
PKG_MAINTAINER=""
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
_PKG_ROOT_NAME=${1%:*}
|
||||
@@ -141,6 +144,7 @@ SED="sed -i"
|
||||
|
||||
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"
|
||||
PKG_NEED_UNPACK="${PKG_NEED_UNPACK} $(get_pkg_directory $MEDIACENTER)"
|
||||
fi
|
||||
|
||||
# Automatically set PKG_SOURCE_NAME unless it is already defined.
|
||||
@@ -187,17 +191,17 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
|
||||
. config/optimize
|
||||
|
||||
if [ -z "$CCACHE_DIR" ]; then
|
||||
export CCACHE_DIR=$ROOT/$BUILD/.ccache
|
||||
export CCACHE_DIR=$BUILD/.ccache
|
||||
fi
|
||||
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
|
||||
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
|
||||
export PKG_CONFIG=$TOOLCHAIN/bin/pkg-config
|
||||
|
||||
if [ -z "$PATH" -o "$PATH" = "${PATH#$ROOT/$TOOLCHAIN/bin:}" ]; then
|
||||
export PATH="$ROOT/$TOOLCHAIN/bin:$ROOT/$TOOLCHAIN/sbin:$PATH"
|
||||
if [ -z "$PATH" -o "$PATH" = "${PATH#$TOOLCHAIN/bin:}" ]; then
|
||||
export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin:$PATH"
|
||||
fi
|
||||
|
||||
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"
|
||||
if [ -z "$LD_LIBRARY_PATH" -o "$LD_LIBRARY_PATH" = "${LD_LIBRARY_PATH#$TOOLCHAIN/lib:}" ]; then
|
||||
export LD_LIBRARY_PATH="$TOOLCHAIN/lib:$LD_LIBRARY_PATH"
|
||||
fi
|
||||
|
||||
VERSION_SUFFIX=$TARGET_ARCH
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# VERSION: set full version, use "devel" for development version
|
||||
LIBREELEC_VERSION="8.0.2"
|
||||
LIBREELEC_VERSION="8.2.4"
|
||||
|
||||
# OS_VERSION: OS Version
|
||||
OS_VERSION="8.0"
|
||||
OS_VERSION="8.2"
|
||||
|
||||
# ADDON_VERSION: Addon version
|
||||
ADDON_VERSION="8.1"
|
||||
|
||||
ADDON_VERSION="8.2"
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# LibreELEC #"
|
||||
GREETING2="# http://libreelec.tv #"
|
||||
GREETING1="# LibreELEC #"
|
||||
GREETING2="# https://libreelec.tv #"
|
||||
GREETING3="##############################################"
|
||||
GREETING4=""
|
||||
|
||||
@@ -136,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"
|
||||
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy vmware"
|
||||
|
||||
# build and install remote support (yes / no)
|
||||
REMOTE_SUPPORT="yes"
|
||||
@@ -158,13 +158,13 @@
|
||||
INITRAMFS_PARTED_SUPPORT="no"
|
||||
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
SWAP_SUPPORT="yes"
|
||||
|
||||
# swap support enabled per default (yes / no)
|
||||
SWAP_ENABLED_DEFAULT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
SWAPFILESIZE="128"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
@@ -195,4 +195,4 @@
|
||||
# Default size of system partition, in MB, eg. 512
|
||||
SYSTEM_SIZE=512
|
||||
# Default system partition offset, in sectors, eg. 2048
|
||||
SYSTEM_PART_START=2048
|
||||
SYSTEM_PART_START=8192
|
||||
|
||||
23
licenses/BSL.txt
Normal file
23
licenses/BSL.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
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.
|
||||
37
packages/addons/addon-depends/ccid/package.mk
Normal file
37
packages/addons/addon-depends/ccid/package.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2017-present Team LibreELEC
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.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="ccid"
|
||||
PKG_VERSION="1.4.28"
|
||||
PKG_ARCH="any"
|
||||
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_SECTION="driver"
|
||||
PKG_SHORTDESC="CCID free software driver"
|
||||
PKG_LONGDESC="CCID free software driver"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --enable-twinserial"
|
||||
|
||||
make_target() {
|
||||
make
|
||||
make -C src/ Info.plist
|
||||
}
|
||||
@@ -57,12 +57,12 @@ pre_make_target() {
|
||||
export CGO_NO_EMULATION=1
|
||||
export CGO_CFLAGS=$CFLAGS
|
||||
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 GOLANG=$TOOLCHAIN/lib/golang/bin/go
|
||||
export GOPATH=$PKG_BUILD.gopath:$PKG_BUILD/vendor/
|
||||
export GOROOT=$TOOLCHAIN/lib/golang
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
|
||||
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/vendor/src/github.com/docker/containerd
|
||||
ln -fs $PKG_BUILD $PKG_BUILD/vendor/src/github.com/docker/containerd
|
||||
}
|
||||
|
||||
make_target() {
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
# 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="blindscan-s2"
|
||||
PKG_VERSION="94cb626"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://bitbucket.org/majortom/blindscan-s2"
|
||||
PKG_URL="https://github.com/persianpros/blindscan-s2/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="blindscan-s2 is a program to blindscan digital satellite signals"
|
||||
PKG_LONGDESC="blindscan-s2 is a program to blindscan digital satellite signals"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -29,3 +29,7 @@ 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"
|
||||
|
||||
pre_make_target() {
|
||||
export PERL_USE_UNSAFE_INC=1
|
||||
}
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dvb-fe-tool"
|
||||
PKG_VERSION="1388a04"
|
||||
PKG_VERSION="326060c"
|
||||
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_DEPENDS_TARGET="toolchain systemd"
|
||||
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)."
|
||||
@@ -42,17 +42,17 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--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
|
||||
mkdir -p $PKG_BUILD/build-aux/
|
||||
touch $PKG_BUILD/build-aux/config.rpath
|
||||
touch $PKG_BUILD/libdvbv5-po/Makefile.in.in
|
||||
touch $PKG_BUILD/v4l-utils-po/Makefile.in.in
|
||||
}
|
||||
|
||||
make_target() {
|
||||
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
|
||||
cd $PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
|
||||
make CFLAGS="$TARGET_CFLAGS"
|
||||
|
||||
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/utils/dvb
|
||||
cd $PKG_BUILD/.$TARGET_NAME/utils/dvb
|
||||
make CFLAGS="$TARGET_CFLAGS"
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
# 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="dvbsnoop"
|
||||
PKG_VERSION="c1ec72f"
|
||||
PKG_ARCH="any"
|
||||
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_SECTION="tools"
|
||||
PKG_SHORTDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
|
||||
PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mumudvb"
|
||||
PKG_VERSION="fa9ff6e"
|
||||
PKG_VERSION="b3c9ae7"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://mumudvb.net/"
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
# 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="szap-s2"
|
||||
PKG_VERSION="69ff358"
|
||||
PKG_ARCH="any"
|
||||
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_SOURCE_DIR="CrazyCat-${PKG_NAME}-${PKG_VERSION}*"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
|
||||
PKG_LONGDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
# 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="tune-s2"
|
||||
PKG_VERSION="60cc4aa"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
|
||||
PKG_URL="https://bitbucket.org/CrazyCat/tune-s2/get/$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="CrazyCat-${PKG_NAME}-${PKG_VERSION}*"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="tune-s2 is a small linux app to be able to tune a dvb devices"
|
||||
PKG_LONGDESC="tune-s2 is a small linux app to be able to tune a dvb devices"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -31,7 +31,7 @@ PKG_AUTORECONF="yes"
|
||||
# aml 3.14 is meh
|
||||
pre_configure_target() {
|
||||
if [ "$TARGET_ARCH" = "aarch64" ]; then
|
||||
sed -i 's/DVB_HEADER=0/DVB_HEADER=1/g' $ROOT/$PKG_BUILD/configure*
|
||||
sed -i 's/HAS_DVB_API5=0/HAS_DVB_API5=1/g' $ROOT/$PKG_BUILD/configure*
|
||||
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
|
||||
}
|
||||
|
||||
@@ -1,113 +0,0 @@
|
||||
################################################################################
|
||||
# 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="ffmpegx"
|
||||
PKG_VERSION="libreelec"
|
||||
PKG_REV="8"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPLv2.1+"
|
||||
PKG_SITE="https://ffmpeg.org"
|
||||
PKG_DEPENDS_TARGET="toolchain ffmpeg lame x264"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="FFmpeg+"
|
||||
PKG_LONGDESC="FFmpeg built static with additional features"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_target() {
|
||||
cd "$ROOT/$PKG_BUILD"
|
||||
rm -rf ".$TARGET_NAME"
|
||||
cp -PR $(get_build_dir ffmpeg)/* .
|
||||
make clean
|
||||
|
||||
# ffmpeg builds better with these options
|
||||
strip_gold
|
||||
strip_lto
|
||||
|
||||
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
|
||||
CFLAGS="-DRPI=1 -I$SYSROOT_PREFIX/usr/include/IL -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS"
|
||||
FFMPEG_LIBS="-lbcm_host -ldl -lmmal -lmmal_core -lmmal_util -lvchiq_arm -lvcos -lvcsm"
|
||||
FFMPEG_RPI_HADE="--enable-mmal --enable-omx-rpi"
|
||||
fi
|
||||
|
||||
# ffmpeg does not build with libx264 on aarch64
|
||||
if [ "$TARGET_ARCH" != "aarch64" ]; then
|
||||
FFMPEG_X264="--enable-libx264"
|
||||
fi
|
||||
|
||||
if [ "$TARGET_ARCH" == "arm" ]; then
|
||||
FFMPEG_ARM_AO="--enable-hardcoded-tables"
|
||||
fi
|
||||
}
|
||||
|
||||
configure_target() {
|
||||
./configure \
|
||||
\
|
||||
`#Licensing options` \
|
||||
--enable-gpl \
|
||||
\
|
||||
`#Documentation options` \
|
||||
--disable-doc \
|
||||
\
|
||||
`#Hardware accelerated decoding encoding` \
|
||||
$FFMPEG_RPI_HADE \
|
||||
\
|
||||
`#External library support` \
|
||||
--enable-libmp3lame \
|
||||
$FFMPEG_X264 \
|
||||
--enable-openssl \
|
||||
\
|
||||
`#Toolchain options` \
|
||||
--arch="$TARGET_ARCH" \
|
||||
--cpu="$TARGET_CPU" \
|
||||
--cross-prefix="$TARGET_PREFIX" \
|
||||
--enable-cross-compile \
|
||||
--sysroot="$SYSROOT_PREFIX" \
|
||||
--sysinclude="$SYSROOT_PREFIX/usr/include" \
|
||||
--target-os="linux" \
|
||||
--nm="$NM" \
|
||||
--ar="$AR" \
|
||||
--as="$CC" \
|
||||
--cc="$CC" \
|
||||
--ld="$CC" \
|
||||
--pkg-config="$ROOT/$TOOLCHAIN/bin/pkg-config" \
|
||||
--host-cc="$HOST_CC" \
|
||||
--host-cflags="$HOST_CFLAGS" \
|
||||
--host-ldflags="$HOST_LDFLAGS" \
|
||||
--host-libs="-lm" \
|
||||
--extra-cflags="$CFLAGS" \
|
||||
--extra-ldflags="$LDFLAGS" \
|
||||
--extra-libs="$FFMPEG_LIBS" \
|
||||
--extra-version="x" \
|
||||
--enable-pic \
|
||||
\
|
||||
`#Advanced options` \
|
||||
$FFMPEG_ARM_AO \
|
||||
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
make install DESTDIR=$INSTALL
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
for ff in $INSTALL/usr/local/bin/*; do mv $ff ${ff}x; done
|
||||
rm -fr $INSTALL/usr/local/include
|
||||
rm -fr $INSTALL/usr/local/share/ffmpeg/examples
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,20 +17,14 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="imagemagick"
|
||||
PKG_VERSION="7.0.5-0"
|
||||
PKG_ARCH="any"
|
||||
PKG_VERSION="7.0.7-1"
|
||||
PKG_LICENSE="http://www.imagemagick.org/script/license.php"
|
||||
PKG_SITE="http://www.imagemagick.org/"
|
||||
PKG_URL="http://www.imagemagick.org/download/releases/ImageMagick-$PKG_VERSION.tar.xz"
|
||||
PKG_URL="https://github.com/ImageMagick/ImageMagick/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="ImageMagick-$PKG_VERSION"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11"
|
||||
PKG_SECTION="graphics"
|
||||
PKG_SHORTDESC="ImageMagick"
|
||||
PKG_LONGDESC="Software suite to create, edit, compose, or convert bitmap images"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--enable-shared \
|
||||
--with-quantum-depth=8 \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,19 +17,17 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="enet"
|
||||
PKG_VERSION="1.3.13"
|
||||
PKG_VERSION="e33ca1d"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE=""
|
||||
PKG_SITE=""
|
||||
PKG_URL="http://enet.bespin.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_SITE="https://github.com/cgutman/enet/"
|
||||
PKG_URL="https://github.com/cgutman/enet/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="network"
|
||||
PKG_SHORTDESC="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol)"
|
||||
PKG_LONGDESC="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol)"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_USE_CMAKE="no"
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
# 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="fdk-aac"
|
||||
PKG_VERSION="0.1.5"
|
||||
PKG_SHA256="ff53d1d01cacc29c071e23192dfefa93bdbeaf775fc5d296259b4859d0306b79"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="other"
|
||||
PKG_SITE="https://sourceforge.net/projects/opencore-amr/"
|
||||
PKG_URL="https://github.com/mstorsjo/fdk-aac/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_LONGDESC="A standalone library of the Fraunhofer FDK AAC code from Android."
|
||||
PKG_AUTORECONF="yes"
|
||||
@@ -0,0 +1,61 @@
|
||||
################################################################################
|
||||
# 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="libvpx"
|
||||
PKG_VERSION="1.6.1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="https://www.webmproject.org"
|
||||
PKG_URL="https://github.com/webmproject/libvpx/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain yasm:host"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="WebM VP8/VP9 Codec SDK"
|
||||
PKG_LONGDESC="The WebM Project is dedicated to developing a high-quality, open video format for the web that's freely available to everyone."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
configure_target() {
|
||||
|
||||
case $ARCH in
|
||||
aarch64)
|
||||
TARGET_NAME_LIBVPX="arm64-linux-gcc"
|
||||
;;
|
||||
arm)
|
||||
TARGET_NAME_LIBVPX="armv7-linux-gcc"
|
||||
;;
|
||||
x86_64)
|
||||
TARGET_NAME_LIBVPX="x86_64-linux-gcc"
|
||||
;;
|
||||
esac
|
||||
|
||||
$PKG_CONFIGURE_SCRIPT --prefix=/usr \
|
||||
--extra-cflags="$CFLAGS" \
|
||||
--as=yasm \
|
||||
--target=$TARGET_NAME_LIBVPX \
|
||||
--disable-docs \
|
||||
--disable-examples \
|
||||
--disable-shared \
|
||||
--disable-tools \
|
||||
--disable-unit-tests \
|
||||
--disable-vp8-decoder \
|
||||
--disable-vp9-decoder \
|
||||
--enable-ccache \
|
||||
--enable-pic \
|
||||
--enable-static \
|
||||
--enable-vp8 \
|
||||
--enable-vp9
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,21 +17,17 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="x264"
|
||||
PKG_VERSION="snapshot-20170327-2245-stable"
|
||||
PKG_ARCH="any"
|
||||
PKG_VERSION="snapshot-20171015-2245"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.videolan.org/developers/x264.html"
|
||||
PKG_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="https://download.videolan.org/x264/snapshots/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="x264"
|
||||
PKG_LONGDESC="x264"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_target() {
|
||||
cd $ROOT/$PKG_BUILD
|
||||
cd $PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
# 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="x265"
|
||||
PKG_VERSION="2.5"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/videolan/x265"
|
||||
PKG_URL="https://github.com/videolan/x265/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_LONGDESC="x265 is a H.265/HEVC video encoder application library"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_target() {
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
cmake -G "Unix Makefiles" ./source
|
||||
}
|
||||
190
packages/addons/addon-depends/ffmpegx/package.mk
Normal file
190
packages/addons/addon-depends/ffmpegx/package.mk
Normal file
@@ -0,0 +1,190 @@
|
||||
################################################################################
|
||||
# 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="ffmpegx"
|
||||
PKG_VERSION="3.4"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPLv2.1+"
|
||||
PKG_SITE="https://ffmpeg.org"
|
||||
PKG_URL="https://github.com/FFmpeg/FFmpeg/archive/n${PKG_VERSION}.tar.gz"
|
||||
PKG_SOURCE_DIR="FFmpeg-n${PKG_VERSION}"
|
||||
PKG_DEPENDS_TARGET="toolchain bzip2 fdk-aac libvorbis openssl opus x264 x265 zlib"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_LONGDESC="FFmpegx is an complete FFmpeg build to support encoding and decoding"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
# Dependencies
|
||||
get_graphicdrivers
|
||||
|
||||
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver"
|
||||
fi
|
||||
|
||||
# ARMv6 is no longer supported by libvpx
|
||||
if [ "$PROJECT" != "RPi" -a "$PROJECT" != "Slice" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libvpx"
|
||||
fi
|
||||
|
||||
pre_configure_target() {
|
||||
cd $PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
|
||||
# ffmpeg builds better with these options
|
||||
strip_gold
|
||||
strip_lto
|
||||
|
||||
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
|
||||
CFLAGS="-DRPI=1 -I$SYSROOT_PREFIX/usr/include/IL -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS"
|
||||
PKG_FFMPEG_LIBS="-lbcm_host -ldl -lmmal -lmmal_core -lmmal_util -lvchiq_arm -lvcos -lvcsm"
|
||||
fi
|
||||
|
||||
if [ "$TARGET_ARCH" == "arm" ]; then
|
||||
PKG_FFMPEG_ARM_AO="--enable-hardcoded-tables"
|
||||
fi
|
||||
|
||||
# HW encoders
|
||||
|
||||
# RPi 0-3
|
||||
if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
|
||||
PKG_FFMPEG_HW_ENCODERS_RPi="\
|
||||
`#Video encoders` \
|
||||
--enable-omx-rpi \
|
||||
--enable-mmal \
|
||||
--enable-encoder=h264_omx \
|
||||
\
|
||||
`#Video hwaccel` \
|
||||
--enable-hwaccel=h264_mmal \
|
||||
--enable-hwaccel=mpeg2_mmal \
|
||||
--enable-hwaccel=mpeg4_mmal \
|
||||
--enable-hwaccel=vc1_mmal"
|
||||
fi
|
||||
|
||||
# Generic
|
||||
if [[ "$TARGET_ARCH" = "x86_64" ]]; then
|
||||
PKG_FFMPEG_HW_ENCODERS_GENERIC="\
|
||||
`#Video encoders` \
|
||||
--enable-encoder=h264_nvenc \
|
||||
--enable-encoder=h264_vaapi \
|
||||
--enable-encoder=hevc_nvenc \
|
||||
--enable-encoder=hevc_vaapi \
|
||||
--enable-encoder=mjpeg_vaapi \
|
||||
--enable-encoder=mpeg2_vaapi \
|
||||
--enable-encoder=vp8_vaapi \
|
||||
--enable-encoder=vp9_vaapi \
|
||||
\
|
||||
`#Video hwaccel` \
|
||||
--enable-hwaccel=h263_vaapi \
|
||||
--enable-hwaccel=h264_vaapi \
|
||||
--enable-hwaccel=hevc_vaapi \
|
||||
--enable-hwaccel=mpeg2_vaapi \
|
||||
--enable-hwaccel=mpeg4_vaapi \
|
||||
--enable-hwaccel=vc1_vaapi \
|
||||
--enable-hwaccel=vp9_vaapi \
|
||||
--enable-hwaccel=wmv3_vaapi"
|
||||
fi
|
||||
|
||||
# Encoders
|
||||
PKG_FFMPEG_ENCODERS="\
|
||||
`#Video encoders` \
|
||||
--enable-libvpx \
|
||||
--enable-encoder=libvpx_vp8 \
|
||||
--enable-encoder=libvpx_vp9 \
|
||||
--enable-libx264 \
|
||||
--enable-encoder=x264 \
|
||||
--enable-libx265 \
|
||||
--enable-encoder=x265 \
|
||||
\
|
||||
`#Audio encoders` \
|
||||
--enable-encoder=ac3 \
|
||||
--enable-encoder=eac3 \
|
||||
--enable-libfdk-aac \
|
||||
--enable-encoder=libfdk-aac \
|
||||
--enable-encoder=flac \
|
||||
--enable-libmp3lame \
|
||||
--enable-encoder=libmp3lame \
|
||||
--enable-libopus \
|
||||
--enable-encoder=libopus \
|
||||
--enable-libvorbis \
|
||||
--enable-encoder=libvorbis"
|
||||
|
||||
}
|
||||
|
||||
configure_target() {
|
||||
./configure \
|
||||
\
|
||||
`#Programs to build` \
|
||||
--enable-ffmpeg \
|
||||
--disable-ffplay \
|
||||
--enable-ffprobe \
|
||||
--disable-ffserver \
|
||||
\
|
||||
`#Static and Shared` \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
\
|
||||
`#Licensing options` \
|
||||
--enable-gpl \
|
||||
--enable-nonfree \
|
||||
\
|
||||
`#Documentation options` \
|
||||
--disable-doc \
|
||||
\
|
||||
`#Hardware accelerated decoding encoding` \
|
||||
$PKG_FFMPEG_HW_ENCODERS_RPi \
|
||||
$PKG_FFMPEG_HW_ENCODERS_GENERIC \
|
||||
\
|
||||
`#General options` \
|
||||
--enable-avresample \
|
||||
\
|
||||
`#Toolchain options` \
|
||||
--arch="$TARGET_ARCH" \
|
||||
--cpu="$TARGET_CPU" \
|
||||
--cross-prefix="$TARGET_PREFIX" \
|
||||
--enable-cross-compile \
|
||||
--sysroot="$SYSROOT_PREFIX" \
|
||||
--sysinclude="$SYSROOT_PREFIX/usr/include" \
|
||||
--target-os="linux" \
|
||||
--nm="$NM" \
|
||||
--ar="$AR" \
|
||||
--as="$CC" \
|
||||
--cc="$CC" \
|
||||
--ld="$CC" \
|
||||
--pkg-config="$TOOLCHAIN/bin/pkg-config" \
|
||||
--host-cc="$HOST_CC" \
|
||||
--host-cflags="$HOST_CFLAGS" \
|
||||
--host-ldflags="$HOST_LDFLAGS" \
|
||||
--host-extralibs="-lm" \
|
||||
--extra-cflags="$CFLAGS" \
|
||||
--extra-ldflags="$LDFLAGS" \
|
||||
--extra-libs="$PKG_FFMPEG_LIBS" \
|
||||
--extra-version="x" \
|
||||
--enable-pic \
|
||||
--enable-openssl \
|
||||
\
|
||||
`#Advanced options` \
|
||||
$PKG_FFMPEG_ARM_AO \
|
||||
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
make install DESTDIR="$INSTALL/../.INSTALL_PKG"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
for ff in "$INSTALL/../.INSTALL_PKG/usr/local/bin/"*; do mv "$ff" "${ff}x"; done
|
||||
}
|
||||
@@ -42,22 +42,22 @@ PKG_AUTORECONF="no"
|
||||
|
||||
configure_host() {
|
||||
export GOOS=linux
|
||||
export GOROOT_FINAL=$ROOT/$TOOLCHAIN/lib/golang
|
||||
export GOROOT_FINAL=$TOOLCHAIN/lib/golang
|
||||
export GOROOT_BOOTSTRAP=/usr/lib/golang
|
||||
export GOARCH=amd64
|
||||
}
|
||||
|
||||
make_host() {
|
||||
cd $ROOT/$PKG_BUILD/src
|
||||
cd $PKG_BUILD/src
|
||||
bash make.bash --no-banner
|
||||
}
|
||||
|
||||
pre_makeinstall_host() {
|
||||
# need to cleanup old golang version when updating to a new version
|
||||
rm -rf $ROOT/$TOOLCHAIN/lib/golang
|
||||
rm -rf $TOOLCHAIN/lib/golang
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p $ROOT/$TOOLCHAIN/lib/golang
|
||||
cp -av $ROOT/$PKG_BUILD/* $ROOT/$TOOLCHAIN/lib/golang/
|
||||
mkdir -p $TOOLCHAIN/lib/golang
|
||||
cp -av $PKG_BUILD/* $TOOLCHAIN/lib/golang/
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_path_GLIB_GENMARSHAL=$ROOT/$TOOLCHAIN/bin/glib-genmarshal \
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_path_GLIB_GENMARSHAL=$TOOLCHAIN/bin/glib-genmarshal \
|
||||
--disable-glibtest \
|
||||
--enable-modules \
|
||||
--enable-explicit-deps=no \
|
||||
|
||||
@@ -35,7 +35,7 @@ PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
--with-cross-build=$ROOT/$PKG_BUILD/.$HOST_NAME"
|
||||
--with-cross-build=$PKG_BUILD/.$HOST_NAME"
|
||||
|
||||
PKG_CONFIGURE_SCRIPT="source/configure"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libconfuse"
|
||||
PKG_VERSION="3.0"
|
||||
PKG_VERSION="3.2"
|
||||
PKG_LICENSE="https://github.com/martinh/libconfuse/blob/master/LICENSE"
|
||||
PKG_SITE="https://github.com/martinh/libconfuse"
|
||||
PKG_URL="https://github.com/martinh/libconfuse/archive/v$PKG_VERSION.tar.gz"
|
||||
|
||||
@@ -38,7 +38,7 @@ PKG_CONFIGURE_OPTS_TARGET="--prefix=$SYSROOT_PREFIX/usr \
|
||||
|
||||
pre_configure_target() {
|
||||
# serdisplib fails to build in subdirs
|
||||
cd $ROOT/$PKG_BUILD
|
||||
cd $PKG_BUILD
|
||||
rmdir .$TARGET_NAME
|
||||
|
||||
# use libusb-config from sysroot
|
||||
|
||||
@@ -22,7 +22,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.libimobiledevice.org"
|
||||
PKG_URL="http://www.libimobiledevice.org/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libusbmuxd libressl"
|
||||
PKG_DEPENDS_TARGET="toolchain libusbmuxd openssl"
|
||||
PKG_SECTION="libs"
|
||||
PKG_SHORTDESC="libimobiledevice is a cross-platform software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices"
|
||||
PKG_LONGDESC="libimobiledevice is a cross-platform software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices"
|
||||
@@ -34,5 +34,5 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-largefile"
|
||||
|
||||
post_makeinstall_target() {
|
||||
cp $ROOT/$PKG_BUILD/common/utils.h $SYSROOT_PREFIX/usr/include/libimobiledevice/
|
||||
cp $PKG_BUILD/common/utils.h $SYSROOT_PREFIX/usr/include/libimobiledevice/
|
||||
}
|
||||
|
||||
@@ -58,9 +58,9 @@ pre_make_target() {
|
||||
export CGO_NO_EMULATION=1
|
||||
export CGO_CFLAGS=$CFLAGS
|
||||
export LDFLAGS="-extld $CC"
|
||||
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
|
||||
export GOPATH=$ROOT/$PKG_BUILD.gopath
|
||||
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
|
||||
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
|
||||
export GOPATH=$PKG_BUILD.gopath
|
||||
export GOROOT=$TOOLCHAIN/lib/golang
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
# 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="pyalsaaudio"
|
||||
PKG_VERSION="0.8.4"
|
||||
PKG_LICENSE="PSF"
|
||||
PKG_SITE="http://larsimmisch.github.io/pyalsaaudio/"
|
||||
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host alsa-lib"
|
||||
PKG_LONGDESC="ALSA bindings"
|
||||
|
||||
make_target() {
|
||||
export LDSHARED="$CC -shared"
|
||||
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||
python setup.py build --cross-compile
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
python setup.py install --root=$INSTALL --prefix=/usr
|
||||
find $INSTALL/usr/lib -name "*.py" -exec rm -rf "{}" ";"
|
||||
rm -rf $INSTALL/usr/lib/python*/site-packages/*.egg-info \
|
||||
$INSTALL/usr/lib/python*/site-packages/*/tests
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
################################################################################
|
||||
# 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="rust"
|
||||
PKG_VERSION="1.23.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://www.rust-lang.org"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS="toolchain"
|
||||
PKG_SECTION="devel"
|
||||
PKG_LONGDESC="Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
configure_target() {
|
||||
:
|
||||
}
|
||||
|
||||
make_target() {
|
||||
export CARGO_HOME="$TOOLCHAIN/.cargo"
|
||||
export RUSTUP_HOME="$CARGO_HOME"
|
||||
export PATH="$CARGO_HOME/bin:$PATH"
|
||||
rm -rf "$CARGO_HOME"
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y
|
||||
rustup default "$PKG_VERSION"
|
||||
case "$TARGET_ARCH" in
|
||||
aarch64)
|
||||
RUST_TRIPLE="aarch64-unknown-linux-gnu"
|
||||
;;
|
||||
arm)
|
||||
RUST_TRIPLE="arm-unknown-linux-gnueabihf"
|
||||
;;
|
||||
x86_64)
|
||||
RUST_TRIPLE="x86_64-unknown-linux-gnu"
|
||||
;;
|
||||
esac
|
||||
if [ "$TARGET_ARCH" != "x86_64" ]; then
|
||||
rustup target add "$RUST_TRIPLE"
|
||||
fi
|
||||
|
||||
cat <<EOF >"$CARGO_HOME/config"
|
||||
[target.$RUST_TRIPLE]
|
||||
linker = "$CC"
|
||||
EOF
|
||||
|
||||
cat <<'EOF' >"$CARGO_HOME/env"
|
||||
export CARGO_HOME="$TOOLCHAIN/.cargo"
|
||||
export CARGO_TARGET_DIR="$PKG_BUILD/.$TARGET_NAME"
|
||||
export PATH="$CARGO_HOME/bin:$PATH"
|
||||
export RUSTUP_HOME="$CARGO_HOME"
|
||||
mkdir -p "$CARGO_TARGET_DIR"
|
||||
EOF
|
||||
|
||||
echo "CARGO_BUILD=\"cargo build --release --target $RUST_TRIPLE\"" \
|
||||
>>"$CARGO_HOME/env"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -17,13 +17,13 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libvncserver"
|
||||
PKG_VERSION="0.9.10"
|
||||
PKG_VERSION="0.9.11"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libvnc.github.io/"
|
||||
PKG_URL="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="libvncserver-LibVNCServer-$PKG_VERSION"
|
||||
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng"
|
||||
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng openssl"
|
||||
PKG_SECTION="libs"
|
||||
PKG_SHORTDESC="LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program."
|
||||
PKG_LONGDESC="LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program."
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,23 +17,18 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libgdiplus"
|
||||
PKG_VERSION="4.2"
|
||||
PKG_ARCH="any"
|
||||
PKG_VERSION="5.4"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/mono/libgdiplus"
|
||||
PKG_URL="https://github.com/mono/libgdiplus/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain giflib libjpeg-turbo tiff libXext libexif glib cairo"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="libgiplus"
|
||||
PKG_LONGDESC="An Open Source implementation of the GDI+ API"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
|
||||
--with-libgif \
|
||||
--with-libjpeg \
|
||||
--with-libtiff"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
|
||||
--with-libgif=$TARGET_PREFIX \
|
||||
--with-libjpeg=$TARGET_PREFIX \
|
||||
--with-libtiff=$TARGET_PREFIX"
|
||||
|
||||
makeinstall_target() {
|
||||
make install DESTDIR=$INSTALL
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,17 +17,15 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="moonlight-common-c"
|
||||
PKG_VERSION="1d058cb"
|
||||
PKG_VERSION="957b1de"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/irtimmer/moonlight-common-c"
|
||||
PKG_URL="https://github.com/irtimmer/moonlight-common-c/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_SITE="https://github.com/moonlight-stream/moonlight-common-c"
|
||||
PKG_URL="https://github.com/moonlight-stream/moonlight-common-c/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION=""
|
||||
PKG_SHORTDESC="Shared C code for the implementation of Nvidia's GameStream protocol"
|
||||
PKG_LONGDESC="Shared C code for the implementation of Nvidia's GameStream protocol"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="moonlight-embedded"
|
||||
PKG_VERSION="9301898"
|
||||
PKG_VERSION="82b956a"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/irtimmer/moonlight-embedded"
|
||||
@@ -26,8 +26,6 @@ PKG_DEPENDS_TARGET="toolchain curl libcec pulseaudio ffmpeg systemd alsa-lib moo
|
||||
PKG_SECTION=""
|
||||
PKG_SHORTDESC="Gamestream client for embedded systems"
|
||||
PKG_LONGDESC="Moonlight Embedded is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for Linux"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
FREESCALE_V4L_INCLUDE=""
|
||||
@@ -45,7 +43,7 @@ fi
|
||||
PKG_CMAKE_OPTS_TARGET="$FREESCALE_V4L_INCLUDE"
|
||||
|
||||
pre_build_target() {
|
||||
cp -a $(get_build_dir moonlight-common-c)/* $ROOT/$PKG_BUILD/third_party/moonlight-common-c
|
||||
cp -a $(get_build_dir moonlight-common-c)/* $PKG_BUILD/third_party/moonlight-common-c
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
|
||||
@@ -5,8 +5,8 @@ diff -Naur a/CMakeLists.txt b/CMakeLists.txt
|
||||
|
||||
set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS})
|
||||
target_include_directories(moonlight PRIVATE ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
|
||||
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS})
|
||||
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
|
||||
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS})
|
||||
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
|
||||
|
||||
add_subdirectory(docs)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ diff -Naur a/CMakeLists.txt b/CMakeLists.txt
|
||||
|
||||
set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS})
|
||||
target_include_directories(moonlight PRIVATE ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
|
||||
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
|
||||
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} pthread m)
|
||||
-target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
|
||||
+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} pthread m)
|
||||
|
||||
add_subdirectory(docs)
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/libgamestream/CMakeLists.txt
|
||||
+++ b/libgamestream/CMakeLists.txt
|
||||
@@ -27,7 +27,7 @@ set_target_properties(moonlight-common P
|
||||
target_include_directories(gamestream PRIVATE ../third_party/moonlight-common-c/src ../third_party/h264bitstream ${AVAHI_INCLUDE_DIRS} ${LIBUUID_INCLUDE_DIRS})
|
||||
target_include_directories(moonlight-common PRIVATE ../third_party/moonlight-common-c/reedsolomon ${ENET_INCLUDE_DIRS})
|
||||
target_link_libraries(gamestream ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ${EXPAT_LIBRARIES} ${AVAHI_LIBRARIES} ${LIBUUID_LIBRARIES})
|
||||
-target_link_libraries(moonlight-common ${ENET_LIBRARIES})
|
||||
+target_link_libraries(moonlight-common ${ENET_LIBRARIES} ${OPENSSL_LIBRARIES})
|
||||
|
||||
target_link_libraries(gamestream ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
|
||||
|
||||
@@ -53,5 +53,5 @@ post_makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include/MediaInfo/$i/
|
||||
cp -aP ../../../Source/MediaInfo/$i/*.h $SYSROOT_PREFIX/usr/include/MediaInfo/$i/
|
||||
done
|
||||
cp -P libmediainfo-config $ROOT/$TOOLCHAIN/bin
|
||||
cp -P libmediainfo-config $TOOLCHAIN/bin
|
||||
}
|
||||
|
||||
@@ -50,5 +50,5 @@ post_makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include/ZenLib/$i/
|
||||
cp -aP ../../../Source/ZenLib/$i/*.h $SYSROOT_PREFIX/usr/include/ZenLib/$i/
|
||||
done
|
||||
cp -P libzen-config $ROOT/$TOOLCHAIN/bin
|
||||
cp -P libzen-config $TOOLCHAIN/bin
|
||||
}
|
||||
|
||||
@@ -29,5 +29,5 @@ PKG_LONGDESC="OpenCaster is a free and open source MPEG2 transport stream data g
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_makeinstall_target() {
|
||||
mkdir -p $ROOT/$PKG_BUILD/.install_pkg
|
||||
mkdir -p $PKG_BUILD/.install_pkg
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,12 +17,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="squeezelite"
|
||||
PKG_VERSION="a3d95ec"
|
||||
PKG_VERSION="e92c09c"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/ralph-irving/squeezelite"
|
||||
PKG_URL="https://github.com/ralph-irving/squeezelite/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr"
|
||||
PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr libogg"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="squeezelite"
|
||||
PKG_LONGDESC="A client for the Logitech Media Server"
|
||||
@@ -31,9 +31,9 @@ PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_make_target() {
|
||||
OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT"
|
||||
OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL"
|
||||
CFLAGS="$CFLAGS $OPTS"
|
||||
LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt -lFLAC -lmad -lvorbisfile -lfaad -lmpg123"
|
||||
LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt -lFLAC -lmad -lvorbisfile -lfaad -lmpg123 -lvorbis -logg"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
|
||||
@@ -22,7 +22,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.irssi.org/"
|
||||
PKG_URL="https://github.com/irssi-import/irssi/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain glib netbsd-curses libressl"
|
||||
PKG_DEPENDS_TARGET="toolchain glib netbsd-curses openssl"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="IRC client"
|
||||
PKG_LONGDESC="Irssi is a terminal based IRC client for UNIX systems"
|
||||
@@ -40,7 +40,7 @@ PKG_CONFIGURE_OPTS_TARGET="--with-sysroot=$SYSROOT_PREFIX \
|
||||
--without-sco"
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -I$ROOT/$PKG_BUILD"
|
||||
export CFLAGS="$CFLAGS -I$PKG_BUILD"
|
||||
export LIBS="-ltermcap"
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://lftp.yar.ru/"
|
||||
PKG_URL="http://lftp.yar.ru/ftp/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain readline libressl zlib"
|
||||
PKG_DEPENDS_TARGET="toolchain readline openssl zlib"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="ftp client"
|
||||
PKG_LONGDESC="LFTP is a sophisticated ftp/http client, and a file transfer program supporting a number of network protocols"
|
||||
|
||||
@@ -38,7 +38,7 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
|
||||
pre_configure_target() {
|
||||
# nmap fails to build in subdirs
|
||||
cd $ROOT/$PKG_BUILD
|
||||
cd $PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
|
||||
export CPPFLAGS="$CPPFLAGS -Iliblua"
|
||||
|
||||
@@ -38,5 +38,5 @@ make_host() {
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
cp ninja $ROOT/$TOOLCHAIN/bin/
|
||||
cp ninja $TOOLCHAIN/bin/
|
||||
}
|
||||
|
||||
@@ -37,8 +37,8 @@ if [ "$TARGET_ARCH" = "x86_64" ] ; then
|
||||
fi
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-pthreads $TARGET_USE_64"
|
||||
PKG_MAKE_OPTS_TARGET="NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall"
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall"
|
||||
PKG_MAKE_OPTS_TARGET="NSINSTALL=$TOOLCHAIN/bin/nsinstall"
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="NSINSTALL=$TOOLCHAIN/bin/nsinstall"
|
||||
|
||||
configure_target() {
|
||||
cd $(get_build_dir nss)/nspr
|
||||
|
||||
@@ -34,7 +34,7 @@ PKG_AUTORECONF="no"
|
||||
MAKEFLAGS=-j1
|
||||
|
||||
make_host() {
|
||||
cd $ROOT/$PKG_BUILD/nss
|
||||
cd $PKG_BUILD/nss
|
||||
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && export USE_64=1
|
||||
|
||||
@@ -42,15 +42,15 @@ make_host() {
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
cp $ROOT/$PKG_BUILD/nss/coreconf/nsinstall/*/nsinstall $ROOT/$TOOLCHAIN/bin
|
||||
cp $PKG_BUILD/nss/coreconf/nsinstall/*/nsinstall $TOOLCHAIN/bin
|
||||
}
|
||||
|
||||
post_makeinstall_host() {
|
||||
rm -rf $ROOT/$PKG_BUILD/nss/coreconf/nsinstall/Linux*
|
||||
rm -rf $PKG_BUILD/nss/coreconf/nsinstall/Linux*
|
||||
}
|
||||
|
||||
make_target() {
|
||||
cd $ROOT/$PKG_BUILD/nss
|
||||
cd $PKG_BUILD/nss
|
||||
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && TARGET_USE_64="USE_64=1"
|
||||
|
||||
@@ -59,14 +59,14 @@ make_target() {
|
||||
USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \
|
||||
OS_TEST=$TARGET_ARCH \
|
||||
NSS_TESTS="dummy" \
|
||||
NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall \
|
||||
NSINSTALL=$TOOLCHAIN/bin/nsinstall \
|
||||
CPU_ARCH_TAG=$TARGET_ARCH \
|
||||
CC=$CC LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib" \
|
||||
V=1
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
cd $ROOT/$PKG_BUILD
|
||||
cd $PKG_BUILD
|
||||
$STRIP dist/Linux*/lib/*.so
|
||||
cp -L dist/Linux*/lib/*.so $SYSROOT_PREFIX/usr/lib
|
||||
cp -L dist/Linux*/lib/libcrmf.a $SYSROOT_PREFIX/usr/lib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,17 +17,15 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="opus"
|
||||
PKG_VERSION="1.1.2"
|
||||
PKG_VERSION="1.2.1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.opus-codec.org"
|
||||
PKG_URL="http://downloads.us.xiph.org/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://archive.mozilla.org/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="Codec designed for interactive speech and audio transmission over the Internet"
|
||||
PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$TARGET_ARCH" = "arm" ]; then
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://LibreELEC.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,21 +17,19 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="pcsc-lite"
|
||||
PKG_VERSION="1.8.16"
|
||||
PKG_VERSION="1.8.22"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://pcsclite.alioth.debian.org/pcsclite.html"
|
||||
PKG_URL="https://alioth.debian.org/frs/download.php/file/4164/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_URL="https://alioth.debian.org/frs/download.php/latestfile/39/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libusb"
|
||||
PKG_SECTION="service/system"
|
||||
PKG_SHORTDESC="Middleware to access a smart card using SCard API (PC/SC)"
|
||||
PKG_LONGDESC="Middleware to access a smart card using SCard API (PC/SC)"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||
--enable-static \
|
||||
--disable-libudev \
|
||||
--enable-libusb \
|
||||
--enable-usbdropdir=/storage/.kodi/addons/service.system.pcscd-addon/drivers"
|
||||
--enable-usbdropdir=/storage/.kodi/addons/service.pcscd/drivers"
|
||||
|
||||
47
packages/addons/addon-depends/pngquant/package.mk
Normal file
47
packages/addons/addon-depends/pngquant/package.mk
Normal file
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
# 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="pngquant"
|
||||
PKG_VERSION="2.9.1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://pngquant.org"
|
||||
PKG_URL="http://pngquant.org/pngquant-${PKG_VERSION}-src.tar.gz"
|
||||
PKG_DEPENDS_HOST="toolchain libpng:host zlib:host"
|
||||
PKG_SECTION="graphics"
|
||||
PKG_SHORTDESC="lossy PNG compressor"
|
||||
PKG_LONGDESC="a PNG compresor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
configure_host() {
|
||||
: #
|
||||
}
|
||||
|
||||
make_host() {
|
||||
cd $PKG_BUILD
|
||||
BIN=$PKG_BUILD/pngquant make
|
||||
|
||||
$STRIP $PKG_BUILD/pngquant
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p $TOOLCHAIN/bin
|
||||
cp $PKG_BUILD/pngquant $TOOLCHAIN/bin
|
||||
}
|
||||
@@ -28,7 +28,7 @@ PKG_LONGDESC="protobuf: Protocol Buffers - Google's data interchange format"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CMAKE_SCRIPT="$ROOT/$PKG_BUILD/cmake/CMakeLists.txt"
|
||||
PKG_CMAKE_SCRIPT="$PKG_BUILD/cmake/CMakeLists.txt"
|
||||
|
||||
PKG_CMAKE_OPTS_HOST="-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
|
||||
-DBUILD_SHARED_LIBS=0 \
|
||||
|
||||
@@ -30,7 +30,7 @@ PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="-prefix /usr
|
||||
-sysroot $SYSROOT_PREFIX
|
||||
-hostprefix $ROOT/$TOOLCHAIN
|
||||
-hostprefix $TOOLCHAIN
|
||||
-device linux-libreelec-g++
|
||||
-opensource -confirm-license
|
||||
-release
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
# 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="lan951x-led-ctl"
|
||||
PKG_VERSION="0291b91"
|
||||
PKG_ARCH="arm"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/dradermacher/lan951x-led-ctl"
|
||||
PKG_URL="https://github.com/dradermacher/lan951x-led-ctl/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libusb"
|
||||
PKG_SECTION="rpi-tools"
|
||||
PKG_SHORTDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers"
|
||||
PKG_LONGDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
$CC -std=c11 -I./include -Wall -Wstrict-prototypes -Wconversion \
|
||||
-Wmissing-prototypes -Wshadow -Wextra -Wunused \
|
||||
$CFLAGS -lusb-1.0 $LDFLAGS -o lan951x-led-ctl src/lan951x-led-ctl.c
|
||||
|
||||
$STRIP lan951x-led-ctl
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,17 +17,15 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="rpi_ws281x"
|
||||
PKG_VERSION="3e6ea50"
|
||||
PKG_VERSION="f580777"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE=""
|
||||
PKG_LICENSE="BSD-3c"
|
||||
PKG_SITE="https://github.com/hyperion-project/rpi_ws281x"
|
||||
PKG_URL="https://github.com/hyperion-project/rpi_ws281x/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION=""
|
||||
PKG_SHORTDESC="Userspace Raspberry Pi PWM library for WS281X LEDs"
|
||||
PKG_LONGDESC="Userspace Raspberry Pi PWM library for WS281X LEDs"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
|
||||
@@ -57,12 +57,12 @@ pre_make_target() {
|
||||
export CGO_NO_EMULATION=1
|
||||
export CGO_CFLAGS=$CFLAGS
|
||||
export LDFLAGS="-w -extldflags -static -X main.gitCommit=${PKG_VERSION} -X main.version=$(cat ./VERSION) -extld $CC"
|
||||
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
|
||||
export GOPATH=$ROOT/$PKG_BUILD.gopath:$ROOT/$PKG_BUILD/Godeps/_workspace/
|
||||
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
|
||||
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
|
||||
export GOPATH=$PKG_BUILD.gopath:$PKG_BUILD/Godeps/_workspace/
|
||||
export GOROOT=$TOOLCHAIN/lib/golang
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
|
||||
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/Godeps/_workspace/src/github.com/opencontainers/runc
|
||||
ln -fs $PKG_BUILD $PKG_BUILD/Godeps/_workspace/src/github.com/opencontainers/runc
|
||||
}
|
||||
|
||||
make_target() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-2017 Team LibreELEC
|
||||
# Copyright (C) 2018-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
|
||||
@@ -16,13 +16,22 @@
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libite"
|
||||
PKG_VERSION="1.8.3"
|
||||
PKG_NAME="aixlog"
|
||||
PKG_VERSION="1.1.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/troglobit/libite"
|
||||
PKG_URL="https://github.com/troglobit/libite/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_SITE="https://github.com/badaix/aixlog"
|
||||
PKG_URL="https://github.com/badaix/aixlog/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="That missing frog DNA you've been looking for"
|
||||
PKG_AUTORECONF="yes"
|
||||
PKG_SECTION="tools"
|
||||
PKG_LONGDESC="Header-only C++ logging library"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_USE_CMAKE="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
|
||||
make_target() {
|
||||
:
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2018-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="asio"
|
||||
PKG_VERSION="9229964"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSL"
|
||||
PKG_SITE="http://think-async.com/Asio"
|
||||
PKG_URL="https://github.com/chriskohlhoff/asio/archive/$PKG_VERSION.zip"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_LONGDESC="Asio C++ Library"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
make_target() {
|
||||
:
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2018-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="popl"
|
||||
PKG_VERSION="1.0.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/badaix/popl"
|
||||
PKG_URL="https://github.com/badaix/popl/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_LONGDESC="Header-only C++ program options parser library"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_USE_CMAKE="no"
|
||||
|
||||
make_target() {
|
||||
:
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2018-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="shairport-sync"
|
||||
PKG_VERSION="3.1.7"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://github.com/mikebrady/shairport-sync"
|
||||
PKG_URL="https://github.com/mikebrady/shairport-sync/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib avahi libconfig libdaemon openssl popt pulseaudio soxr"
|
||||
PKG_SECTION="tools"
|
||||
PKG_LONGDESC="AirPlay audio player"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-alsa \
|
||||
--with-avahi \
|
||||
--with-convolution \
|
||||
--with-metadata \
|
||||
--with-pa \
|
||||
--with-pipe \
|
||||
--with-soxr \
|
||||
--with-ssl=openssl \
|
||||
--with-stdout"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2018-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="snapcast"
|
||||
PKG_VERSION="0.13.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/badaix/snapcast"
|
||||
PKG_URL="https://github.com/badaix/snapcast/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain aixlog alsa-lib asio avahi flac libvorbis popl"
|
||||
PKG_SECTION="tools"
|
||||
PKG_LONGDESC="Synchronous multi-room audio player"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_USE_CMAKE="no"
|
||||
|
||||
pre_configure_target() {
|
||||
cd ..
|
||||
rm -rf .$TARGET_NAME
|
||||
CXXFLAGS="$CXXFLAGS -pthread \
|
||||
-I$(get_build_dir aixlog)/include \
|
||||
-I$(get_build_dir asio)/asio/include \
|
||||
-I$(get_build_dir popl)/include"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
diff -Naur snapcast-0.13.0/client/Makefile snapcast-0.13.0.Makefiles/client/Makefile
|
||||
--- snapcast-0.13.0/client/Makefile 2018-03-04 21:43:32.000000000 +0100
|
||||
+++ snapcast-0.13.0.Makefiles/client/Makefile 2018-03-05 13:33:36.686709820 +0100
|
||||
@@ -78,10 +78,8 @@
|
||||
|
||||
else
|
||||
|
||||
-CXX = g++
|
||||
-STRIP = strip
|
||||
CXXFLAGS += -pthread -DHAS_VORBIS -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON
|
||||
-LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -static-libgcc -static-libstdc++ -latomic
|
||||
+LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -logg
|
||||
OBJ += ../common/daemon.o player/alsaPlayer.o browseZeroConf/browseAvahi.o
|
||||
|
||||
endif
|
||||
diff -Naur snapcast-0.13.0/server/Makefile snapcast-0.13.0.Makefiles/server/Makefile
|
||||
--- snapcast-0.13.0/server/Makefile 2018-03-04 21:43:32.000000000 +0100
|
||||
+++ snapcast-0.13.0.Makefiles/server/Makefile 2018-03-05 13:34:03.530858350 +0100
|
||||
@@ -84,10 +84,8 @@
|
||||
|
||||
else
|
||||
|
||||
-CXX = g++
|
||||
-STRIP = strip
|
||||
CXXFLAGS += -DHAS_AVAHI -DHAS_DAEMON -pthread
|
||||
-LDFLAGS = -lrt -lvorbis -lvorbisenc -logg -lFLAC -lavahi-client -lavahi-common -static-libgcc -static-libstdc++
|
||||
+LDFLAGS = -lrt -lvorbis -lvorbisenc -logg -lFLAC -lavahi-client -lavahi-common
|
||||
OBJ += ../common/daemon.o publishZeroConf/publishAvahi.o
|
||||
|
||||
endif
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libmtp"
|
||||
PKG_VERSION="1.1.11"
|
||||
PKG_VERSION="1.1.13"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://libmtp.sourceforge.net/"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="diffutils"
|
||||
PKG_VERSION="3.5"
|
||||
PKG_VERSION="3.6"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/diffutils/"
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
# 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="dstat"
|
||||
PKG_VERSION="77e9347"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dag.wiee.rs/home-made/dstat"
|
||||
PKG_URL="https://github.com/dagwieers/dstat/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="Versatile resource statistics tool"
|
||||
PKG_LONGDESC="Versatile resource statistics tool"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
post_unpack() {
|
||||
rm $PKG_BUILD/Makefile
|
||||
}
|
||||
|
||||
make_target() {
|
||||
: # nothing to do
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nothing to do
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,11 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dtach"
|
||||
PKG_VERSION="0.8"
|
||||
PKG_VERSION="0.9"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dtach.sourceforge.net"
|
||||
PKG_URL="http://download.sourceforge.net/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/crigler/dtach/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="dtach - A program that emulates the detach feature of screen"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,11 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="fdupes"
|
||||
PKG_VERSION="1.51"
|
||||
PKG_VERSION="1.6.1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://premium.caribe.net/~adrian2/fdupes.html"
|
||||
PKG_URL="https://fdupes.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/adrianlopezroche/fdupes/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="FDUPES is a program for identifying or deleting duplicate files residing within specified directories"
|
||||
|
||||
@@ -6,7 +6,7 @@ index 1d5e41a..6dc6da4 100644
|
||||
#
|
||||
# Make Configuration
|
||||
#
|
||||
-CC = gcc
|
||||
-CC ?= gcc
|
||||
COMPILER_OPTIONS = -Wall -O -g
|
||||
|
||||
CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) $(OMIT_GETOPT_LONG)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,17 +17,17 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="file"
|
||||
PKG_VERSION="5.29"
|
||||
PKG_VERSION="70c5f15"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.darwinsys.com/file/"
|
||||
PKG_URL="ftp://ftp.astron.com/pub/file/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/file/file/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib file:host"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="file: File type identification utility"
|
||||
PKG_LONGDESC="These are the sources to Darwin's file(1) utility and master magic(4) file, now maintained by Christos Zoulas. The file(1) utility is used to determine the types of various files."
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--enable-fsect-man5 --enable-static --disable-shared"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-fsect-man5 --enable-static --disable-shared"
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
diff --git a/src/apprentice.c b/src/apprentice.c
|
||||
index 961e83d..b7d500c 100644
|
||||
--- a/src/apprentice.c
|
||||
+++ b/src/apprentice.c
|
||||
@@ -348,11 +348,9 @@ apprentice_1(struct magic_set *ms, const char *fn, int action)
|
||||
protected void
|
||||
file_ms_free(struct magic_set *ms)
|
||||
{
|
||||
- size_t i;
|
||||
if (ms == NULL)
|
||||
return;
|
||||
- for (i = 0; i < MAGIC_SETS; i++)
|
||||
- mlist_free(ms->mlist[i]);
|
||||
+ mlist_free(ms->mlist[0]);
|
||||
free(ms->o.pbuf);
|
||||
free(ms->o.buf);
|
||||
free(ms->c.li);
|
||||
@@ -1,26 +0,0 @@
|
||||
From e990dc53f658cb67ec7b33c32e0bc24e65801792 Mon Sep 17 00:00:00 2001
|
||||
From: Christos Zoulas <christos@zoulas.com>
|
||||
Date: Sat, 14 May 2011 15:04:15 +0000
|
||||
Subject: [PATCH] small archive
|
||||
|
||||
---
|
||||
magic/Magdir/archive | 5 ++++-
|
||||
1 files changed, 4 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/magic/Magdir/archive b/magic/Magdir/archive
|
||||
index e84c8e3..5ad1ce3 100644
|
||||
--- a/magic/Magdir/archive
|
||||
+++ b/magic/Magdir/archive
|
||||
@@ -654,6 +654,9 @@
|
||||
>>>>78 string -template Template
|
||||
!:mime application/vnd.oasis.opendocument.image-template
|
||||
|
||||
+>26 byte x Zip archive data
|
||||
+
|
||||
+
|
||||
# StarView Metafile
|
||||
# From Pierre Ducroquet <pinaraf@pinaraf.info>
|
||||
0 string VCLMTF StarView MetaFile
|
||||
--
|
||||
1.7.4.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hd-idle"
|
||||
PKG_VERSION="1.04"
|
||||
PKG_VERSION="1.05"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://hd-idle.sourceforge.net/"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,11 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hddtemp"
|
||||
PKG_VERSION="0.3-beta15"
|
||||
PKG_VERSION="e16aed6"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.guzu.net/linux/hddtemp.php"
|
||||
PKG_URL="http://download.savannah.gnu.org/releases/hddtemp/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="https://github.com/guzu/hddtemp/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="debug/tools"
|
||||
PKG_SHORTDESC="hddtemp: tool that reports hard drive temperature"
|
||||
@@ -30,6 +30,11 @@ PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db"
|
||||
|
||||
post_unpack() {
|
||||
cd $PKG_BUILD
|
||||
wget -O hddtemp.db http://www.guzu.net/linux/hddtemp.db
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,12 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hid_mapper"
|
||||
PKG_VERSION="0"
|
||||
PKG_VERSION="2.1.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE=""
|
||||
PKG_URL="http://www.coldsource.net/hid_mapper.tar.gz"
|
||||
PKG_SOURCE_DIR="${PKG_NAME}_beta"
|
||||
PKG_SITE="https://github.com/s-leroux/hid_mapper"
|
||||
PKG_URL="https://github.com/s-leroux/hid_mapper/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="generic HID mapper"
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
diff --git a/MapReader.cpp b/MapReader.cpp
|
||||
index e64b636..bd1ab68 100644
|
||||
--- a/MapReader.cpp
|
||||
+++ b/MapReader.cpp
|
||||
@@ -98,7 +98,10 @@ void MapReader::LoadMap(const char *filename,EventMapping *map)
|
||||
|
||||
@@ -106,7 +106,10 @@
|
||||
i = 0;
|
||||
while(i<KEY_NAME_MAXLENGTH && ptr[i]!='\0' && ptr[i]!='\n' && ptr[i]!=' ')
|
||||
|
||||
while(i<KEY_NAME_MAXLENGTH && ptr[i]!='\0' && ptr[i]!='\n' && (!isspace(ptr[i])))
|
||||
- key_name[i] = ptr[i++];
|
||||
+ {
|
||||
+ key_name[i] = ptr[i];
|
||||
+ i++;
|
||||
+ }
|
||||
+ {
|
||||
+ key_name[i] = ptr[i];
|
||||
+ i++;
|
||||
+ }
|
||||
|
||||
if(i==KEY_NAME_MAXLENGTH)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
# 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="htop"
|
||||
PKG_VERSION="2.0.2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://hisham.hm/htop"
|
||||
PKG_URL="https://github.com/hishamhm/htop/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain netbsd-curses"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="An interactive process viewer for Unix"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -fno-strict-aliasing -lncurses -lterminfo"
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
From: awiouy <awiouy@gmail.com>
|
||||
Date: Thu, 6 Jul 2017 18:51:24 +0200
|
||||
Subject: [PATCH] htop: netbsd-curses support
|
||||
|
||||
diff --git a/RichString.c b/RichString.c
|
||||
--- a/RichString.c
|
||||
+++ b/RichString.c
|
||||
@@ -18,21 +18,7 @@ in the source distribution for its full text.
|
||||
#include <ctype.h>
|
||||
|
||||
#include <assert.h>
|
||||
-#ifdef HAVE_NCURSESW_CURSES_H
|
||||
-#include <ncursesw/curses.h>
|
||||
-#elif HAVE_NCURSES_NCURSES_H
|
||||
-#include <ncurses/ncurses.h>
|
||||
-#elif HAVE_NCURSES_CURSES_H
|
||||
-#include <ncurses/curses.h>
|
||||
-#elif HAVE_NCURSES_H
|
||||
-#include <ncurses.h>
|
||||
-#elif HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
-#endif
|
||||
-
|
||||
-#ifdef HAVE_LIBNCURSESW
|
||||
-#include <wctype.h>
|
||||
-#endif
|
||||
|
||||
#define RichString_size(this) ((this)->chlen)
|
||||
#define RichString_sizeVal(this) ((this).chlen)
|
||||
@@ -41,19 +27,11 @@ in the source distribution for its full text.
|
||||
#define RichString_beginAllocated(this) memset(&this, 0, sizeof(RichString)); (this).chptr = (this).chstr;
|
||||
#define RichString_end(this) RichString_prune(&(this));
|
||||
|
||||
-#ifdef HAVE_LIBNCURSESW
|
||||
-#define RichString_printVal(this, y, x) mvadd_wchstr(y, x, (this).chptr)
|
||||
-#define RichString_printoffnVal(this, y, x, off, n) mvadd_wchnstr(y, x, (this).chptr + off, n)
|
||||
-#define RichString_getCharVal(this, i) ((this).chptr[i].chars[0] & 255)
|
||||
-#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = (CharType) { .chars = { ch, 0 } }; } while(0)
|
||||
-#define CharType cchar_t
|
||||
-#else
|
||||
#define RichString_printVal(this, y, x) mvaddchstr(y, x, (this).chptr)
|
||||
#define RichString_printoffnVal(this, y, x, off, n) mvaddchnstr(y, x, (this).chptr + off, n)
|
||||
#define RichString_getCharVal(this, i) ((this).chptr[i])
|
||||
#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = ch; } while(0)
|
||||
#define CharType chtype
|
||||
-#endif
|
||||
|
||||
typedef struct RichString_ {
|
||||
int chlen;
|
||||
@@ -87,41 +65,6 @@ static void RichString_extendLen(RichString* this, int len) {
|
||||
|
||||
#define RichString_setLen(this, len) do{ if(len < RICHSTRING_MAXLEN && this->chlen < RICHSTRING_MAXLEN) { RichString_setChar(this,len,0); this->chlen=len; } else RichString_extendLen(this,len); }while(0)
|
||||
|
||||
-#ifdef HAVE_LIBNCURSESW
|
||||
-
|
||||
-static inline void RichString_writeFrom(RichString* this, int attrs, const char* data_c, int from, int len) {
|
||||
- wchar_t data[len+1];
|
||||
- len = mbstowcs(data, data_c, len);
|
||||
- if (len < 0)
|
||||
- return;
|
||||
- int newLen = from + len;
|
||||
- RichString_setLen(this, newLen);
|
||||
- for (int i = from, j = 0; i < newLen; i++, j++) {
|
||||
- this->chptr[i] = (CharType) { .attr = attrs & 0xffffff, .chars = { (iswprint(data[j]) ? data[j] : '?') } };
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-inline void RichString_setAttrn(RichString* this, int attrs, int start, int finish) {
|
||||
- cchar_t* ch = this->chptr + start;
|
||||
- for (int i = start; i <= finish; i++) {
|
||||
- ch->attr = attrs;
|
||||
- ch++;
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-int RichString_findChar(RichString* this, char c, int start) {
|
||||
- wchar_t wc = btowc(c);
|
||||
- cchar_t* ch = this->chptr + start;
|
||||
- for (int i = start; i < this->chlen; i++) {
|
||||
- if (ch->chars[0] == wc)
|
||||
- return i;
|
||||
- ch++;
|
||||
- }
|
||||
- return -1;
|
||||
-}
|
||||
-
|
||||
-#else
|
||||
-
|
||||
static inline void RichString_writeFrom(RichString* this, int attrs, const char* data_c, int from, int len) {
|
||||
int newLen = from + len;
|
||||
RichString_setLen(this, newLen);
|
||||
@@ -148,8 +91,6 @@ int RichString_findChar(RichString* this, char c, int start) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
-#endif
|
||||
-
|
||||
void RichString_prune(RichString* this) {
|
||||
if (this->chlen > RICHSTRING_MAXLEN)
|
||||
free(this->chptr);
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -183,36 +183,6 @@
|
||||
], [$4])
|
||||
])
|
||||
|
||||
-AC_ARG_ENABLE(unicode, [AS_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes")
|
||||
-if test "x$enable_unicode" = xyes; then
|
||||
- HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw6-config",
|
||||
- HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw5-config",
|
||||
- HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "ncurses5-config",
|
||||
- HTOP_CHECK_LIB([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW],
|
||||
- HTOP_CHECK_LIB([ncursesw], [addnwstr], [HAVE_LIBNCURSESW],
|
||||
- HTOP_CHECK_LIB([ncurses], [addnwstr], [HAVE_LIBNCURSESW],
|
||||
- missing_libraries="$missing_libraries libncursesw"
|
||||
- AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.])
|
||||
- ))))))
|
||||
-
|
||||
- AC_CHECK_HEADERS([ncursesw/curses.h],[:],
|
||||
- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:],
|
||||
- [AC_CHECK_HEADERS([ncurses/curses.h],[:],
|
||||
- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])])
|
||||
-else
|
||||
- HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "ncurses6-config",
|
||||
- HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "ncurses5-config",
|
||||
- HTOP_CHECK_LIB([ncurses6], [refresh], [HAVE_LIBNCURSES],
|
||||
- HTOP_CHECK_LIB([ncurses], [refresh], [HAVE_LIBNCURSES],
|
||||
- missing_libraries="$missing_libraries libncurses"
|
||||
- ))))
|
||||
-
|
||||
- AC_CHECK_HEADERS([curses.h],[:],
|
||||
- [AC_CHECK_HEADERS([ncurses/curses.h],[:],
|
||||
- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:],
|
||||
- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])])
|
||||
-fi
|
||||
-
|
||||
if test "$my_htop_platform" = "freebsd"; then
|
||||
AC_CHECK_LIB([kvm], [kvm_open], [], [missing_libraries="$missing_libraries libkvm"])
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
From 308aed7fc91f40db7b7f69095c1a7b777bfeb934 Mon Sep 17 00:00:00 2001
|
||||
From: awiouy <awiouy@gmail.com>
|
||||
Date: Thu, 6 Jul 2017 18:50:57 +0200
|
||||
Subject: [PATCH] htop: remove set_escdelay - fixed in netbsd-curses 0.2.1
|
||||
|
||||
drop this patch at netbsd-curses bump to 0.2.1 or higher
|
||||
|
||||
---
|
||||
InfoScreen.c | 1 -
|
||||
ScreenManager.c | 1 -
|
||||
2 files changed, 2 deletions(-)
|
||||
|
||||
diff --git a/InfoScreen.c b/InfoScreen.c
|
||||
index e27494c7..28017c63 100644
|
||||
--- a/InfoScreen.c
|
||||
+++ b/InfoScreen.c
|
||||
@@ -117,7 +117,6 @@ void InfoScreen_run(InfoScreen* this) {
|
||||
|
||||
if (this->inc->active)
|
||||
move(LINES-1, CRT_cursorX);
|
||||
- set_escdelay(25);
|
||||
int ch = getch();
|
||||
|
||||
if (ch == ERR) {
|
||||
diff --git a/ScreenManager.c b/ScreenManager.c
|
||||
index 05e1c024..5d1d07d1 100644
|
||||
--- a/ScreenManager.c
|
||||
+++ b/ScreenManager.c
|
||||
@@ -189,7 +189,6 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
|
||||
}
|
||||
|
||||
int prevCh = ch;
|
||||
- set_escdelay(25);
|
||||
ch = getch();
|
||||
|
||||
HandlerResult result = IGNORED;
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,11 +17,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="lm_sensors"
|
||||
PKG_VERSION="3.4.0"
|
||||
PKG_VERSION="0d5ccf6"
|
||||
PKG_ARCH="arm x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://secure.netroedge.com/~lm78/"
|
||||
PKG_URL="http://ftp.gwdg.de/pub/linux/misc/lm-sensors/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="https://github.com/groeck/lm-sensors/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_SOURCE_DIR="lm-sensors-${PKG_VERSION}*"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="lm_sensors: Hardware monitoring via the SMBus"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="lshw"
|
||||
PKG_VERSION="B.02.17"
|
||||
PKG_VERSION="B.02.18"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://ezix.org/project/wiki/HardwareLiSter"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
@@ -18,7 +18,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mc"
|
||||
PKG_VERSION="4.8.17"
|
||||
PKG_VERSION="4.8.19"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.midnight-commander.org"
|
||||
@@ -27,9 +27,7 @@ PKG_DEPENDS_TARGET="toolchain libtool:host gettext:host glib pcre netbsd-curses"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="mc: visual file manager"
|
||||
PKG_LONGDESC="mc is a visual file manager, licensed under GNU General Public License and therefore qualifies as Free Software. It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--sysconfdir=/storage/.kodi/addons/virtual.system-tools/etc \
|
||||
--datadir=/storage/.kodi/addons/virtual.system-tools/data \
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
From 38d4c655d322837574e957b4a824f4a0d1bb3b86 Mon Sep 17 00:00:00 2001
|
||||
From: rofl0r <retnyg@gmx.net>
|
||||
Date: Mon, 18 Jul 2016 22:19:56 +0100
|
||||
Subject: [PATCH] Ticket #3665: fix compatibility with netbsd curses.
|
||||
|
||||
The code that manipulates the ncurses backend into changing
|
||||
the key combination to generate SIGINT from CTRL-c to CTRL-g does
|
||||
so by accessing undocumented internal ncurses data structures.
|
||||
This breaks compilation with netbsd-curses[0], and could also break
|
||||
when the ncurses author decides to change internal structures in a
|
||||
future release.
|
||||
|
||||
Fix it by using a portable approach that works everywhere using libc
|
||||
primitives instead.
|
||||
|
||||
[0] https://github.com/sabotage-linux/netbsd-curses
|
||||
|
||||
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
|
||||
---
|
||||
lib/tty/tty-ncurses.c | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lib/tty/tty-ncurses.c b/lib/tty/tty-ncurses.c
|
||||
index efee8ec..76a21d2 100644
|
||||
--- a/lib/tty/tty-ncurses.c
|
||||
+++ b/lib/tty/tty-ncurses.c
|
||||
@@ -179,6 +179,7 @@ mc_tty_normalize_lines_char (const char *ch)
|
||||
void
|
||||
tty_init (gboolean mouse_enable, gboolean is_xterm)
|
||||
{
|
||||
+ struct termios mode;
|
||||
initscr ();
|
||||
|
||||
#ifdef HAVE_ESCDELAY
|
||||
@@ -194,11 +195,12 @@ tty_init (gboolean mouse_enable, gboolean is_xterm)
|
||||
ESCDELAY = 200;
|
||||
#endif /* HAVE_ESCDELAY */
|
||||
|
||||
+ tcgetattr (STDIN_FILENO, &mode);
|
||||
/* use Ctrl-g to generate SIGINT */
|
||||
- cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */
|
||||
+ mode.c_cc[VINTR] = CTRL ('g'); /* ^g */
|
||||
/* disable SIGQUIT to allow use Ctrl-\ key */
|
||||
- cur_term->Nttyb.c_cc[VQUIT] = NULL_VALUE;
|
||||
- tcsetattr (cur_term->Filedes, TCSANOW, &cur_term->Nttyb);
|
||||
+ mode.c_cc[VQUIT] = NULL_VALUE;
|
||||
+ tcsetattr (STDIN_FILENO, TCSANOW, &mode);
|
||||
|
||||
tty_start_interrupt_key ();
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
From 2da86f2595157c68c2d49e6c2b08a508750878ed Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Borodin <aborodin@vmail.ru>
|
||||
Date: Tue, 9 Aug 2016 16:55:12 +0300
|
||||
Subject: [PATCH] Define NCURSES_CONST if curses library doesn't define it.
|
||||
|
||||
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
|
||||
---
|
||||
lib/tty/tty-ncurses.h | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h
|
||||
index 4f0e603..9962c7c 100644
|
||||
--- a/lib/tty/tty-ncurses.h
|
||||
+++ b/lib/tty/tty-ncurses.h
|
||||
@@ -20,6 +20,11 @@
|
||||
#include <ncursesw/curses.h>
|
||||
#endif /* USE_NCURSESW */
|
||||
|
||||
+/* netbsd-libcurses doesn't define NCURSES_CONST */
|
||||
+#ifndef NCURSES_CONST
|
||||
+#define NCURSES_CONST const
|
||||
+#endif
|
||||
+
|
||||
/*** typedefs(not structures) and defined constants **********************************************/
|
||||
|
||||
/*** enums ***************************************************************************************/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,16 +17,16 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mtpfs"
|
||||
PKG_VERSION="1.1"
|
||||
PKG_VERSION="fd3864d"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.adebenham.com/mtpfs/"
|
||||
PKG_URL="http://www.adebenham.com/files/mtp/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/cjd/mtpfs/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain fuse libmtp glib"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device"
|
||||
PKG_LONGDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device"
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-mad"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="p7zip"
|
||||
PKG_VERSION="15.14"
|
||||
PKG_VERSION="16.02"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://p7zip.sourceforge.net/"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="screen"
|
||||
PKG_VERSION="4.3.1"
|
||||
PKG_VERSION="4.5.1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/screen/"
|
||||
@@ -29,16 +29,18 @@ PKG_LONGDESC="screen is a terminal multiplexor that runs several separate screen
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
|
||||
--enable-colors256 \
|
||||
--disable-pam \
|
||||
--disable-use-locale \
|
||||
--disable-telnet \
|
||||
--disable-socket-dir"
|
||||
|
||||
pre_configure_target() {
|
||||
CFLAGS="$CFLAGS -DTERMINFO"
|
||||
export LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||
|
||||
# screen fails to build in subdirs
|
||||
cd $ROOT/$PKG_BUILD
|
||||
cd $PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="strace"
|
||||
PKG_VERSION="4.11"
|
||||
PKG_VERSION="4.17"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://sourceforge.net/projects/strace/"
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -31,11 +31,7 @@
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
-AC_INIT([strace],
|
||||
- m4_esyscmd([./git-version-gen .tarball-version]),
|
||||
- [strace-devel@lists.sourceforge.net],
|
||||
- [strace],
|
||||
- [https://strace.io])
|
||||
+AC_INIT([strace],[4.17])
|
||||
m4_define([copyright_year], m4_esyscmd([./copyright-year-gen .year]))
|
||||
AC_COPYRIGHT([Copyright (C) 1999-]copyright_year[ The strace developers.])
|
||||
AC_CONFIG_SRCDIR([strace.c])
|
||||
@@ -1,13 +0,0 @@
|
||||
diff -Naur strace-4.8/configure.ac strace-4.8.patch/configure.ac
|
||||
--- strace-4.8/configure.ac 2013-05-04 21:51:57.000000000 +0200
|
||||
+++ strace-4.8.patch/configure.ac 2013-09-04 03:30:12.478057723 +0200
|
||||
@@ -1,8 +1,6 @@
|
||||
dnl Process this file with autoconf to create configure. Use autoreconf.
|
||||
AC_PREREQ(2.57)
|
||||
-AC_INIT([strace],
|
||||
- m4_esyscmd([./git-version-gen .tarball-version]),
|
||||
- [strace-devel@lists.sourceforge.net])
|
||||
+AC_INIT([strace],[4.8])
|
||||
AC_CONFIG_SRCDIR([strace.c])
|
||||
AC_CONFIG_AUX_DIR([.])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# 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
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="unrar"
|
||||
PKG_VERSION="5.3.11"
|
||||
PKG_VERSION="5.5.5"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="free"
|
||||
PKG_SITE="http://www.rarlab.com"
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.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="vim"
|
||||
PKG_VERSION="8.0.0684"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="VIM"
|
||||
PKG_SITE="http://www.vim.org/"
|
||||
PKG_URL="https://github.com/vim/vim/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain netbsd-curses"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="vim: VI IMproved"
|
||||
PKG_LONGDESC="Vim is a highly configurable text editor built to enable efficient text editing."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_tgent=zero \
|
||||
vim_cv_toupper_broken=no \
|
||||
vim_cv_tty_group=world \
|
||||
vim_cv_tty_mode=0620 \
|
||||
ac_cv_sizeof_int=4 \
|
||||
ac_cv_small_wchar_t=no \
|
||||
--enable-selinux=no \
|
||||
--enable-gui=no \
|
||||
--with-compiledby=LibreELEC \
|
||||
--with-features=huge \
|
||||
--with-tlib=ncurses \
|
||||
--without-x"
|
||||
|
||||
pre_configure_target() {
|
||||
cd ..
|
||||
rm -rf .$TARGET_NAME
|
||||
export LIBS="-lcurses -lterminfo"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
:
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
--- a/runtime/defaults.vim
|
||||
+++ b/runtime/defaults.vim
|
||||
@@ -66,9 +66,9 @@
|
||||
|
||||
" In many terminal emulators the mouse works just fine. By enabling it you
|
||||
" can position the cursor, Visually select and scroll with the mouse.
|
||||
-if has('mouse')
|
||||
- set mouse=a
|
||||
-endif
|
||||
+"if has('mouse')
|
||||
+" set mouse=a
|
||||
+"endif
|
||||
|
||||
" Switch syntax highlighting on when the terminal has colors or when using the
|
||||
" GUI (which always has colors).
|
||||
@@ -36,7 +36,7 @@ PKG_CMAKE_TARGET_OPTS="-DMINIMAL=ON"
|
||||
PKG_MAKE_TARGET_OPTS="tini-static"
|
||||
|
||||
pre_configure_target(){
|
||||
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" $ROOT/$PKG_BUILD/src/tiniConfig.h.in
|
||||
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" $PKG_BUILD/src/tiniConfig.h.in
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user