mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Compare commits
509 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
347de5f981 | ||
|
|
cf404a610b | ||
|
|
d416dad6d1 | ||
|
|
dc41c0580c | ||
|
|
ec9cf0776a | ||
|
|
c2ba185f76 | ||
|
|
1472d41144 | ||
|
|
d2b3d5b6b2 | ||
|
|
6c34b945b5 | ||
|
|
49ea4cb412 | ||
|
|
5c0cca5935 | ||
|
|
8027dcfbf1 | ||
|
|
681d2ae59d | ||
|
|
6cd2350411 | ||
|
|
86de12c4ce | ||
|
|
8b1a16f0b6 | ||
|
|
9a5bb062d4 | ||
|
|
eb8987d8d8 | ||
|
|
ff6dadfbef | ||
|
|
26d4bc1bf2 | ||
|
|
ccac3a836c | ||
|
|
692a1f979d | ||
|
|
ed70ff815f | ||
|
|
2b5149c6c2 | ||
|
|
39021544c4 | ||
|
|
b7128c6b01 | ||
|
|
f0442bf22f | ||
|
|
7cef50da82 | ||
|
|
3361f14907 | ||
|
|
b6803fabfc | ||
|
|
e6253731a8 | ||
|
|
e80447b2b1 | ||
|
|
8323f4fc2a | ||
|
|
7f2ece289c | ||
|
|
ed07827ee0 | ||
|
|
bb5ad8514f | ||
|
|
2c24b01cc6 | ||
|
|
f1a40edfc2 | ||
|
|
e5165d8108 | ||
|
|
46ceb4a3f6 | ||
|
|
5f720e4f41 | ||
|
|
a0e3207846 | ||
|
|
b4277bf0de | ||
|
|
c108863cde | ||
|
|
8710321b21 | ||
|
|
fdd523bab3 | ||
|
|
20e8843a91 | ||
|
|
6b558ec4bf | ||
|
|
925e29c870 | ||
|
|
389504983c | ||
|
|
b97b7c84df | ||
|
|
2e8fefe470 | ||
|
|
da0f497cbf | ||
|
|
2914448dc5 | ||
|
|
472c01fdb8 | ||
|
|
4841f5f34a | ||
|
|
fc43e1e914 | ||
|
|
e838322d1d | ||
|
|
9dde35d458 | ||
|
|
e8870e6abd | ||
|
|
afe824fc3d | ||
|
|
a375705d49 | ||
|
|
44cbace0b7 | ||
|
|
1731500183 | ||
|
|
567a71d5dd | ||
|
|
d1369bb366 | ||
|
|
03ff7ab7b8 | ||
|
|
5cff792077 | ||
|
|
910a3f1b90 | ||
|
|
f2e29db481 | ||
|
|
796f8f029a | ||
|
|
d0873760e1 | ||
|
|
3a6e4d651b | ||
|
|
e979f05ebc | ||
|
|
4b4d04eb8f | ||
|
|
f766996b87 | ||
|
|
54634cf062 | ||
|
|
0c3214a370 | ||
|
|
304994eb59 | ||
|
|
a8bf695dc3 | ||
|
|
aea264031d | ||
|
|
c5864e580b | ||
|
|
fcc5ed5776 | ||
|
|
e6cf459d1a | ||
|
|
f112a3c75d | ||
|
|
e8dafb58b3 | ||
|
|
3b44170cd9 | ||
|
|
c007c929b7 | ||
|
|
1b919e69d4 | ||
|
|
44e3ae71f8 | ||
|
|
9a6be076da | ||
|
|
bec1de55e3 | ||
|
|
f4d163937e | ||
|
|
1a97843c83 | ||
|
|
8da443cf0c | ||
|
|
81237d784e | ||
|
|
3d085bca6d | ||
|
|
ad84aa64e2 | ||
|
|
a7009752ec | ||
|
|
b5914a5091 | ||
|
|
a7c8456f95 | ||
|
|
f539993014 | ||
|
|
3a4386a6f7 | ||
|
|
949a8350e2 | ||
|
|
19da8d19ab | ||
|
|
c8e8dfd8ba | ||
|
|
3a9e854b81 | ||
|
|
191ffd0d08 | ||
|
|
fb562879da | ||
|
|
44a05fda68 | ||
|
|
e0bdb4a74d | ||
|
|
33ee98ef6e | ||
|
|
8d7b77bd0e | ||
|
|
515ae1ad5b | ||
|
|
650a44ddd5 | ||
|
|
0eef387b2b | ||
|
|
799d3fe49b | ||
|
|
07fe3dc637 | ||
|
|
8dc0cf382c | ||
|
|
fd880594fb | ||
|
|
12e3c05d0d | ||
|
|
ce0e76e1f5 | ||
|
|
17fb8dbba0 | ||
|
|
54cf9f3432 | ||
|
|
fff95904af | ||
|
|
b458efe642 | ||
|
|
f3ac923f44 | ||
|
|
2edb1194fc | ||
|
|
2e1ddeb80f | ||
|
|
0fbb9d1b38 | ||
|
|
c1de385e10 | ||
|
|
d440b53474 | ||
|
|
7e1d63f645 | ||
|
|
5542ed1e0f | ||
|
|
450a2baf20 | ||
|
|
5edf016b70 | ||
|
|
c19fd5e561 | ||
|
|
81484ceb61 | ||
|
|
17f2645aa4 | ||
|
|
a23c3fa439 | ||
|
|
650c1bfe7e | ||
|
|
294734cc9a | ||
|
|
f808232fbd | ||
|
|
2d27d00d1f | ||
|
|
ada1c1efc2 | ||
|
|
3e7a715bc8 | ||
|
|
cf7a6ab3b6 | ||
|
|
bb46c69f82 | ||
|
|
a54cd0710e | ||
|
|
966ea00cc8 | ||
|
|
50b3797034 | ||
|
|
b1f39b168a | ||
|
|
db8bb0e816 | ||
|
|
2b22799086 | ||
|
|
a4b40aac2d | ||
|
|
a849eda362 | ||
|
|
e90a2358af | ||
|
|
819a95217e | ||
|
|
57ac9eb7fc | ||
|
|
e7e257a5dd | ||
|
|
8ab7513ffe | ||
|
|
e64c9d0327 | ||
|
|
3bd395c523 | ||
|
|
7e85b6d98a | ||
|
|
653e56cdb1 | ||
|
|
bc1e4b53d0 | ||
|
|
d9e8563889 | ||
|
|
bb628b93f0 | ||
|
|
33aafb5cd3 | ||
|
|
ee75b8d1e7 | ||
|
|
32f35d3de9 | ||
|
|
0c471b8611 | ||
|
|
66ed3b2831 | ||
|
|
201082bd11 | ||
|
|
aa3aa77b84 | ||
|
|
4c8b564252 | ||
|
|
0e73827f72 | ||
|
|
f78fe511d8 | ||
|
|
409ae4390f | ||
|
|
9207caa178 | ||
|
|
d59e22bca8 | ||
|
|
687f9f4896 | ||
|
|
fb39931f91 | ||
|
|
7b15962d89 | ||
|
|
f8158fb261 | ||
|
|
3b32cb3940 | ||
|
|
a2b51ec917 | ||
|
|
4e8437d500 | ||
|
|
61125e1e77 | ||
|
|
bd8fb66462 | ||
|
|
cfd4da032c | ||
|
|
6d293503cb | ||
|
|
33c706103f | ||
|
|
4262d3fb4e | ||
|
|
1db1941eae | ||
|
|
bc6f1da98a | ||
|
|
a395a154fa | ||
|
|
618db78fd1 | ||
|
|
4a8fefd76a | ||
|
|
299f0228e4 | ||
|
|
e36a73e71e | ||
|
|
2c9039758b | ||
|
|
5dc1a6bb8e | ||
|
|
af8be4729f | ||
|
|
44e5af9bee | ||
|
|
c936ddc620 | ||
|
|
814471bc34 | ||
|
|
f7f1bbd097 | ||
|
|
e5fa2aae8f | ||
|
|
03795598b1 | ||
|
|
63a74ad8bc | ||
|
|
7cdba526c9 | ||
|
|
66e1f950d9 | ||
|
|
52f2e624ef | ||
|
|
ab14ea66d2 | ||
|
|
df75d91469 | ||
|
|
b8790e870e | ||
|
|
1efa8323ab | ||
|
|
7b49721ccd | ||
|
|
d92b5aecf8 | ||
|
|
0bc299425a | ||
|
|
490df59b36 | ||
|
|
82d8199ec8 | ||
|
|
21b171a503 | ||
|
|
26aa0920b9 | ||
|
|
2e42ace6a9 | ||
|
|
9d5833ef9a | ||
|
|
cacb06ec6d | ||
|
|
9cd9b9e8f9 | ||
|
|
ca1f6e1f3f | ||
|
|
2cb827480e | ||
|
|
129a49f2b8 | ||
|
|
8ada210183 | ||
|
|
ce76ed6a5e | ||
|
|
bb57f2fb9c | ||
|
|
416a7e72ba | ||
|
|
adec105cd9 | ||
|
|
6d056c8ab5 | ||
|
|
4f4b34343e | ||
|
|
6e4515d285 | ||
|
|
ab8e333e0a | ||
|
|
881cfcf3b6 | ||
|
|
5c26f8e5a9 | ||
|
|
c0b96574b7 | ||
|
|
5d05b2a8d2 | ||
|
|
6a1e71a4b8 | ||
|
|
d9e3ba624e | ||
|
|
687f63ef82 | ||
|
|
110d16bafc | ||
|
|
ce070b57ca | ||
|
|
865ab28841 | ||
|
|
f01c465503 | ||
|
|
a88f8d3a3b | ||
|
|
32cb5e55cc | ||
|
|
5ebe482acb | ||
|
|
1a054fea72 | ||
|
|
38c49db838 | ||
|
|
cecf606882 | ||
|
|
d4ad7e293d | ||
|
|
38a36b423f | ||
|
|
724c7ef688 | ||
|
|
8c4c45b27b | ||
|
|
ed46347271 | ||
|
|
ad44ceccc4 | ||
|
|
cbf19c9b66 | ||
|
|
eb89f33309 | ||
|
|
61a9cd4e1b | ||
|
|
30fe64a3d2 | ||
|
|
c7f57815a7 | ||
|
|
1445ffb2e9 | ||
|
|
a3564931ad | ||
|
|
4e3d92143e | ||
|
|
b74e416457 | ||
|
|
7f5bbd575b | ||
|
|
fcdb4f5efc | ||
|
|
fd571aacc6 | ||
|
|
7da6912990 | ||
|
|
90b0e2e8ab | ||
|
|
3e03056d24 | ||
|
|
52107b3e61 | ||
|
|
c552a52607 | ||
|
|
baa758d4d7 | ||
|
|
9d7b6c3cca | ||
|
|
b829ea2bb3 | ||
|
|
e831f2a759 | ||
|
|
07104015bf | ||
|
|
19b259b906 | ||
|
|
4c096bd525 | ||
|
|
e72604cea3 | ||
|
|
4af5a0e133 | ||
|
|
413309ff8b | ||
|
|
6b89ad94e9 | ||
|
|
220cd27d2e | ||
|
|
e24fcc898a | ||
|
|
0f8bbb66e7 | ||
|
|
e8b2fae8a5 | ||
|
|
3f56d86687 | ||
|
|
d720427421 | ||
|
|
1916d3af63 | ||
|
|
7c0d78d8b6 | ||
|
|
47bafc64cb | ||
|
|
1ed824b881 | ||
|
|
de6f79d04b | ||
|
|
ee97241409 | ||
|
|
ded8905f74 | ||
|
|
cd6bf14379 | ||
|
|
b004f13828 | ||
|
|
a99b0e682b | ||
|
|
c6d57bc398 | ||
|
|
1cfefd3596 | ||
|
|
ddaddb51ae | ||
|
|
8085c43425 | ||
|
|
07a1dfb819 | ||
|
|
712a898ed0 | ||
|
|
87b901126a | ||
|
|
6512347f28 | ||
|
|
f78c95ef39 | ||
|
|
0510d6935b | ||
|
|
fe691b69ed | ||
|
|
3ae02ccd58 | ||
|
|
e457a6b6f2 | ||
|
|
4cb4fca337 | ||
|
|
504f12b54b | ||
|
|
42be1ecd27 | ||
|
|
020271fcd8 | ||
|
|
0c39d7b335 | ||
|
|
17b17dd04b | ||
|
|
e2817f8ab6 | ||
|
|
79dc62da2c | ||
|
|
b0b44a1abe | ||
|
|
5c88085369 | ||
|
|
606f92f815 | ||
|
|
e32599f417 | ||
|
|
3c03d1e990 | ||
|
|
365f9ea76a | ||
|
|
da6a1331bf | ||
|
|
822942e1ea | ||
|
|
9e9ca25cb3 | ||
|
|
8c8fc13aec | ||
|
|
ba140c890e | ||
|
|
d11c464649 | ||
|
|
653282b53c | ||
|
|
3d855bc729 | ||
|
|
b5d1cc0091 | ||
|
|
9fee5e3f6d | ||
|
|
818d058d87 | ||
|
|
aeb9d8348e | ||
|
|
95f506e4f4 | ||
|
|
301e561ef9 | ||
|
|
f7cc132e04 | ||
|
|
dc54e99665 | ||
|
|
43c7c07e34 | ||
|
|
ae408015e5 | ||
|
|
9477afb210 | ||
|
|
89470a66f9 | ||
|
|
c8cf45c9eb | ||
|
|
7c8b287186 | ||
|
|
0eb99ab8e8 | ||
|
|
df10b78467 | ||
|
|
1c332b6185 | ||
|
|
2478e638ad | ||
|
|
0dfd031249 | ||
|
|
d11b730050 | ||
|
|
da2b9e6e2b | ||
|
|
7fe5c2962e | ||
|
|
25e8af4e2f | ||
|
|
c00828326c | ||
|
|
bcde4ad80b | ||
|
|
b5a3d944af | ||
|
|
b52c256b80 | ||
|
|
c5bc263dfc | ||
|
|
61467f8cd7 | ||
|
|
07a8987331 | ||
|
|
4e7b1107ad | ||
|
|
df3c36b5bd | ||
|
|
2417ae92d0 | ||
|
|
1e08aaf2c1 | ||
|
|
ff80570cde | ||
|
|
fd054a49d8 | ||
|
|
76952dbaa2 | ||
|
|
3cd98d50bd | ||
|
|
44a4797740 | ||
|
|
484abf0755 | ||
|
|
f43de44440 | ||
|
|
8701fc2022 | ||
|
|
457702ad49 | ||
|
|
d8d47beddb | ||
|
|
080c895cad | ||
|
|
8140d29e81 | ||
|
|
7085dc65d0 | ||
|
|
b568a7be71 | ||
|
|
2111aeb960 | ||
|
|
53eda10ba7 | ||
|
|
ec5e0bc2b4 | ||
|
|
f6d52c9bca | ||
|
|
8871cb193d | ||
|
|
d21a7f52ad | ||
|
|
5857254238 | ||
|
|
8078ed945c | ||
|
|
c4d968235a | ||
|
|
47b6d66d5c | ||
|
|
be139097a9 | ||
|
|
4914d514fa | ||
|
|
45f3999381 | ||
|
|
d680d2f7a4 | ||
|
|
c4477e8645 | ||
|
|
e569be27c4 | ||
|
|
5563848b77 | ||
|
|
d67a582349 | ||
|
|
fd0391fa09 | ||
|
|
e4888b996e | ||
|
|
9b3d478437 | ||
|
|
726cf151f2 | ||
|
|
c502a72ded | ||
|
|
f7c8ba3785 | ||
|
|
d6567d1331 | ||
|
|
5c625e5888 | ||
|
|
66395c23f9 | ||
|
|
2d10584da0 | ||
|
|
f0c7b02e37 | ||
|
|
335e8e4013 | ||
|
|
0881ed2f15 | ||
|
|
32f40cc6d9 | ||
|
|
859a1f73d4 | ||
|
|
6047734018 | ||
|
|
56bc463e4f | ||
|
|
69d48eea61 | ||
|
|
c6c222dc4b | ||
|
|
d47feb3921 | ||
|
|
d0dc9a0d80 | ||
|
|
597946e5b2 | ||
|
|
f481b3d244 | ||
|
|
e8746f9cc1 | ||
|
|
21c27d2300 | ||
|
|
5be73a6070 | ||
|
|
27073046f2 | ||
|
|
05de498aea | ||
|
|
ed68a7b755 | ||
|
|
63d1216467 | ||
|
|
7ad0823bd9 | ||
|
|
3fb896a3b8 | ||
|
|
631be2cea0 | ||
|
|
310f99b758 | ||
|
|
84a2fe2ff8 | ||
|
|
5156ff3b9e | ||
|
|
b4b1d33823 | ||
|
|
a78c122dd9 | ||
|
|
bae25a917f | ||
|
|
8c0de620e9 | ||
|
|
777de700ca | ||
|
|
820ca7d8f3 | ||
|
|
952c425aa1 | ||
|
|
c15a3e2131 | ||
|
|
318c45e62a | ||
|
|
9077103550 | ||
|
|
8d0e85372f | ||
|
|
8eb6fd23bf | ||
|
|
2275227562 | ||
|
|
280cf0bd27 | ||
|
|
dd0da2cc13 | ||
|
|
6c9db28597 | ||
|
|
d6dec3be2e | ||
|
|
a144ee1568 | ||
|
|
1d58c24935 | ||
|
|
fcfbef52a7 | ||
|
|
94c1e25259 | ||
|
|
c993025690 | ||
|
|
04ebb94a26 | ||
|
|
a35b6fa8ae | ||
|
|
c594377eb8 | ||
|
|
bf2ffa2539 | ||
|
|
a9748413ac | ||
|
|
700d8d0b0b | ||
|
|
f129459b7c | ||
|
|
f0a57994f5 | ||
|
|
64c804b207 | ||
|
|
effad153c1 | ||
|
|
34b9ff7a5b | ||
|
|
de34cbf66d | ||
|
|
1d6f3cff7b | ||
|
|
eb7f08e528 | ||
|
|
054f29b63c | ||
|
|
a9b5327a88 | ||
|
|
4a4e1d0a87 | ||
|
|
104caf8ef6 | ||
|
|
bccd06fe83 | ||
|
|
157dcba856 | ||
|
|
0ab6118148 | ||
|
|
ec89825d62 | ||
|
|
ba5028d664 | ||
|
|
a726d61906 | ||
|
|
0fc60bc0ee | ||
|
|
aa4a668fe6 | ||
|
|
9b99456f7e | ||
|
|
ea62c608ac | ||
|
|
3bb9b9c854 | ||
|
|
64949dd51f | ||
|
|
0d26727fad | ||
|
|
f00c94e777 | ||
|
|
6812021ea5 | ||
|
|
84216906b6 | ||
|
|
de363e7ff4 | ||
|
|
f959085f1d | ||
|
|
08f24bb042 | ||
|
|
cc8b88014d | ||
|
|
dfa9d4a4cb | ||
|
|
7e3518f04e | ||
|
|
4737e78764 | ||
|
|
55fb6d6e74 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -23,6 +23,9 @@ mkpkg-temp
|
||||
/sources
|
||||
/.work
|
||||
|
||||
# ccache
|
||||
/.ccache/
|
||||
|
||||
# backup files
|
||||
*.orig
|
||||
|
||||
|
||||
3
Makefile
3
Makefile
@@ -20,5 +20,8 @@ amlpkg:
|
||||
clean:
|
||||
rm -rf $(BUILD_DIRS)/* $(BUILD_DIRS)/.stamps
|
||||
|
||||
distclean:
|
||||
rm -rf ./.ccache ./$(BUILD_DIRS)
|
||||
|
||||
src-pkg:
|
||||
tar cvjf sources.tar.bz2 sources .stamps
|
||||
|
||||
@@ -60,11 +60,7 @@ setup_toolchain() {
|
||||
}
|
||||
|
||||
kernel_path() {
|
||||
if [ -e $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||
. $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk
|
||||
elif [ -e $HOME/.libreelec/packages/linux/package.mk ]; then
|
||||
. $HOME/.libreelec/packages/linux/package.mk
|
||||
elif [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||
if [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||
. $ROOT/projects/$PROJECT/packages/linux/package.mk
|
||||
else
|
||||
. $ROOT/packages/linux/package.mk
|
||||
@@ -74,11 +70,7 @@ kernel_path() {
|
||||
}
|
||||
|
||||
kernel_version() {
|
||||
if [ -e $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||
. $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk
|
||||
elif [ -e $HOME/.libreelec/packages/linux/package.mk ]; then
|
||||
. $HOME/.libreelec/packages/linux/package.mk
|
||||
elif [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||
if [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||
. $ROOT/projects/$PROJECT/packages/linux/package.mk
|
||||
else
|
||||
. $ROOT/packages/linux/package.mk
|
||||
@@ -95,23 +87,13 @@ get_module_dir() {
|
||||
# get package's build dir
|
||||
get_build_dir() {
|
||||
if [ ! -z $1 ] ; then
|
||||
local _PKG_DIR=$(find $HOME/.libreelec/projects/$PROJECT/packages -name $1 2>/dev/null)
|
||||
local _PKG_DIR=$(find $ROOT/projects/$PROJECT/packages -name $1 2>/dev/null)
|
||||
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
||||
. $_PKG_DIR/package.mk
|
||||
else
|
||||
local _PKG_DIR=$(find $HOME/.libreelec/packages -name $1 2>/dev/null)
|
||||
local _PKG_DIR=$(find $ROOT/packages -name $1 2>/dev/null)
|
||||
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
||||
. $_PKG_DIR/package.mk
|
||||
else
|
||||
local _PKG_DIR=$(find $ROOT/projects/$PROJECT/packages -name $1 2>/dev/null)
|
||||
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
||||
. $_PKG_DIR/package.mk
|
||||
else
|
||||
local _PKG_DIR=$(find $ROOT/packages -name $1 2>/dev/null)
|
||||
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
||||
. $_PKG_DIR/package.mk
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -211,15 +193,19 @@ strip_lto() {
|
||||
if [ -n "$GCC_OPTIM_LTO" ] ; then
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
|
||||
TARGET_CFLAGS=`echo $TARGET_CFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
|
||||
TARGET_CXXFLAGS=`echo $TARGET_CXXFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
|
||||
fi
|
||||
if [ -n "$LD_OPTIM_LTO" ] ; then
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|$LD_OPTIM_LTO||g"`
|
||||
TARGET_LDFLAGS=`echo $TARGET_LDFLAGS | sed -e "s|$LD_OPTIM_LTO||g"`
|
||||
fi
|
||||
}
|
||||
|
||||
strip_gold() {
|
||||
# strip out usage from GOLD linker
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||g"`
|
||||
TARGET_LDFLAGS=`echo $TARGET_LDFLAGS | sed -e "s|-fuse-ld=gold||g"`
|
||||
}
|
||||
|
||||
fix_module_depends() {
|
||||
@@ -286,7 +272,7 @@ dashes="==========================="
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f $PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf -a ! -f $HOME/.libreelec/projects/$PROJECT/linux/linux.$TARGET_ARCH.conf ] &&
|
||||
if [ ! -f $PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf ] &&
|
||||
! ls $PROJECT_DIR/$PROJECT/linux/*/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"
|
||||
@@ -294,7 +280,7 @@ dashes="==========================="
|
||||
check_arch="$check_arch\n $dashes$dashes$dashes"
|
||||
check_arch="$check_arch\n\n Valid Architectures for your project: $PROJECT"
|
||||
|
||||
for arch in $PROJECT_DIR/$PROJECT/linux/*.conf $HOME/.libreelec/projects/$PROJECT/linux/*.conf $PROJECT_DIR/$PROJECT/linux/*/linux.$TARGET_ARCH.conf; do
|
||||
for arch in $PROJECT_DIR/$PROJECT/linux/*.conf $PROJECT_DIR/$PROJECT/linux/*/linux.$TARGET_ARCH.conf; do
|
||||
check_arch="$check_arch\n - $(basename $arch | cut -f2 -d".")"
|
||||
done
|
||||
echo -e $check_arch
|
||||
|
||||
@@ -78,13 +78,9 @@ fi
|
||||
# Set the maximum size of the files stored in the cache. You can specify a
|
||||
# value in gigabytes, megabytes or kilobytes by appending a G, M or K to the
|
||||
# value. The default is gigabytes. The actual value stored is rounded down to
|
||||
# the nearest multiple of 16 kilobytes.
|
||||
CCACHE_CACHE_SIZE="30G"
|
||||
|
||||
# install devtools on development builds
|
||||
if [ "$LIBREELEC_VERSION" = "devel" ]; then
|
||||
DEVTOOLS=yes
|
||||
fi
|
||||
# the nearest multiple of 16 kilobytes. Keep in mind this per project .ccache
|
||||
# directory.
|
||||
CCACHE_CACHE_SIZE="10G"
|
||||
|
||||
# read options from $HOME if available
|
||||
if [ -f "$HOME/.libreelec/options" ]; then
|
||||
@@ -99,6 +95,11 @@ fi
|
||||
. $HOME/.libreelec/options.$DISTRO
|
||||
fi
|
||||
|
||||
# install devtools on development builds
|
||||
if [ -z "$DEVTOOLS" -a "$LIBREELEC_VERSION" = "devel" ]; then
|
||||
DEVTOOLS=yes
|
||||
fi
|
||||
|
||||
# overwrite OEM_SUPPORT via commandline
|
||||
if [ "$OEM" = yes -o "$OEM" = no ]; then
|
||||
OEM_SUPPORT=$OEM
|
||||
|
||||
36
config/path
36
config/path
@@ -79,40 +79,6 @@ SED="sed -i"
|
||||
_FOUND=0
|
||||
PKG_DIR=""
|
||||
|
||||
# check project folder for a package in home dir
|
||||
for DIR in $(find $HOME/.libreelec/projects/$PROJECT/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
|
||||
if [ -r "$DIR/package.mk" ]; then
|
||||
# found first, set $PKG_DIR
|
||||
PKG_DIR="$DIR"
|
||||
# keep track of dirs with package.mk for detecting multiple folders
|
||||
_ALL_DIRS="${_ALL_DIRS}${DIR}\\n"
|
||||
_FOUND=$((_FOUND+1))
|
||||
if [ $_FOUND -gt 1 ]; then
|
||||
# _FOUND more ? fail
|
||||
echo "Error - multiple package folders:"
|
||||
echo -e "$_ALL_DIRS"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# check for a package in home dir if not found already
|
||||
for DIR in $(find $HOME/.libreelec/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
|
||||
if [ -r "$DIR/package.mk" ]; then
|
||||
# found first, set $PKG_DIR
|
||||
PKG_DIR="$DIR"
|
||||
# keep track of dirs with package.mk for detecting multiple folders
|
||||
_ALL_DIRS="${_ALL_DIRS}${DIR}\\n"
|
||||
_FOUND=$((_FOUND+1))
|
||||
if [ $_FOUND -gt 1 ]; then
|
||||
# _FOUND more ? fail
|
||||
echo "Error - multiple package folders:"
|
||||
echo -e "$_ALL_DIRS"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# check project folder for a package if not found already
|
||||
for DIR in $(find $ROOT/projects/$PROJECT/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
|
||||
if [ -r "$DIR/package.mk" ]; then
|
||||
@@ -239,7 +205,7 @@ HOST_PKG_CONFIG_LIBDIR="$ROOT/$TOOLCHAIN/lib/pkgconfig:$ROOT/$TOOLCHAIN/share/pk
|
||||
HOST_PKG_CONFIG_SYSROOT_DIR=""
|
||||
|
||||
if [ -z "$CCACHE_DIR" ]; then
|
||||
export CCACHE_DIR=$HOME/.ccache-libreelec
|
||||
export CCACHE_DIR=$ROOT/.ccache/$PROJECT.$TARGET_ARCH-$OS_VERSION
|
||||
fi
|
||||
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
|
||||
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
|
||||
|
||||
BIN
distributions/LibreELEC/splash/boot-logo.bmp.gz
Normal file
BIN
distributions/LibreELEC/splash/boot-logo.bmp.gz
Normal file
Binary file not shown.
46
packages/addons/README.md
Normal file
46
packages/addons/README.md
Normal file
@@ -0,0 +1,46 @@
|
||||
#add-on package.mk skeleton
|
||||
This file shows a skeleton example of an add-on package.mk with content notes. Except for the license header, any lines prefixed with `#` are optional and may be omitted if not required.
|
||||
|
||||
```shell
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://LibreELEC.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="myprogram" # same as the folder name
|
||||
PKG_VERSION="1.0.1" # version or 7 digit-hash
|
||||
PKG_REV="100" # currently we start at 100 to solve OE update problems
|
||||
PKG_ARCH="any" # for available architectures, see LE/config/arch.* files
|
||||
# PKG_ADDON_PROJECTS="RPi RPi2" # for available projects, see projects subdirectory
|
||||
PKG_LICENSE="GPL" # program licenses, see licenses subdirectory for a list
|
||||
PKG_SITE="http://www.site.org"
|
||||
PKG_URL="http://www.site.org/$PKG_VERSION.tar.xz" # for github see the other packages, prefer tar.xz over .gz
|
||||
# PKG_SOURCE_DIR="somename-${PKG_VERSION}*" # if the folder inside the zip is different to the pkg name
|
||||
PKG_DEPENDS_TARGET="toolchain curl" # dependencies that are needed that the addon builds
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="service" # service, tools, virtual, driver, driver.remote ...
|
||||
PKG_SHORTDESC="Addon name: sort description" # Addon: is a program that does this and that
|
||||
PKG_LONGDESC="Addon name ($PKG_VERSION): detailed description"
|
||||
PKG_AUTORECONF="no" # yes or no
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Addon name" # proper name of the addon that is shown at the repo
|
||||
PKG_ADDON_TYPE="xbmc.service" # see LE/config/addon/ for other possibilities
|
||||
# PKG_ADDON_PROVIDES="executable" # http://kodi.wiki/view/addon.xml#.3Cprovides.3E_element
|
||||
PKG_ADDON_REPOVERSION="8.0" # for what main version it should be compatible
|
||||
# PKG_ADDON_REQUIRES="some.addon:0.0.0" # http://kodi.wiki/view/addon.xml#.3Crequires.3E
|
||||
# PKG_MAINTAINER="John Doe (email)" # if you want to be know as maintainer for a addon
|
||||
```
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_ADS1x15"
|
||||
PKG_VERSION="733d179"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python ADS1x15 Library"
|
||||
PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_ADXL345"
|
||||
PKG_VERSION="b153663"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python ADXL345 Library"
|
||||
PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi or BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_BMP"
|
||||
PKG_VERSION="ad6521d"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python BMP Library"
|
||||
PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi or Beaglebone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_CharLCD"
|
||||
PKG_VERSION="e5952eb"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python CharLCD Library"
|
||||
PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi or BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_DHT"
|
||||
PKG_VERSION="310c59b"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python DHT Library"
|
||||
PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
PKG_NAME="Adafruit_Python_GPIO"
|
||||
PKG_VERSION="fdf0fca"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
@@ -19,7 +19,7 @@
|
||||
PKG_NAME="Adafruit_Python_LED_Backpack"
|
||||
PKG_VERSION="d3bd401"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_LSM303"
|
||||
PKG_VERSION="03b344d"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python LSM303 Library"
|
||||
PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_MCP3008"
|
||||
PKG_VERSION="705f090"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python MCP3008 Library"
|
||||
PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_MCP4725"
|
||||
PKG_VERSION="5b5fc87"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python MCP4725 Library"
|
||||
PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_PCA9685"
|
||||
PKG_VERSION="bfa4851"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python PCA9685 Library"
|
||||
PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi or BeagleBone black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
PKG_NAME="Adafruit_Python_PureIO"
|
||||
PKG_VERSION="a29d95a"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_TCS34725"
|
||||
PKG_VERSION="4ff05a3"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python TCS34725 Library"
|
||||
PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_VCNL40xx"
|
||||
PKG_VERSION="e54bff9"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python VCNL40xx Library"
|
||||
PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Adafruit_Python_WS2801"
|
||||
PKG_VERSION="699426a"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python"
|
||||
PKG_SHORTDESC="Adafruit Python WS2801 Library"
|
||||
PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi & BeagleBone Black."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
43
packages/addons/addon-depends/bash/package.mk
Normal file
43
packages/addons/addon-depends/bash/package.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="bash"
|
||||
PKG_VERSION="4.3.46"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/bash/bash.html"
|
||||
PKG_URL="ftp://ftp.cwru.edu/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="The GNU Bourne Again shell"
|
||||
PKG_LONGDESC="The GNU Bourne Again shell"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
--with-curses \
|
||||
--enable-readline \
|
||||
--without-bash-malloc \
|
||||
--with-installed-readline"
|
||||
|
||||
pre_configure_target() {
|
||||
export LIBS="-lterminfo"
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="containerd"
|
||||
PKG_VERSION="9dc2b32"
|
||||
PKG_VERSION="0ac3cd1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="APL"
|
||||
@@ -66,7 +66,6 @@ pre_make_target() {
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
$GOLANG build -v -o bin/ctr -a -tags "static_build" -ldflags "$LDFLAGS" ./ctr
|
||||
$GOLANG build -v -o bin/containerd -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd
|
||||
$GOLANG build -v -o bin/containerd-shim -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd-shim
|
||||
}
|
||||
|
||||
110
packages/addons/addon-depends/emby-depends/ffmpegx/package.mk
Normal file
110
packages/addons/addon-depends/emby-depends/ffmpegx/package.mk
Normal file
@@ -0,0 +1,110 @@
|
||||
################################################################################
|
||||
# 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="2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPLv2.1+"
|
||||
PKG_SITE="https://ffmpeg.org"
|
||||
PKG_DEPENDS_TARGET="toolchain ffmpeg lame x264"
|
||||
PKG_PRIORITY="optional"
|
||||
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 \
|
||||
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
# 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="imagemagick"
|
||||
PKG_VERSION="6.9.5-5"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
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_SOURCE_DIR="ImageMagick-$PKG_VERSION"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11"
|
||||
PKG_PRIORITY="optional"
|
||||
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 \
|
||||
--enable-hdri=no \
|
||||
--disable-openmp"
|
||||
53
packages/addons/addon-depends/emby-depends/x264/package.mk
Normal file
53
packages/addons/addon-depends/emby-depends/x264/package.mk
Normal file
@@ -0,0 +1,53 @@
|
||||
################################################################################
|
||||
# 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="x264"
|
||||
PKG_VERSION="snapshot-20160623-2245"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
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_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="x264"
|
||||
PKG_LONGDESC="x264"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_target() {
|
||||
cd $ROOT/$PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
}
|
||||
|
||||
configure_target() {
|
||||
./configure \
|
||||
--prefix="/usr" \
|
||||
--extra-cflags="$CFLAGS" \
|
||||
--extra-ldflags="$LDFLAGS" \
|
||||
--disable-cli \
|
||||
--enable-static \
|
||||
--enable-strip \
|
||||
--disable-asm \
|
||||
--enable-pic \
|
||||
--host="$TARGET_NAME" \
|
||||
--cross-prefix="$TARGET_PREFIX" \
|
||||
--sysroot="$SYSROOT_PREFIX"
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="go"
|
||||
PKG_VERSION="1.6.2"
|
||||
PKG_VERSION="1.6.3"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
# 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="libgdiplus"
|
||||
PKG_VERSION="4.2"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
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_PRIORITY="optional"
|
||||
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"
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
# 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/>.
|
||||
################################################################################
|
||||
|
||||
. "$ROOT/packages/databases/sqlite/package.mk"
|
||||
|
||||
PKG_NAME="mono_sqlite"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_TARGET="toolchain sqlite"
|
||||
PKG_SHORTDESC="sqlite for mono"
|
||||
PKG_LONGDESC="libsqlite built shared for mono"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-static --enable-shared"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
cp -r $(get_build_dir sqlite)/* $PKG_BUILD/
|
||||
}
|
||||
@@ -32,10 +32,12 @@ PKG_LONGDESC="Moonlight Embedded is an open source implementation of NVIDIA's Ga
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
FREESCALE_V4L_INCLUDE=""
|
||||
if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver"
|
||||
elif [ "$KODIPLAYER_DRIVER" = "libfslvpuwrap" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx-gpu-viv"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libfslvpuwrap gpu-viv-bin-mx6q v4l-utils"
|
||||
FREESCALE_V4L_INCLUDE="-DFREESCALE_INCLUDE_DIR=$(get_build_dir v4l-utils)/lib/include"
|
||||
elif [ "$KODIPLAYER_DRIVER" = "libamcodec" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libamcodec"
|
||||
elif [ "$DISPLAYSERVER" = "x11" ]; then
|
||||
@@ -47,10 +49,13 @@ pre_build_target() {
|
||||
}
|
||||
|
||||
configure_target() {
|
||||
[ "$PROJECT" = "imx6" ] && strip_gold
|
||||
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \
|
||||
$FREESCALE_V4L_INCLUDE \
|
||||
..
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mpg123"
|
||||
PKG_VERSION="1.23.4"
|
||||
PKG_VERSION="1.23.6"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPLv2"
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="squeezelite"
|
||||
PKG_VERSION="94bffda"
|
||||
PKG_VERSION="33cca7e"
|
||||
PKG_REV="0"
|
||||
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 lirc libmad libvorbis mpg123 soxr"
|
||||
PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr"
|
||||
PKG_SECTION="tools"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SHORTDESC="squeezelite"
|
||||
@@ -33,7 +33,7 @@ PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_make_target() {
|
||||
OPTS="-DDSD -DIR -DFFMPEG -DRESAMPLE -DVISEXPORT -DIR"
|
||||
OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT"
|
||||
CFLAGS="$CFLAGS $OPTS"
|
||||
LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt"
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="Mozilla Public License"
|
||||
PKG_SITE="http://ftp.mozilla.org/"
|
||||
PKG_URL="http://ftp.mozilla.org/pub/security/nss/releases/NSS_3_22_3_RTM/src/nss-3.22.3-with-nspr-4.12.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain nss:host nspr"
|
||||
PKG_DEPENDS_TARGET="toolchain nss:host nspr zlib"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="security"
|
||||
PKG_SHORTDESC="The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications"
|
||||
|
||||
41
packages/addons/addon-depends/rpi_ws281x/package.mk
Normal file
41
packages/addons/addon-depends/rpi_ws281x/package.mk
Normal file
@@ -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="rpi_ws281x"
|
||||
PKG_VERSION="3e6ea50"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE=""
|
||||
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_PRIORITY="optional"
|
||||
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() {
|
||||
:
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="runc"
|
||||
PKG_VERSION="baf6536"
|
||||
PKG_VERSION="cc29e3d"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="APL"
|
||||
|
||||
43
packages/addons/addon-depends/unclutter/package.mk
Normal file
43
packages/addons/addon-depends/unclutter/package.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# 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="unclutter"
|
||||
PKG_VERSION="1.09"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Public Domain"
|
||||
PKG_SITE="https://sourceforge.net/projects/unclutter/"
|
||||
PKG_URL="http://jaist.dl.sourceforge.net/project/unclutter/unclutter/source_$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="x11"
|
||||
PKG_SHORTDESC="Unclutter: Hide X11 Cursor"
|
||||
PKG_LONGDESC="Unclutter runs in the background of an X11 session and after a specified period of inactivity hides the cursor from display. When the cursor is moved its display is restored. Users may specify specific windows to be ignored by unclutter."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
rm -f Makefile
|
||||
LDFLAGS="$LDFLAGS -lX11" $MAKE unclutter
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p .install_pkg/usr/bin
|
||||
install -m 755 unclutter .install_pkg/usr/bin/
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="vdr-plugin-dvbapi"
|
||||
PKG_VERSION="c76c24e"
|
||||
PKG_VERSION="897c50e"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From 2b06ab6d8603b511150d965e876ece1c24ee80e3 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Saraev <stefan@saraev.ca>
|
||||
Date: Sat, 7 Mar 2015 00:16:48 +0200
|
||||
Subject: [PATCH] disable network mode on new installs
|
||||
|
||||
---
|
||||
DVBAPISetup.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/DVBAPISetup.cpp b/DVBAPISetup.cpp
|
||||
index b776f21..b540ebf 100644
|
||||
--- a/DVBAPISetup.cpp
|
||||
+++ b/DVBAPISetup.cpp
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "DVBAPISetup.h"
|
||||
|
||||
int LogLevel = 2;
|
||||
-int OSCamNetworkMode = 1;
|
||||
+int OSCamNetworkMode = 0;
|
||||
char OSCamHost[HOST_NAME_MAX] = "localhost";
|
||||
int OSCamPort = 2000;
|
||||
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
@@ -17,13 +17,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="vdr-plugin-iptv"
|
||||
PKG_VERSION="2.2.1"
|
||||
PKG_VERSION="2226be2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/"
|
||||
PKG_URL="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/files/${PKG_NAME/-plugin/}-$PKG_VERSION.tgz"
|
||||
PKG_SOURCE_DIR="iptv-${PKG_VERSION}"
|
||||
PKG_URL="https://github.com/rofafor/vdr-plugin-iptv/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain vdr curl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="vdr-plugin-restfulapi"
|
||||
PKG_VERSION="0.2.6.0"
|
||||
PKG_VERSION="0.2.6.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/yavdr/vdr-plugin-restfulapi"
|
||||
PKG_URL="https://github.com/yavdr/${PKG_NAME}/releases/download/2.6.0/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_URL="https://github.com/yavdr/${PKG_NAME}/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain vdr cxxtools vdr-plugin-wirbelscan"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="vdr-plugin-satip"
|
||||
PKG_VERSION="18c9b79"
|
||||
PKG_VERSION="7815821"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="vdr-plugin-vnsiserver"
|
||||
PKG_VERSION="c63d8e8"
|
||||
PKG_VERSION="5f956c0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
||||
@@ -0,0 +1,148 @@
|
||||
From ce4d2a08e6448b7bfab68b89a12a156ed3294a63 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Reufer <thomas@reufer.ch>
|
||||
Date: Mon, 28 Mar 2016 19:47:14 +0200
|
||||
Subject: [PATCH] Implement H.265 frame parser
|
||||
|
||||
---
|
||||
pat.c | 1 +
|
||||
remux.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
|
||||
2 files changed, 82 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/pat.c b/pat.c
|
||||
index beb5609..bb7e5ae 100644
|
||||
--- a/pat.c
|
||||
+++ b/pat.c
|
||||
@@ -439,6 +439,7 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
|
||||
case 1: // STREAMTYPE_11172_VIDEO
|
||||
case 2: // STREAMTYPE_13818_VIDEO
|
||||
case 0x1B: // H.264
|
||||
+ case 0x24: // H.265
|
||||
Vpid = esPid;
|
||||
Ppid = pmt.getPCRPid();
|
||||
Vtype = stream.getStreamType();
|
||||
diff --git a/remux.c b/remux.c
|
||||
index 6c07efc..fe87160 100644
|
||||
--- a/remux.c
|
||||
+++ b/remux.c
|
||||
@@ -708,6 +708,7 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length)
|
||||
case 0x01: // STREAMTYPE_11172_VIDEO
|
||||
case 0x02: // STREAMTYPE_13818_VIDEO
|
||||
case 0x1B: // H.264
|
||||
+ case 0x24: // H.265
|
||||
vpid = stream.getPid();
|
||||
vtype = stream.getStreamType();
|
||||
ppid = Pmt.getPCRPid();
|
||||
@@ -1204,16 +1205,16 @@ private:
|
||||
nutSequenceParameterSet = 7,
|
||||
nutAccessUnitDelimiter = 9,
|
||||
};
|
||||
- cTsPayload tsPayload;
|
||||
uchar byte; // holds the current byte value in case of bitwise access
|
||||
int bit; // the bit index into the current byte (-1 if we're not in bit reading mode)
|
||||
int zeroBytes; // the number of consecutive zero bytes (to detect 0x000003)
|
||||
- uint32_t scanner;
|
||||
// Identifiers written in '_' notation as in "ITU-T H.264":
|
||||
bool separate_colour_plane_flag;
|
||||
int log2_max_frame_num;
|
||||
bool frame_mbs_only_flag;
|
||||
- //
|
||||
+protected:
|
||||
+ cTsPayload tsPayload;
|
||||
+ uint32_t scanner;
|
||||
bool gotAccessUnitDelimiter;
|
||||
bool gotSequenceParameterSet;
|
||||
uchar GetByte(bool Raw = false);
|
||||
@@ -1430,6 +1431,81 @@ void cH264Parser::ParseSliceHeader(void)
|
||||
}
|
||||
}
|
||||
|
||||
+// --- cH265Parser -----------------------------------------------------------
|
||||
+
|
||||
+class cH265Parser : public cH264Parser {
|
||||
+private:
|
||||
+ enum eNalUnitType {
|
||||
+ nutSliceSegmentTrailingN = 0,
|
||||
+ nutSliceSegmentTrailingR = 1,
|
||||
+ nutSliceSegmentTSAN = 2,
|
||||
+ nutSliceSegmentTSAR = 3,
|
||||
+ nutSliceSegmentSTSAN = 4,
|
||||
+ nutSliceSegmentSTSAR = 5,
|
||||
+ nutSliceSegmentRADLN = 6,
|
||||
+ nutSliceSegmentRADLR = 7,
|
||||
+ nutSliceSegmentRASLN = 8,
|
||||
+ nutSliceSegmentRASLR = 9,
|
||||
+ nutSliceSegmentBLAWLP = 16,
|
||||
+ nutSliceSegmentBLAWRADL = 17,
|
||||
+ nutSliceSegmentBLANLP = 18,
|
||||
+ nutSliceSegmentIDRWRADL = 19,
|
||||
+ nutSliceSegmentIDRNLP = 20,
|
||||
+ nutSliceSegmentCRANUT = 21,
|
||||
+ nutVideoParameterSet = 32,
|
||||
+ nutSequenceParameterSet = 33,
|
||||
+ nutPictureParameterSet = 34,
|
||||
+ nutAccessUnitDelimiter = 35,
|
||||
+ nutEndOfSequence = 36,
|
||||
+ nutEndOfBitstream = 37,
|
||||
+ nutFillerData = 38,
|
||||
+ nutPrefixSEI = 39,
|
||||
+ nutSuffixSEI = 40,
|
||||
+ nutNonVCLRes0 = 41,
|
||||
+ nutNonVCLRes3 = 44,
|
||||
+ nutUnspecified0 = 48,
|
||||
+ nutUnspecified7 = 55,
|
||||
+ };
|
||||
+public:
|
||||
+ cH265Parser(void);
|
||||
+ virtual int Parse(const uchar *Data, int Length, int Pid);
|
||||
+ };
|
||||
+
|
||||
+cH265Parser::cH265Parser(void) :
|
||||
+ cH264Parser()
|
||||
+{
|
||||
+}
|
||||
+
|
||||
+int cH265Parser::Parse(const uchar *Data, int Length, int Pid)
|
||||
+{
|
||||
+ newFrame = independentFrame = false;
|
||||
+ tsPayload.Setup(const_cast<uchar *>(Data), Length, Pid);
|
||||
+ if (TsPayloadStart(Data)) {
|
||||
+ tsPayload.SkipPesHeader();
|
||||
+ scanner = EMPTY_SCANNER;
|
||||
+ }
|
||||
+ for (;;) {
|
||||
+ scanner = (scanner << 8) | GetByte(true);
|
||||
+ if ((scanner & 0xFFFFFF00) == 0x00000100) { // NAL unit start
|
||||
+ uchar NalUnitType = (scanner >> 1) & 0x3F;
|
||||
+ GetByte(); // nuh_layer_id + nuh_temporal_id_plus1
|
||||
+ if (NalUnitType <= nutSliceSegmentRASLR || (NalUnitType >= nutSliceSegmentBLAWLP && NalUnitType <= nutSliceSegmentCRANUT)) {
|
||||
+ if (NalUnitType == nutSliceSegmentIDRWRADL || NalUnitType == nutSliceSegmentIDRNLP || NalUnitType == nutSliceSegmentCRANUT)
|
||||
+ independentFrame = true;
|
||||
+ if (GetBit()) { // first_slice_segment_in_pic_flag
|
||||
+ newFrame = true;
|
||||
+ tsPayload.Statistics();
|
||||
+ }
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ if (tsPayload.AtPayloadStart() // stop at any new payload start to have the buffer refilled if necessary
|
||||
+ || tsPayload.Eof()) // or if we're out of data
|
||||
+ break;
|
||||
+ }
|
||||
+ return tsPayload.Used();
|
||||
+}
|
||||
+
|
||||
// --- cFrameDetector --------------------------------------------------------
|
||||
|
||||
cFrameDetector::cFrameDetector(int Pid, int Type)
|
||||
@@ -1463,6 +1539,8 @@ void cFrameDetector::SetPid(int Pid, int Type)
|
||||
parser = new cMpeg2Parser;
|
||||
else if (type == 0x1B)
|
||||
parser = new cH264Parser;
|
||||
+ else if (type == 0x24)
|
||||
+ parser = new cH265Parser;
|
||||
else if (type == 0x04 || type == 0x06) // MPEG audio or AC3 audio
|
||||
parser = new cAudioParser;
|
||||
else if (type != 0)
|
||||
--
|
||||
2.0.5
|
||||
|
||||
47
packages/addons/addon-depends/xdotool/package.mk
Normal file
47
packages/addons/addon-depends/xdotool/package.mk
Normal file
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2009-2015 Stephan Raue (stephan@openelec.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="xdotool"
|
||||
PKG_VERSION="2.20110530.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.semicomplete.com/projects/xdotool/"
|
||||
PKG_URL="http://semicomplete.googlecode.com/files/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libXinerama libXtst"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="x11/app"
|
||||
PKG_SHORTDESC="This tool lets you simulate keyboard input and mouse activity, move and resize windows, etc."
|
||||
PKG_LONGDESC="This tool lets you simulate keyboard input and mouse activity, move and resize windows, etc."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
pre_configure_target() {
|
||||
LDFLAGS="$LDFLAGS -lXext"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make xdotool.static
|
||||
mv xdotool.static xdotool
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nothing to do here
|
||||
}
|
||||
@@ -1,3 +1,9 @@
|
||||
8.0.103
|
||||
- add xdotool
|
||||
|
||||
8.0.102
|
||||
- add unclutter
|
||||
|
||||
7.0.101
|
||||
- update to version 50.0.2661.75
|
||||
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
|
||||
PKG_NAME="chromium"
|
||||
PKG_VERSION="50.0.2661.75"
|
||||
PKG_REV="101"
|
||||
PKG_REV="103"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="Mixed"
|
||||
PKG_SITE="http://www.chromium.org/Home"
|
||||
PKG_URL="https://commondatastorage.googleapis.com/chromium-browser-official/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain pciutils dbus libXcomposite libXcursor libXtst alsa-lib bzip2 yasm nss libXScrnSaver libexif ninja:host libpng harfbuzz atk gtk+ libva-vdpau-driver"
|
||||
PKG_DEPENDS_TARGET="toolchain pciutils dbus libXcomposite libXcursor libXtst alsa-lib bzip2 yasm nss libXScrnSaver libexif ninja:host libpng harfbuzz atk gtk+ libva-vdpau-driver unclutter xdotool"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="browser"
|
||||
PKG_SHORTDESC="Chromium Browser: the open-source web browser from Google"
|
||||
@@ -171,4 +171,10 @@ addon() {
|
||||
|
||||
# libva-vdpau-driver
|
||||
cp -PL $(get_build_dir libva-vdpau-driver)/.install_pkg/usr/lib/va/*.so $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
|
||||
# unclutter
|
||||
cp -P $(get_build_dir unclutter)/.install_pkg/usr/bin/unclutter $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# xdotool
|
||||
cp -P $(get_build_dir xdotool)/xdotool $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
}
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
oe_setup_addon browser.chromium
|
||||
|
||||
# make sure we use "own" gtk/pango/nss/etc
|
||||
export LD_LIBRARY_PATH=/storage/.kodi/addons/browser.chromium/lib
|
||||
|
||||
@@ -27,7 +30,20 @@ export GDK_PIXBUF_MODULE_FILE=/storage/.kodi/addons/browser.chromium/config/pixb
|
||||
# font rendering in gtk widgets is brokeen with nvidia blob. use our Xdefaults
|
||||
export XENVIRONMENT=/storage/.kodi/addons/browser.chromium/config/Xdefaults
|
||||
|
||||
# start unclutter
|
||||
if [ "$HIDE_CURSOR" == "true" ]
|
||||
then
|
||||
unclutter &
|
||||
UNCLUTTER_PID=$!
|
||||
fi
|
||||
|
||||
# start chromium
|
||||
LD_PRELOAD=/usr/lib/libGL.so /storage/.kodi/addons/browser.chromium/bin/chromium.bin \
|
||||
--user-data-dir=/storage/.kodi/userdata/addon_data/browser.chromium/profile \
|
||||
--test-type $@
|
||||
|
||||
# kill unclutter
|
||||
if [ "$HIDE_CURSOR" == "true" ]
|
||||
then
|
||||
kill $UNCLUTTER_PID
|
||||
fi
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<string id="1025">Default Homepage</string>
|
||||
<string id="1026">Use Custom Audio Device</string>
|
||||
<string id="1027">Audio Device</string>
|
||||
<string id="1028">Hide Cursor</string>
|
||||
<string id="1030">Chromium Actions</string>
|
||||
<string id="1031">Install libwidevinecdm.so (Netflix Support)</string>
|
||||
<string id="1032">Install libpepflashplayer.so (Flash Player Support)</string>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<setting id="HOMEPAGE" type="text" label="1025" default="https://libreelec.tv" />
|
||||
<setting id="USE_CUST_AUDIODEVICE" type="bool" label="1026" default="false" />
|
||||
<setting id="CUST_AUDIODEVICE_STR" type="text" label="1027" visible="eq(-1,true)" subsetting="true" default="" />
|
||||
<setting id="HIDE_CURSOR" type="bool" label="1028" default="false" />
|
||||
</category>
|
||||
<category label="1001">
|
||||
<setting label="1030" type="lsep"/>
|
||||
|
||||
5
packages/addons/driver/sapphire/changelog.txt
Normal file
5
packages/addons/driver/sapphire/changelog.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
8.0.101
|
||||
- Rebuild driver against 4.7 kernel
|
||||
|
||||
8.0.100
|
||||
- Initial add-on
|
||||
BIN
packages/addons/driver/sapphire/icon/icon.png
Normal file
BIN
packages/addons/driver/sapphire/icon/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
76
packages/addons/driver/sapphire/package.mk
Normal file
76
packages/addons/driver/sapphire/package.mk
Normal file
@@ -0,0 +1,76 @@
|
||||
################################################################################
|
||||
# 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="sapphire"
|
||||
PKG_VERSION="6.6"
|
||||
PKG_REV="101"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://libreelec.tv"
|
||||
PKG_URL="http://www.rtr.ca/sapphire_remote/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain linux bash"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="driver.remote"
|
||||
PKG_SHORTDESC="A Linux driver to add support for sapphire remotes"
|
||||
PKG_LONGDESC="A Linux driver to add support for sapphire remotes"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Sapphire Remote Driver"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
|
||||
if [ -f $SYSROOT_PREFIX/usr/include/linux/input-event-codes.h ]; then
|
||||
INPUT_H="$SYSROOT_PREFIX/usr/include/linux/input-event-codes.h"
|
||||
else
|
||||
INPUT_H="$SYSROOT_PREFIX/usr/include/linux/input.h"
|
||||
fi
|
||||
|
||||
make_target() {
|
||||
KVER=$(kernel_version) KDIR=$(kernel_path) INPUT_H=$INPUT_H make
|
||||
}
|
||||
|
||||
post_make_target() {
|
||||
sed -i -e 's|modprobe sapphire|insmod /storage/.kodi/addons/driver.remote.sapphire/lib/sapphire.ko|' \
|
||||
-e 's|/etc/sapphire.keymap|/storage/.kodi/userdata/addon_data/driver.remote.sapphire/sapphire.keymap|' \
|
||||
-e 's|/usr/local/bin/sapphire_keymap.sh|/storage/.kodi/addons/driver.remote.sapphire/bin/sapphire_keymap.sh|' \
|
||||
-e 's|\&\& /usr/local/bin/sapphire_keymap.sh|\&\& /storage/.kodi/addons/driver.remote.sapphire/bin/sapphire_keymap.sh /storage/.kodi/userdata/addon_data/driver.remote.sapphire/sapphire.keymap|' \
|
||||
sapphire_startup.sh
|
||||
|
||||
sed -i -e 's|\#\!/bin/bash|\#\!/storage/.kodi/addons/driver.remote.sapphire/bin/bash|' \
|
||||
sapphire_startup.sh sapphire_keymap.sh
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp $PKG_BUILD/*.ko $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/etc
|
||||
cp $PKG_BUILD/keymap.default $ADDON_BUILD/$PKG_ADDON_ID/etc
|
||||
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/
|
||||
cp $PKG_BUILD/sapphire_startup.sh $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp $PKG_BUILD/sapphire_keymap.sh $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# bash
|
||||
cp $(get_build_dir bash)/.install_pkg/usr/bin/bash $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
diff -Naur a/Makefile b/Makefile
|
||||
--- a/Makefile 2016-04-24 18:28:49.000000000 -0700
|
||||
+++ b/Makefile 2016-07-09 13:39:17.008211023 -0700
|
||||
@@ -8,14 +8,14 @@
|
||||
BLACKLIST=/etc/modprobe.d/blacklist-$(CONFLICTS).conf
|
||||
KEYMAP_SCRIPT=sapphire_keymap.sh
|
||||
EXTRACT_KEYDEFS=extract_keydefs.sh
|
||||
-INPUT_H=$(shell [ -e /usr/include/linux/input-event-codes.h ] && echo /usr/include/linux/input-event-codes.h || echo /usr/include/linux/input.h)
|
||||
+INPUT_H ?= $(shell [ -e /usr/include/linux/input-event-codes.h ] && echo /usr/include/linux/input-event-codes.h || echo /usr/include/linux/input.h)
|
||||
|
||||
## MODPARMS is not used any more, but we have to nuke old copies to prevent issues:
|
||||
MODPARMS=/etc/modprobe.d/$(MODNAME).conf
|
||||
|
||||
CWD = $(shell pwd -P)
|
||||
KVER ?= $(shell uname -r)
|
||||
-KDIR = /lib/modules/$(KVER)
|
||||
+KDIR ?= /lib/modules/$(KVER)
|
||||
obj-m += $(MODNAME).o
|
||||
|
||||
#EXTRA_CFLAGS += -Werror
|
||||
@@ -31,7 +31,7 @@
|
||||
@exit 1
|
||||
|
||||
kmod:
|
||||
- $(MAKE) -C $(KDIR)/build M=$(CWD) modules
|
||||
+ $(MAKE) -C $(KDIR) M=$(CWD) modules
|
||||
|
||||
$(MODNAME).ko: $(MODSOURCE) $(MODNAME).h
|
||||
$(MAKE) kmod
|
||||
25
packages/addons/driver/sapphire/source/bin/sapphire-config
Executable file
25
packages/addons/driver/sapphire/source/bin/sapphire-config
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
################################################################################
|
||||
# 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/>.
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
oe_setup_addon driver.remote.sapphire
|
||||
|
||||
if [ ! -f $ADDON_HOME/sapphire.keymap ]; then
|
||||
cp $ADDON_DIR/etc/keymap.default $ADDON_HOME/sapphire.keymap
|
||||
fi
|
||||
18
packages/addons/driver/sapphire/source/default.py
Normal file
18
packages/addons/driver/sapphire/source/default.py
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
# 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/>.
|
||||
################################################################################
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Sapphire remote start script
|
||||
Before=kodi.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=HOME=/storage
|
||||
ExecStartPre=/storage/.kodi/addons/driver.remote.sapphire/bin/sapphire-config
|
||||
ExecStart=/storage/.kodi/addons/driver.remote.sapphire/bin/sapphire_startup.sh
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
6
packages/addons/driver/sundtek-mediatv/changelog.txt
Normal file → Executable file
6
packages/addons/driver/sundtek-mediatv/changelog.txt
Normal file → Executable file
@@ -1,3 +1,9 @@
|
||||
8.0.102
|
||||
- automatically update driver to latest version on first install
|
||||
show driver version in addon settings
|
||||
allow update for aarch64 architecture
|
||||
german translations
|
||||
|
||||
8.0.101
|
||||
- system wait-for-online preference is now respected
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
PKG_NAME="sundtek-mediatv"
|
||||
PKG_VERSION="7.0"
|
||||
PKG_REV="101"
|
||||
PKG_REV="102"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://support.sundtek.com/"
|
||||
@@ -27,7 +27,7 @@ PKG_DEPENDS_TARGET=""
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="driver/dvb"
|
||||
PKG_SHORTDESC="Sundtek MediaTV: a Linux driver to add support for SUNDTEK USB DVB devices"
|
||||
PKG_LONGDESC="Install this to add support for SundTek USB DVB devices."
|
||||
PKG_LONGDESC="Install this to add support for Sundtek USB DVB devices."
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Sundtek MediaTV"
|
||||
|
||||
@@ -36,8 +36,17 @@ SUNDTEK_ADDON_SETTINGS="$SUNDTEK_ADDON_HOME/settings.xml"
|
||||
|
||||
mkdir -p $SUNDTEK_ADDON_HOME
|
||||
|
||||
# remove the entry
|
||||
BUILD_DATE="#"
|
||||
sed -i "s|\(id=\"BUILD_DATE\" .* values=\)\"[^\"]*\"|\1\"$BUILD_DATE\"|" $SUNDTEK_ADDON_DIR/resources/settings.xml
|
||||
|
||||
if [ ! -f "$SUNDTEK_ADDON_HOME/sundtek.conf" ]; then
|
||||
cp $SUNDTEK_ADDON_DIR/config/* $SUNDTEK_ADDON_HOME/
|
||||
|
||||
# update driver on first run
|
||||
echo "update driver" >/tmp/ppp
|
||||
systemd-run $SUNDTEK_ADDON_DIR/bin/sundtek-update-driver.sh
|
||||
exit 0 # will be started later
|
||||
else
|
||||
# in case of missing entries in addon home's sundtek.conf
|
||||
entry_set="$(grep use_hwpidfilter $SUNDTEK_ADDON_HOME/sundtek.conf 2>/dev/null)"
|
||||
@@ -244,4 +253,8 @@ if [ -z "$(pidof mediasrv)" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
logger -t Sundtek "### Sundtek ready ###"
|
||||
# change build date in addon settings
|
||||
BUILD_DATE=$(mediasrv --build 2>&1)
|
||||
sed -i "s|\(id=\"BUILD_DATE\" .* values=\)\"[^\"]*\"|\1\"$BUILD_DATE\"|" $SUNDTEK_ADDON_DIR/resources/settings.xml
|
||||
|
||||
logger -t Sundtek "### Sundtek ready ($BUILD_DATE) ###"
|
||||
|
||||
@@ -36,6 +36,10 @@ systemctl stop driver.dvb.sundtek-mediatv
|
||||
killall -9 mediaclient &>/dev/null
|
||||
killall -9 mediasrv &>/dev/null
|
||||
|
||||
# remove the entry
|
||||
BUILD_DATE="#"
|
||||
sed -i "s|\(id=\"BUILD_DATE\" .* values=\)\"[^\"]*\"|\1\"$BUILD_DATE\"|" $SUNDTEK_ADDON_DIR/resources/settings.xml
|
||||
|
||||
# exit on errors
|
||||
set -e
|
||||
|
||||
@@ -47,7 +51,7 @@ mkdir tmp
|
||||
cd tmp
|
||||
|
||||
logger -t Sundtek "### Starting updating driver ###"
|
||||
kodi-send -a "Notification(Sundtek, Starting updating driver, 2000, $SUNDTEK_ADDON_DIR/icon.png)"
|
||||
kodi-send -a "Notification(Sundtek, Starting updating driver, 3000, $SUNDTEK_ADDON_DIR/icon.png)"
|
||||
|
||||
wget -O ../version.used http://sundtek.de/media/latest.phtml
|
||||
if [ $? -ne 0 ]; then
|
||||
@@ -63,6 +67,8 @@ if [ "$ARCH" = "x86_64" ]; then
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/64bit/installer.tar.gz"
|
||||
elif [ "$ARCH" = "arm" ]; then
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/armsysvhf/installer.tar.gz"
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/arm64/installer.tar.gz"
|
||||
else
|
||||
logger -t Sundtek "### Unsupported architecture ###"
|
||||
kodi-send -a "Notification(Sundtek, Unsupported architecture, 8000, $SUNDTEK_ADDON_DIR/icon.png)"
|
||||
@@ -72,7 +78,7 @@ else
|
||||
fi
|
||||
|
||||
logger -t Sundtek "### Downloading driver archive for $ARCH ###"
|
||||
kodi-send -a "Notification(Sundtek, Downloading driver archive for $ARCH, 2000, $SUNDTEK_ADDON_DIR/icon.png)"
|
||||
kodi-send -a "Notification(Sundtek, Downloading driver archive for $ARCH, 3000, $SUNDTEK_ADDON_DIR/icon.png)"
|
||||
wget -O installer.tar.gz $INSTALLER_URL
|
||||
if [ $? -ne 0 ]; then
|
||||
logger -t Sundtek "### Archive damaged ###"
|
||||
@@ -83,7 +89,7 @@ if [ $? -ne 0 ]; then
|
||||
fi
|
||||
|
||||
logger -t Sundtek "### Extracting archive ###"
|
||||
kodi-send -a "Notification(Sundtek, Extracting archive, 2000, $SUNDTEK_ADDON_DIR/icon.png)"
|
||||
kodi-send -a "Notification(Sundtek, Extracting archive, 3000, $SUNDTEK_ADDON_DIR/icon.png)"
|
||||
tar -xzf installer.tar.gz
|
||||
if [ $? -ne 0 ]; then
|
||||
logger -t Sundtek "### Archive damaged ###"
|
||||
|
||||
@@ -24,11 +24,12 @@
|
||||
|
||||
<string id="9000">Tuner settings</string>
|
||||
<string id="9005">Enable modifying settings</string>
|
||||
<string id="9010">Refresh tuners... (press me)</string>
|
||||
<string id="9010"><![CDATA[ >>> Refresh tuners <<< ]]></string>
|
||||
<string id="9020"> IR protocol</string>
|
||||
<string id="9030"> keymap filename</string>
|
||||
|
||||
<string id="3000">Driver</string>
|
||||
<string id="3005">Driver version</string>
|
||||
<string id="3020">Check for new driver version at boot</string>
|
||||
<string id="3010">Update from web... (press me)</string>
|
||||
<string id="3010"><![CDATA[ >>> Update driver now <<< ]]></string>
|
||||
</strings>
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<strings>
|
||||
<string id="1000">Allgemein</string>
|
||||
<string id="1014">Verzögerung bevor Treiber gestartet wird [Sek.]</string>
|
||||
<string id="1015">Skript welches vom Treiber-Stack gestartet werden soll</string>
|
||||
<string id="1030">Hardware PID Filter einschalten</string>
|
||||
<string id="1035">Fernbedienung unterstützen</string>
|
||||
<string id="1040">Niedrigste Adapter Nummer (/dev/dvb/adapterX/)</string>
|
||||
<string id="1050">Suspend / Resume des Treibers zulassen</string>
|
||||
|
||||
<string id="2000">Netzwerksupport</string>
|
||||
<string id="2005">Netzwerkserver aktivieren</string>
|
||||
<string id="2010">Mit Netzwerk-Tunern verbinden</string>
|
||||
<string id="2020">Server 1 IP Adresse</string>
|
||||
<string id="2021"> # Tuner ID</string>
|
||||
<string id="2030">Server 2 IP Adresse</string>
|
||||
<string id="2031"> # Tuner ID</string>
|
||||
<string id="2040">Server 3 IP Adresse</string>
|
||||
<string id="2041"> # Tuner ID</string>
|
||||
<string id="2050">Server 4 IP Adresse</string>
|
||||
<string id="2051"> # Tuner ID</string>
|
||||
<string id="2060">Server 5 IP Adresse</string>
|
||||
<string id="2061"> # Tuner ID</string>
|
||||
|
||||
<string id="9000">Geräte Einstellungen</string>
|
||||
<string id="9005">Geräte-Einstellung ändern</string>
|
||||
<string id="9010"><![CDATA[ >>> Tuner-Liste aktualisieren <<< ]]></string>
|
||||
<string id="9020"> IR Protokoll</string>
|
||||
<string id="9030"> Keymap Datei</string>
|
||||
|
||||
<string id="3000">Treiber</string>
|
||||
<string id="3005">Treiber-Version</string>
|
||||
<string id="3020">Bei Neustart auf neue Treiber-Version prüfen</string>
|
||||
<string id="3010"><![CDATA[ >>> Treiber jetzt aktualisieren <<< ]]></string>
|
||||
</strings>
|
||||
@@ -31,6 +31,7 @@
|
||||
</category>
|
||||
<category label="3000">
|
||||
<setting type="sep" />
|
||||
<setting id="BUILD_DATE" type="enum" label="3005" values="#" />
|
||||
<setting id="CHECK_BOOT" type="bool" label="3020" default="false" />
|
||||
<setting label="3010" option="close" type="action" id="update_driver" action="RunScript($CWD/resources/actions.py, update_driver)" />
|
||||
</category>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
8.0.100
|
||||
- Initial Release
|
||||
BIN
packages/addons/libraries/adafruit-libraries/icon/icon.png
Normal file
BIN
packages/addons/libraries/adafruit-libraries/icon/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
57
packages/addons/libraries/adafruit-libraries/package.mk
Normal file
57
packages/addons/libraries/adafruit-libraries/package.mk
Normal file
@@ -0,0 +1,57 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="adafruit-libraries"
|
||||
PKG_VERSION=""
|
||||
PKG_REV="100"
|
||||
PKG_ARCH="any"
|
||||
PKG_ADDON_PROJECTS="RPi RPi2"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE=""
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_TARGET="Adafruit_Python_ADS1x15 Adafruit_Python_ADXL345 Adafruit_Python_BMP Adafruit_Python_CharLCD Adafruit_Python_DHT Adafruit_Python_GPIO Adafruit_Python_LED_Backpack Adafruit_Python_LSM303 Adafruit_Python_MCP3008 Adafruit_Python_MCP4725 Adafruit_Python_PCA9685 Adafruit_Python_PureIO Adafruit_Python_TCS34725 Adafruit_Python_VCNL40xx Adafruit_Python_WS2801"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_SHORTDESC="A bundle of libraries from Adafruit"
|
||||
PKG_LONGDESC="This bundle currently includes Adafruit_ADS1x15, Adafruit_ADXL345, Adafruit_BMP, Adafruit_CharLCD, Adafruit_DHT, Adafruit_GPIO, Adafruit_LED_Backpack, Adafruit_LSM303, Adafruit_MCP3008, Adafruit_MCP4725, Adafruit_PCA9685, Adafruit_PureIO, Adafruit_TCS34725, Adafruit_VCNL40xx and Adafruit_WS2801 python modules"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Adafruit Libraries"
|
||||
PKG_ADDON_TYPE="xbmc.python.module"
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
PKG_ADDON_REQUIRES="virtual.rpi-tools:8.0.102"
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
cp -PR $(get_build_dir Adafruit_Python_ADS1x15)/Adafruit_ADS1x15 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_ADXL345)/Adafruit_ADXL345 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_BMP)/Adafruit_BMP $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_CharLCD)/Adafruit_CharLCD $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_DHT)/Adafruit_DHT $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_GPIO)/Adafruit_GPIO $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_LED_Backpack)/Adafruit_LED_Backpack $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_LSM303)/Adafruit_LSM303 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_MCP3008)/Adafruit_MCP3008 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_MCP4725)/Adafruit_MCP4725 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_PCA9685)/Adafruit_PCA9685 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_PureIO)/Adafruit_PureIO $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_TCS34725)/Adafruit_TCS34725 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_VCNL40xx)/Adafruit_VCNL40xx $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
cp -PR $(get_build_dir Adafruit_Python_WS2801)/Adafruit_WS2801 $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
import xbmcgui
|
||||
|
||||
dialog = xbmcgui.Dialog()
|
||||
dialog.ok('', 'This is a python-library-only addon')
|
||||
@@ -0,0 +1,2 @@
|
||||
8.0.100
|
||||
- initial LibreELEC version
|
||||
BIN
packages/addons/repository/repository.kodinerds/icon/icon.png
Normal file
BIN
packages/addons/repository/repository.kodinerds/icon/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
52
packages/addons/repository/repository.kodinerds/package.mk
Normal file
52
packages/addons/repository/repository.kodinerds/package.mk
Normal file
@@ -0,0 +1,52 @@
|
||||
################################################################################
|
||||
# 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="repository.kodinerds"
|
||||
PKG_VERSION="8.0"
|
||||
PKG_REV="100"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.kodinerds.net"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_TARGET="toolchain xmlstarlet"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION=""
|
||||
PKG_SHORTDESC="Kodinerds add-on repository"
|
||||
PKG_LONGDESC="Kodinerds add-on repository"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Kodinerds Repository"
|
||||
PKG_ADDON_TYPE="xbmc.addon.repository"
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
|
||||
|
||||
make_target() {
|
||||
$SED -e "s|@PKG_VERSION@|$PKG_VERSION|g" \
|
||||
-e "s|@PKG_REV@|$PKG_REV|g" \
|
||||
-i addon.xml
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID
|
||||
cp -R $PKG_BUILD/* $ADDON_BUILD/$PKG_ADDON_ID
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="repository.kodinerds"
|
||||
name="Kodinerds.net add-ons"
|
||||
version="@PKG_VERSION@.@PKG_REV@"
|
||||
provider-name="LibreELEC">
|
||||
<requires>
|
||||
<import addon="xbmc.addon" version="12.0.0"/>
|
||||
</requires>
|
||||
<extension point="xbmc.addon.repository" name="Jugger">
|
||||
<info compressed="true">https://raw.githubusercontent.com/Daniel75/reponerds/master/addons.xml</info>
|
||||
<checksum>https://raw.githubusercontent.com/Daniel75/reponerds/master/addons.xml.md5</checksum>
|
||||
<datadir zip="true">https://raw.githubusercontent.com/Daniel75/reponerds/master/</datadir>
|
||||
</extension>
|
||||
<extension point="xbmc.addon.metadata">
|
||||
<summary>Install add-ons from Kodinerds</summary>
|
||||
<summary lang="de">Installiere Add-ons von Kodinerds</summary>
|
||||
<description>Download and install add-ons from Kodinerds repository.</description>
|
||||
<description lang="de">Downloade und installiere Add-ons von der Kodinerds Repository.</description>
|
||||
<disclaimer></disclaimer>
|
||||
<platform>all</platform>
|
||||
</extension>
|
||||
</addon>
|
||||
@@ -1,3 +1,6 @@
|
||||
8.0.102
|
||||
- Build with Linux 4.7 RPi libraries
|
||||
|
||||
8.0.101
|
||||
- Move settings to Kodi
|
||||
|
||||
|
||||
@@ -18,24 +18,24 @@
|
||||
|
||||
PKG_NAME="dispmanx_vnc"
|
||||
PKG_VERSION="78e6673"
|
||||
PKG_REV="101"
|
||||
PKG_REV="102"
|
||||
PKG_ARCH="arm"
|
||||
PKG_ADDON_PROJECTS="RPi RPi2"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://github.com/patrikolausson/dispmanx_vnc"
|
||||
PKG_URL="https://github.com/patrikolausson/dispmanx_vnc/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libvncserver bcm2835-bootloader libconfig"
|
||||
PKG_DEPENDS_TARGET="toolchain libvncserver bcm2835-bootloader bcm2835-driver libconfig libressl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="service/system"
|
||||
PKG_SHORTDESC="VNC Server for Raspberry Pi"
|
||||
PKG_LONGDESC="VNC Server for Raspberry Pi using dispmanx"
|
||||
PKG_SHORTDESC="Raspberry Pi VNC: a Virtual Network Computing server for Raspberry Pi"
|
||||
PKG_LONGDESC="Raspberry Pi VNC ($PKG_VERSION) is a Virtual Network Computing (VNC) server for Raspberry Pi using dispmanx"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Raspberry Pi VNC"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
PKG_MAINTAINER="Anton Voyl (awiouy at gmail dot com)"
|
||||
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
||||
|
||||
pre_make_target() {
|
||||
export SYSROOT_PREFIX
|
||||
|
||||
@@ -14,7 +14,7 @@ diff -Naur a/Makefile b/Makefile
|
||||
+
|
||||
+INCLUDES = -I$(SYSROOT_PREFIX)/usr/include/ -I$(SYSROOT_PREFIX)/usr/include/interface/vcos/pthreads -I$(SYSROOT_PREFIX)/usr/include/interface/vmcs_host/linux
|
||||
+LIB_PATHS = -L$(SYSROOT_PREFIX)/usr/lib/
|
||||
+LIBS = -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lconfig++ -lz -lssl -lcrypto -lresolv -lvncserver -ljpeg -lpng16
|
||||
+LIBS = -lbrcmGLESv2 -lbrcmEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lconfig++ -lz -lssl -lcrypto -lresolv -lvncserver -ljpeg -lpng16
|
||||
|
||||
SOURCES = main.cpp \
|
||||
UFile.cpp \
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
8.0.106
|
||||
- Include missing docker-proxy
|
||||
|
||||
8.0.105
|
||||
- Update to docker 1.12.0
|
||||
- Update to golang 1.6.3
|
||||
- Use overlay2 driver (new installs only)
|
||||
- Remove docker-containerd-ctr
|
||||
|
||||
8.0.104
|
||||
- Update to docker 1.11.2
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="docker"
|
||||
PKG_VERSION="1.11.2"
|
||||
PKG_REV="104"
|
||||
PKG_VERSION="1.12.0"
|
||||
PKG_REV="106"
|
||||
PKG_ARCH="any"
|
||||
PKG_ADDON_PROJECTS="Generic RPi RPi2"
|
||||
PKG_ADDON_PROJECTS="Generic RPi RPi2 imx6"
|
||||
PKG_LICENSE="ASL"
|
||||
PKG_SITE="http://www.docker.com/"
|
||||
PKG_URL="https://github.com/docker/docker/archive/v${PKG_VERSION}.tar.gz"
|
||||
@@ -54,7 +54,7 @@ configure_target() {
|
||||
arm1176jzf-s)
|
||||
export GOARM=6
|
||||
;;
|
||||
cortex-a7)
|
||||
cortex-a7|cortex-a9)
|
||||
export GOARM=7
|
||||
;;
|
||||
esac
|
||||
@@ -82,7 +82,9 @@ configure_target() {
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
$GOLANG build -v -o bin/docker -a -tags "$DOCKER_BUILDTAGS" -ldflags "$LDFLAGS" ./docker
|
||||
$GOLANG build -v -o bin/docker -a -tags "$DOCKER_BUILDTAGS" -ldflags "$LDFLAGS" ./cmd/docker
|
||||
$GOLANG build -v -o bin/dockerd -a -tags "$DOCKER_BUILDTAGS" -ldflags "$LDFLAGS" ./cmd/dockerd
|
||||
$GOLANG build -v -o bin/docker-proxy -a -ldflags "$LDFLAGS" ./vendor/src/github.com/docker/libnetwork/cmd/proxy
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
@@ -92,11 +94,12 @@ makeinstall_target() {
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $ROOT/$PKG_BUILD/bin/docker $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $ROOT/$PKG_BUILD/bin/dockerd $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $ROOT/$PKG_BUILD/bin/docker-proxy $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# containerd
|
||||
cp -P $(get_build_dir containerd)/bin/containerd $ADDON_BUILD/$PKG_ADDON_ID/bin/docker-containerd
|
||||
cp -P $(get_build_dir containerd)/bin/containerd-shim $ADDON_BUILD/$PKG_ADDON_ID/bin/docker-containerd-shim
|
||||
cp -P $(get_build_dir containerd)/bin/ctr $ADDON_BUILD/$PKG_ADDON_ID/bin/docker-containerd-ctr
|
||||
|
||||
# runc
|
||||
cp -P $(get_build_dir runc)/bin/runc $ADDON_BUILD/$PKG_ADDON_ID/bin/docker-runc
|
||||
|
||||
@@ -1,19 +1,31 @@
|
||||
# Created with
|
||||
# find . -name "*.go" -print | xargs sed -i 's/\/etc\/docker/\/storage\/.kodi\/userdata\/addon_data\/service.system.docker\/config/g'
|
||||
|
||||
diff -Naur a/docker/daemon_unix.go b/docker/daemon_unix.go
|
||||
--- a/docker/daemon_unix.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/docker/daemon_unix.go 2016-05-02 12:19:20.461479163 -0700
|
||||
@@ -16,7 +16,7 @@
|
||||
"github.com/docker/docker/pkg/system"
|
||||
diff -Naur a/cmd/dockerd/daemon_solaris.go b/cmd/dockerd/daemon_solaris.go
|
||||
--- a/cmd/dockerd/daemon_solaris.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/cmd/dockerd/daemon_solaris.go 2016-06-23 10:53:28.544141675 -0700
|
||||
@@ -39,7 +39,7 @@
|
||||
}
|
||||
|
||||
func getDaemonConfDir() string {
|
||||
- return "/etc/docker"
|
||||
+ return "/storage/.kodi/userdata/addon_data/service.system.docker/config"
|
||||
}
|
||||
|
||||
// setupConfigReloadTrap configures the USR2 signal to reload the configuration.
|
||||
diff -Naur a/cmd/dockerd/daemon_unix.go b/cmd/dockerd/daemon_unix.go
|
||||
--- a/cmd/dockerd/daemon_unix.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/cmd/dockerd/daemon_unix.go 2016-06-23 10:53:28.542141655 -0700
|
||||
@@ -18,7 +18,7 @@
|
||||
"github.com/docker/libnetwork/portallocator"
|
||||
)
|
||||
|
||||
-const defaultDaemonConfigFile = "/etc/docker/daemon.json"
|
||||
+const defaultDaemonConfigFile = "/storage/.kodi/userdata/addon_data/service.system.docker/config/daemon.json"
|
||||
|
||||
func setPlatformServerConfig(serverConfig *apiserver.Config, daemonCfg *daemon.Config) *apiserver.Config {
|
||||
serverConfig.EnableCors = daemonCfg.EnableCors
|
||||
@@ -49,7 +49,7 @@
|
||||
// currentUserIsOwner checks whether the current user is the owner of the given
|
||||
// file.
|
||||
@@ -44,7 +44,7 @@
|
||||
}
|
||||
|
||||
func getDaemonConfDir() string {
|
||||
@@ -23,9 +35,9 @@ diff -Naur a/docker/daemon_unix.go b/docker/daemon_unix.go
|
||||
|
||||
// setupConfigReloadTrap configures the USR2 signal to reload the configuration.
|
||||
diff -Naur a/integration-cli/docker_cli_authz_unix_test.go b/integration-cli/docker_cli_authz_unix_test.go
|
||||
--- a/integration-cli/docker_cli_authz_unix_test.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_authz_unix_test.go 2016-05-02 12:19:20.291477565 -0700
|
||||
@@ -134,10 +134,10 @@
|
||||
--- a/integration-cli/docker_cli_authz_unix_test.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_authz_unix_test.go 2016-06-23 10:53:28.339139631 -0700
|
||||
@@ -142,10 +142,10 @@
|
||||
w.Write(b)
|
||||
})
|
||||
|
||||
@@ -38,7 +50,7 @@ diff -Naur a/integration-cli/docker_cli_authz_unix_test.go b/integration-cli/doc
|
||||
err = ioutil.WriteFile(fileName, []byte(s.server.URL), 0644)
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
@@ -186,7 +186,7 @@
|
||||
@@ -194,7 +194,7 @@
|
||||
|
||||
s.server.Close()
|
||||
|
||||
@@ -48,9 +60,9 @@ diff -Naur a/integration-cli/docker_cli_authz_unix_test.go b/integration-cli/doc
|
||||
}
|
||||
|
||||
diff -Naur a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_cli_daemon_test.go
|
||||
--- a/integration-cli/docker_cli_daemon_test.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_daemon_test.go 2016-05-02 12:19:20.356478174 -0700
|
||||
@@ -512,13 +512,13 @@
|
||||
--- a/integration-cli/docker_cli_daemon_test.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_daemon_test.go 2016-06-23 10:53:28.411140349 -0700
|
||||
@@ -553,13 +553,13 @@
|
||||
|
||||
func (s *DockerDaemonSuite) TestDaemonKeyGeneration(c *check.C) {
|
||||
// TODO: skip or update for Windows daemon
|
||||
@@ -66,7 +78,7 @@ diff -Naur a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_
|
||||
if err != nil {
|
||||
c.Fatalf("Error opening key file")
|
||||
}
|
||||
@@ -531,7 +531,7 @@
|
||||
@@ -572,7 +572,7 @@
|
||||
|
||||
func (s *DockerDaemonSuite) TestDaemonKeyMigration(c *check.C) {
|
||||
// TODO: skip or update for Windows daemon
|
||||
@@ -75,7 +87,7 @@ diff -Naur a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_
|
||||
k1, err := libtrust.GenerateECP256PrivateKey()
|
||||
if err != nil {
|
||||
c.Fatalf("Error generating private key: %s", err)
|
||||
@@ -548,7 +548,7 @@
|
||||
@@ -589,7 +589,7 @@
|
||||
}
|
||||
s.d.Stop()
|
||||
|
||||
@@ -84,7 +96,7 @@ diff -Naur a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_
|
||||
if err != nil {
|
||||
c.Fatalf("Error opening key file")
|
||||
}
|
||||
@@ -1296,7 +1296,7 @@
|
||||
@@ -1337,7 +1337,7 @@
|
||||
Y string `json:"y"`
|
||||
}
|
||||
|
||||
@@ -93,7 +105,7 @@ diff -Naur a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_
|
||||
if err := s.d.Start(); err != nil {
|
||||
c.Fatalf("Failed to start daemon: %v", err)
|
||||
}
|
||||
@@ -1306,7 +1306,7 @@
|
||||
@@ -1347,7 +1347,7 @@
|
||||
}
|
||||
|
||||
config := &Config{}
|
||||
@@ -102,7 +114,7 @@ diff -Naur a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_
|
||||
if err != nil {
|
||||
c.Fatalf("Error reading key.json file: %s", err)
|
||||
}
|
||||
@@ -1326,11 +1326,11 @@
|
||||
@@ -1367,11 +1367,11 @@
|
||||
}
|
||||
|
||||
// write back
|
||||
@@ -117,9 +129,9 @@ diff -Naur a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_
|
||||
if err := s.d.Start(); err == nil {
|
||||
c.Fatalf("It should not be successful to start daemon with wrong key: %v", err)
|
||||
diff -Naur a/integration-cli/docker_cli_external_graphdriver_unix_test.go b/integration-cli/docker_cli_external_graphdriver_unix_test.go
|
||||
--- a/integration-cli/docker_cli_external_graphdriver_unix_test.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_external_graphdriver_unix_test.go 2016-05-02 12:19:20.382478419 -0700
|
||||
@@ -306,10 +306,10 @@
|
||||
--- a/integration-cli/docker_cli_external_graphdriver_unix_test.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_external_graphdriver_unix_test.go 2016-06-23 10:53:28.444140678 -0700
|
||||
@@ -321,10 +321,10 @@
|
||||
respond(w, &graphDriverResponse{Size: size})
|
||||
})
|
||||
|
||||
@@ -133,7 +145,7 @@ diff -Naur a/integration-cli/docker_cli_external_graphdriver_unix_test.go b/inte
|
||||
err = ioutil.WriteFile(specFile, b, 0644)
|
||||
c.Assert(err, check.IsNil, check.Commentf("error writing to %s", specFile))
|
||||
}
|
||||
@@ -318,8 +318,8 @@
|
||||
@@ -333,8 +333,8 @@
|
||||
s.server.Close()
|
||||
s.jserver.Close()
|
||||
|
||||
@@ -144,41 +156,11 @@ diff -Naur a/integration-cli/docker_cli_external_graphdriver_unix_test.go b/inte
|
||||
}
|
||||
|
||||
func (s *DockerExternalGraphdriverSuite) TestExternalGraphDriver(c *check.C) {
|
||||
diff -Naur a/integration-cli/docker_cli_network_unix_test.go b/integration-cli/docker_cli_network_unix_test.go
|
||||
--- a/integration-cli/docker_cli_network_unix_test.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_network_unix_test.go 2016-05-02 12:19:20.380478400 -0700
|
||||
@@ -200,14 +200,14 @@
|
||||
}
|
||||
})
|
||||
|
||||
- err := os.MkdirAll("/etc/docker/plugins", 0755)
|
||||
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0755)
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", netDrv)
|
||||
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", netDrv)
|
||||
err = ioutil.WriteFile(fileName, []byte(url), 0644)
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
- ipamFileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", ipamDrv)
|
||||
+ ipamFileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", ipamDrv)
|
||||
err = ioutil.WriteFile(ipamFileName, []byte(url), 0644)
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
@@ -219,7 +219,7 @@
|
||||
|
||||
s.server.Close()
|
||||
|
||||
- err := os.RemoveAll("/etc/docker/plugins")
|
||||
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
|
||||
diff -Naur a/integration-cli/docker_cli_start_volume_driver_unix_test.go b/integration-cli/docker_cli_start_volume_driver_unix_test.go
|
||||
--- a/integration-cli/docker_cli_start_volume_driver_unix_test.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_start_volume_driver_unix_test.go 2016-05-02 12:19:20.387478466 -0700
|
||||
@@ -216,17 +216,17 @@
|
||||
send(w, nil)
|
||||
diff -Naur a/integration-cli/docker_cli_external_volume_driver_unix_test.go b/integration-cli/docker_cli_external_volume_driver_unix_test.go
|
||||
--- a/integration-cli/docker_cli_external_volume_driver_unix_test.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_external_volume_driver_unix_test.go 2016-06-23 10:53:28.435140588 -0700
|
||||
@@ -239,17 +239,17 @@
|
||||
send(w, `{"Capabilities": { "Scope": "global" }}`)
|
||||
})
|
||||
|
||||
- err := os.MkdirAll("/etc/docker/plugins", 0755)
|
||||
@@ -198,7 +180,7 @@ diff -Naur a/integration-cli/docker_cli_start_volume_driver_unix_test.go b/integ
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
|
||||
@@ -311,7 +311,7 @@
|
||||
@@ -334,7 +334,7 @@
|
||||
|
||||
// Make sure a request to use a down driver doesn't block other requests
|
||||
func (s *DockerExternalVolumeSuite) TestExternalVolumeDriverLookupNotBlocked(c *check.C) {
|
||||
@@ -207,7 +189,7 @@ diff -Naur a/integration-cli/docker_cli_start_volume_driver_unix_test.go b/integ
|
||||
err := ioutil.WriteFile(specPath, []byte("tcp://127.0.0.7:9999"), 0644)
|
||||
c.Assert(err, check.IsNil)
|
||||
defer os.RemoveAll(specPath)
|
||||
@@ -350,7 +350,7 @@
|
||||
@@ -373,7 +373,7 @@
|
||||
err := s.d.StartWithBusybox()
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
@@ -216,9 +198,39 @@ diff -Naur a/integration-cli/docker_cli_start_volume_driver_unix_test.go b/integ
|
||||
os.RemoveAll(specPath)
|
||||
defer os.RemoveAll(specPath)
|
||||
|
||||
diff -Naur a/integration-cli/docker_cli_network_unix_test.go b/integration-cli/docker_cli_network_unix_test.go
|
||||
--- a/integration-cli/docker_cli_network_unix_test.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/integration-cli/docker_cli_network_unix_test.go 2016-06-23 10:53:28.441140648 -0700
|
||||
@@ -201,14 +201,14 @@
|
||||
}
|
||||
})
|
||||
|
||||
- err := os.MkdirAll("/etc/docker/plugins", 0755)
|
||||
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0755)
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", netDrv)
|
||||
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", netDrv)
|
||||
err = ioutil.WriteFile(fileName, []byte(url), 0644)
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
- ipamFileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", ipamDrv)
|
||||
+ ipamFileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", ipamDrv)
|
||||
err = ioutil.WriteFile(ipamFileName, []byte(url), 0644)
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
@@ -220,7 +220,7 @@
|
||||
|
||||
s.server.Close()
|
||||
|
||||
- err := os.RemoveAll("/etc/docker/plugins")
|
||||
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
|
||||
diff -Naur a/pkg/plugins/discovery.go b/pkg/plugins/discovery.go
|
||||
--- a/pkg/plugins/discovery.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/pkg/plugins/discovery.go 2016-05-02 12:19:20.540479907 -0700
|
||||
--- a/pkg/plugins/discovery.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/pkg/plugins/discovery.go 2016-06-23 10:53:28.636142593 -0700
|
||||
@@ -16,7 +16,7 @@
|
||||
// ErrNotFound plugin not found
|
||||
ErrNotFound = errors.New("plugin not found")
|
||||
@@ -229,8 +241,8 @@ diff -Naur a/pkg/plugins/discovery.go b/pkg/plugins/discovery.go
|
||||
|
||||
// localRegistry defines a registry that is local (using unix socket).
|
||||
diff -Naur a/pkg/plugins/plugins.go b/pkg/plugins/plugins.go
|
||||
--- a/pkg/plugins/plugins.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/pkg/plugins/plugins.go 2016-05-02 12:19:20.539479898 -0700
|
||||
--- a/pkg/plugins/plugins.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/pkg/plugins/plugins.go 2016-06-23 10:53:28.636142593 -0700
|
||||
@@ -4,7 +4,7 @@
|
||||
// Docker discovers plugins by looking for them in the plugin directory whenever
|
||||
// a user or container tries to use one by name. UNIX domain socket files must
|
||||
@@ -241,8 +253,8 @@ diff -Naur a/pkg/plugins/plugins.go b/pkg/plugins/plugins.go
|
||||
// its name if it exists.
|
||||
//
|
||||
diff -Naur a/registry/config_unix.go b/registry/config_unix.go
|
||||
--- a/registry/config_unix.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/registry/config_unix.go 2016-05-02 12:19:20.502479549 -0700
|
||||
--- a/registry/config_unix.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/registry/config_unix.go 2016-06-23 10:53:28.594142174 -0700
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
var (
|
||||
@@ -253,8 +265,8 @@ diff -Naur a/registry/config_unix.go b/registry/config_unix.go
|
||||
|
||||
// cleanPath is used to ensure that a directory name is valid on the target
|
||||
diff -Naur a/registry/endpoint_v1.go b/registry/endpoint_v1.go
|
||||
--- a/registry/endpoint_v1.go 2016-04-25 20:35:31.000000000 -0700
|
||||
+++ b/registry/endpoint_v1.go 2016-05-02 12:19:20.501479540 -0700
|
||||
--- a/registry/endpoint_v1.go 2016-06-17 13:28:45.000000000 -0700
|
||||
+++ b/registry/endpoint_v1.go 2016-06-23 10:53:28.593142164 -0700
|
||||
@@ -49,7 +49,7 @@
|
||||
if endpoint.IsSecure {
|
||||
// If registry is secure and HTTPS failed, show user the error and tell them about `--insecure-registry`
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DOCKER_DAEMON_OPTS="--graph=/storage/.kodi/userdata/addon_data/service.system.docker/docker"
|
||||
DOCKER_STORAGE_OPTS="--storage-driver=overlay"
|
||||
DOCKER_STORAGE_OPTS="--storage-driver=overlay2"
|
||||
|
||||
@@ -9,7 +9,7 @@ Type=notify
|
||||
Environment=PATH=/bin:/sbin:/usr/bin:/usr/sbin:/storage/.kodi/addons/service.system.docker/bin
|
||||
ExecStartPre=/storage/.kodi/addons/service.system.docker/bin/docker-config
|
||||
EnvironmentFile=-/storage/.kodi/userdata/addon_data/service.system.docker/config/docker.conf
|
||||
ExecStart=/storage/.kodi/addons/service.system.docker/bin/docker daemon -H fd:// $DOCKER_DAEMON_OPTS $DOCKER_STORAGE_OPTS
|
||||
ExecStart=/storage/.kodi/addons/service.system.docker/bin/dockerd --host=fd:// --group=root $DOCKER_DAEMON_OPTS $DOCKER_STORAGE_OPTS
|
||||
MountFlags=slave
|
||||
LimitNOFILE=1048576
|
||||
LimitNPROC=1048576
|
||||
|
||||
20
packages/addons/service/emby/changelog.txt
Normal file
20
packages/addons/service/emby/changelog.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
8.0.104
|
||||
- Updated to version 3.0.6300
|
||||
- Rebuilt ffmpegx
|
||||
|
||||
8.0.103
|
||||
- Updated to version 3.0.6070
|
||||
- Build for all architectures
|
||||
- Refer to libsqlite3.so.0 instead of libsqlite3.so
|
||||
|
||||
8.0.102
|
||||
- Updated to version 3.0.6030
|
||||
- Added dedicated ffmpeg and ffprobe
|
||||
- Removed unused shared libraries
|
||||
|
||||
8.0.101
|
||||
- Updated to version 3.0.5985
|
||||
- Removed mono build dependency
|
||||
|
||||
8.0.100
|
||||
- Initial release
|
||||
BIN
packages/addons/service/emby/icon/icon.png
Normal file
BIN
packages/addons/service/emby/icon/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
69
packages/addons/service/emby/package.mk
Normal file
69
packages/addons/service/emby/package.mk
Normal file
@@ -0,0 +1,69 @@
|
||||
################################################################################
|
||||
# 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="emby"
|
||||
PKG_VERSION="3.0.6300"
|
||||
PKG_REV="104"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://emby.media"
|
||||
PKG_URL="https://github.com/MediaBrowser/Emby/releases/download/$PKG_VERSION/Emby.Mono.zip"
|
||||
PKG_DEPENDS_TARGET="toolchain ffmpegx imagemagick"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="service"
|
||||
PKG_SHORTDESC="Emby: a personal media server"
|
||||
PKG_LONGDESC="Emby ($PKG_VERSION) brings your home videos, music, and photos together, automatically converting and streaming your media on-the-fly to any device"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Emby (beta)"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
PKG_ADDON_REQUIRES="tools.mono:0.0.0"
|
||||
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
||||
|
||||
unpack() {
|
||||
mkdir -p $PKG_BUILD
|
||||
}
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/Emby.Mono
|
||||
unzip -q $ROOT/$SOURCES/$PKG_NAME/$PKG_SOURCE_NAME \
|
||||
-d $ADDON_BUILD/$PKG_ADDON_ID/Emby.Mono
|
||||
|
||||
sed -i 's/libsqlite3.so/libsqlite3.so.0/g' \
|
||||
$ADDON_BUILD/$PKG_ADDON_ID/Emby.Mono/System.Data.SQLite.dll.config
|
||||
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -L $(get_build_dir ffmpegx)/.install_pkg/usr/local/bin/ffmpegx \
|
||||
$(get_build_dir ffmpegx)/.install_pkg/usr/local/bin/ffprobex \
|
||||
$ADDON_BUILD/$PKG_ADDON_ID/bin/
|
||||
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
cp -L $(get_build_dir imagemagick)/.install_pkg/usr/lib/libMagickCore-6.Q8.so.2 \
|
||||
$(get_build_dir imagemagick)/.install_pkg/usr/lib/libMagickWand-6.Q8.so \
|
||||
$ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
}
|
||||
31
tools/mkpkg/mkpkg_hyperion → packages/addons/service/emby/source/bin/emby.start
Executable file → Normal file
31
tools/mkpkg/mkpkg_hyperion → packages/addons/service/emby/source/bin/emby.start
Executable file → Normal file
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@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
|
||||
@@ -17,25 +17,16 @@
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
echo "getting sources..."
|
||||
if [ ! -d hyperion.git ]; then
|
||||
git clone --depth 1 --recursive https://github.com/tvdzwan/hyperion hyperion.git
|
||||
fi
|
||||
. /etc/profile
|
||||
oe_setup_addon service.emby
|
||||
|
||||
cd hyperion.git
|
||||
git pull
|
||||
GIT_REV=`git log -n1 --format=%h`
|
||||
cd ..
|
||||
chmod +x $ADDON_DIR/bin/*
|
||||
mkdir -p $ADDON_HOME
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf hyperion-$GIT_REV
|
||||
cp -R hyperion.git hyperion-$GIT_REV
|
||||
if [ "$emby_ffmpeg" = "true" ]
|
||||
then
|
||||
emby_flags="-ffmpeg $ADDON_DIR/bin/ffmpegx -ffprobe $ADDON_DIR/bin/ffprobex"
|
||||
fi
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf hyperion-$GIT_REV/.git
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvJf hyperion-$GIT_REV.tar.xz hyperion-$GIT_REV
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf hyperion-$GIT_REV
|
||||
mono $ADDON_DIR/Emby.Mono/MediaBrowser.Server.Mono.exe -programdata $ADDON_HOME \
|
||||
$emby_flags
|
||||
35
packages/addons/service/emby/source/default.py
Normal file
35
packages/addons/service/emby/source/default.py
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
import subprocess
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
|
||||
|
||||
class Monitor(xbmc.Monitor):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
xbmc.Monitor.__init__(self)
|
||||
self.id = xbmcaddon.Addon().getAddonInfo('id')
|
||||
|
||||
def onSettingsChanged(self):
|
||||
subprocess.call(['systemctl', 'restart', self.id])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
Monitor().waitForAbort()
|
||||
@@ -0,0 +1,11 @@
|
||||
# Kodi Media Center language file
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30000"
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30001"
|
||||
msgid "Use dedicated ffmpeg/ffprobe (experimental)"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<settings>
|
||||
<category label="30000">
|
||||
<setting label="30001" id="emby_ffmpeg" type="bool" default="false" />
|
||||
</category>
|
||||
</settings>
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Emby - streaming server
|
||||
Documentation=http://emby.media
|
||||
After=network.target
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/sh /storage/.kodi/addons/service.emby/bin/emby.start
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=kodi.target
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
8.0.102
|
||||
- Update to version 85fcec3
|
||||
|
||||
8.0.101
|
||||
- Update to version d2f4725
|
||||
|
||||
8.0.100
|
||||
- Update for LibreELEC 8.0
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hyperion"
|
||||
PKG_VERSION="f64b6eb"
|
||||
PKG_REV="100"
|
||||
PKG_VERSION="85fcec3"
|
||||
PKG_REV="102"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/tvdzwan/hyperion"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python libusb qt protobuf"
|
||||
PKG_URL="https://github.com/tvdzwan/hyperion/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python libusb qt protobuf rpi_ws281x"
|
||||
PKG_SECTION="service"
|
||||
PKG_SHORTDESC="Hyperion: an AmbiLight controller"
|
||||
PKG_LONGDESC="Hyperion($PKG_VERSION) is an modern opensource AmbiLight implementation."
|
||||
@@ -44,10 +44,14 @@ elif [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
|
||||
DISPMANX_SUPPORT="-DENABLE_DISPMANX=1"
|
||||
FB_SUPPORT="-DENABLE_FB=0"
|
||||
elif [ "$DISPLAYSERVER" = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET xorg-server"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET xorg-server xrandr"
|
||||
X11_SUPPORT="-DENABLE_X11=1"
|
||||
fi
|
||||
|
||||
pre_build_target() {
|
||||
cp -a $(get_build_dir rpi_ws281x)/* $ROOT/$PKG_BUILD/dependencies/external/rpi_ws281x
|
||||
}
|
||||
|
||||
configure_target() {
|
||||
echo "" > ../cmake/FindGitVersion.cmake
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
|
||||
@@ -59,7 +63,7 @@ configure_target() {
|
||||
$DISPMANX_SUPPORT \
|
||||
$FB_SUPPORT \
|
||||
-DENABLE_OSX=0 \
|
||||
-DENABLE_PROTOBUF=1 \
|
||||
-DUSE_SYSTEM_PROTO_LIBS=ON \
|
||||
-DENABLE_SPIDEV=1 \
|
||||
-DENABLE_TINKERFORGE=0 \
|
||||
-DENABLE_V4L2=1 \
|
||||
@@ -92,7 +96,7 @@ addon() {
|
||||
fi
|
||||
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config
|
||||
cp -P $PKG_BUILD/config/hyperion.config.json $ADDON_BUILD/$PKG_ADDON_ID/config/hyperion.config.json.sample
|
||||
cp -P $PKG_BUILD/config/hyperion.config.json.example $ADDON_BUILD/$PKG_ADDON_ID/config/hyperion.config.json.sample
|
||||
sed -i -e "s,/opt/hyperion/effects,/storage/.kodi/addons/service.hyperion/effects,g" \
|
||||
$ADDON_BUILD/$PKG_ADDON_ID/config/hyperion.config.json.sample
|
||||
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
From 0ce04b692b7c3e4414c46402c389215f7b0aac48 Mon Sep 17 00:00:00 2001
|
||||
From: Jonas Karlman <jonas@kwiboo.se>
|
||||
Date: Mon, 6 Apr 2015 21:47:41 +0200
|
||||
Subject: [PATCH] Use protobuf from pkg-config
|
||||
|
||||
---
|
||||
dependencies/CMakeLists.txt | 20 ++------------------
|
||||
1 file changed, 2 insertions(+), 18 deletions(-)
|
||||
|
||||
diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt
|
||||
index 17747bd..4406d01 100644
|
||||
--- a/dependencies/CMakeLists.txt
|
||||
+++ b/dependencies/CMakeLists.txt
|
||||
@@ -5,25 +5,9 @@ add_subdirectory(build/serial)
|
||||
add_subdirectory(build/tinkerforge)
|
||||
|
||||
if(ENABLE_PROTOBUF)
|
||||
- set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared protobuf library")
|
||||
- add_subdirectory(external/protobuf)
|
||||
+ find_package(Protobuf REQUIRED)
|
||||
+ include_directories(${PROTOBUF_INCLUDE_DIRS})
|
||||
|
||||
- if(CMAKE_CROSSCOMPILING)
|
||||
- # when crosscompiling import the protoc executable targets from a file generated by a native build
|
||||
- option(IMPORT_PROTOC "Protoc export file (protoc_export.cmake) from a native build" "IMPORT_PROTOC-FILE_NOT_FOUND")
|
||||
- include(${IMPORT_PROTOC})
|
||||
- else()
|
||||
- # export the protoc compiler so it can be used when cross compiling
|
||||
- export(TARGETS protoc_compiler FILE "${CMAKE_BINARY_DIR}/protoc_export.cmake")
|
||||
- endif()
|
||||
-
|
||||
- # define the include for the protobuf library at the parent scope
|
||||
- set(PROTOBUF_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/external/protobuf/src")
|
||||
- set(PROTOBUF_INCLUDE_DIRS ${PROTOBUF_INCLUDE_DIRS} PARENT_SCOPE)
|
||||
-
|
||||
- # define the protoc executable at the parent scope
|
||||
- get_property(PROTOBUF_PROTOC_EXECUTABLE TARGET protoc_compiler PROPERTY LOCATION)
|
||||
- set(PROTOBUF_PROTOC_EXECUTABLE ${PROTOBUF_PROTOC_EXECUTABLE} PARENT_SCOPE)
|
||||
message(STATUS "Using protobuf compiler: " ${PROTOBUF_PROTOC_EXECUTABLE})
|
||||
|
||||
#=============================================================================
|
||||
--
|
||||
2.3.4
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From f826ee510c520eec364b04d7d4f6193dff334aa2 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Vicman <peter.vicman@gmail.com>
|
||||
Date: Thu, 30 Jun 2016 15:21:18 +0200
|
||||
Subject: [PATCH] Fix compile error
|
||||
|
||||
error: '__builtin_isnan' is not a member of 'std'
|
||||
---
|
||||
libsrc/leddevice/LedDevicePhilipsHue.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libsrc/leddevice/LedDevicePhilipsHue.cpp b/libsrc/leddevice/LedDevicePhilipsHue.cpp
|
||||
index fe9e359..5838534 100755
|
||||
--- a/libsrc/leddevice/LedDevicePhilipsHue.cpp
|
||||
+++ b/libsrc/leddevice/LedDevicePhilipsHue.cpp
|
||||
@@ -105,10 +105,10 @@ CiColor PhilipsHueLight::rgbToCiColor(float red, float green, float blue) {
|
||||
// Convert to x,y space.
|
||||
float cx = X / (X + Y + Z);
|
||||
float cy = Y / (X + Y + Z);
|
||||
- if (std::isnan(cx)) {
|
||||
+ if (isnan(cx)) {
|
||||
cx = 0.0f;
|
||||
}
|
||||
- if (std::isnan(cy)) {
|
||||
+ if (isnan(cy)) {
|
||||
cy = 0.0f;
|
||||
}
|
||||
// Brightness is simply Y in the XYZ space.
|
||||
--
|
||||
2.7.1
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
diff --git a/libsrc/leddevice/LedDevicePhilipsHue.cpp b/libsrc/leddevice/LedDevicePhilipsHue.cpp
|
||||
index 332176a..81f421b 100755
|
||||
--- a/libsrc/leddevice/LedDevicePhilipsHue.cpp
|
||||
+++ b/libsrc/leddevice/LedDevicePhilipsHue.cpp
|
||||
@@ -105,10 +105,10 @@ CiColor PhilipsHueLight::rgbToCiColor(float red, float green, float blue) {
|
||||
// Convert to x,y space.
|
||||
float cx = X / (X + Y + Z);
|
||||
float cy = Y / (X + Y + Z);
|
||||
- if (isnan(cx)) {
|
||||
+ if (std::isnan(cx)) {
|
||||
cx = 0.0f;
|
||||
}
|
||||
- if (isnan(cy)) {
|
||||
+ if (std::isnan(cy)) {
|
||||
cy = 0.0f;
|
||||
}
|
||||
// Brightness is simply Y in the XYZ space.
|
||||
@@ -26,16 +26,16 @@ PKG_URL="ftp://troglobit.com/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain libressl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="service/system"
|
||||
PKG_SHORTDESC="Inadyn, a small and simple DDNS client"
|
||||
PKG_LONGDESC="Inadyn is a small and simple DDNS client with HTTPS support. It is commonly available in many GNU/Linux distributions, used in off-the-shelf routers and Internet gateways to automate the task of keeping your DNS record up to date with any IP address changes from your ISP. It can also be used in installations with redundant (backup) connections to the Internet."
|
||||
PKG_MAINTAINER="Anton Voyl (awiouy at gmail.com)"
|
||||
PKG_SHORTDESC="Inadyn: a small and simple Dynamic Domain Name System client"
|
||||
PKG_LONGDESC="Inadyn ($PKG_VERSION) is a small and simple Dynamic Domain Name System (DDNS) client with HTTPS support. It is commonly available in many GNU/Linux distributions, used in off-the-shelf routers and Internet gateways to automate the task of keeping your DNS record up to date with any IP address changes from your ISP. It can also be used in installations with redundant (backup) connections to the Internet."
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Inadyn"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
PKG_ADDON_PROVIDES=""
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-openssl" # --sysconfdir is ineffective
|
||||
|
||||
pre_configure_target() {
|
||||
|
||||
@@ -39,7 +39,7 @@ PKG_ADDON_PROVIDES=""
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="$LDFLAGS -ldl -logg"
|
||||
export LIBS="$LIBS -logg -lFLAC"
|
||||
}
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-alsa \
|
||||
|
||||
16
packages/addons/service/spotify-connect-web/changelog.txt
Normal file
16
packages/addons/service/spotify-connect-web/changelog.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
8.0.102
|
||||
- Add passwordless/mutiuser login
|
||||
|
||||
8.0.101
|
||||
- Use mixer card index
|
||||
- Add instructions to the addon settings
|
||||
- Add a configuration wizard to assist with ALSA configuration
|
||||
- Enable setting initial volume
|
||||
- Activate onboard audio interface if no audio interface is active
|
||||
- Activate known audio interface if selected but inactive
|
||||
- Only set the playback route for RPi2 onboard audio interface
|
||||
- Remove default settings
|
||||
- Fix the erroneous bit rate setting
|
||||
|
||||
8.0.100
|
||||
- Initial addon
|
||||
BIN
packages/addons/service/spotify-connect-web/icon/icon.png
Normal file
BIN
packages/addons/service/spotify-connect-web/icon/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
57
packages/addons/service/spotify-connect-web/package.mk
Normal file
57
packages/addons/service/spotify-connect-web/package.mk
Normal file
@@ -0,0 +1,57 @@
|
||||
################################################################################
|
||||
# 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="spotify-connect-web"
|
||||
PKG_VERSION="0.0.3-alpha"
|
||||
PKG_REV="102"
|
||||
PKG_ARCH="arm"
|
||||
PKG_ADDON_PROJECTS="RPi2 WeTek_Core WeTek_Play"
|
||||
PKG_LICENSE="prop."
|
||||
PKG_SITE="https://github.com/Fornoth/spotify-connect-web"
|
||||
PKG_URL="https://github.com/Fornoth/spotify-connect-web/releases/download/$PKG_VERSION/${PKG_NAME}_$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="spotify-connect-web"
|
||||
PKG_DEPENDS_TARGET="toolchain avahi"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="service"
|
||||
PKG_SHORTDESC="Spotify Connect Web: play Spotify through LibreELEC"
|
||||
PKG_LONGDESC="Spotify Connect Web ($PKG_VERSION) plays Spotify through LibreELEC, using a Spotify app as a remote."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Spotify Connect Web"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
PKG_ADDON_REPOVERSION="8.0"
|
||||
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
||||
|
||||
make_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
cp -P $(get_build_dir avahi)/avahi-utils/.libs/avahi-publish \
|
||||
$ADDON_BUILD/$PKG_ADDON_ID/bin/
|
||||
|
||||
cp -PR $PKG_BUILD/* $ADDON_BUILD/$PKG_ADDON_ID/
|
||||
rm $ADDON_BUILD/$PKG_ADDON_ID/libasound.so.2
|
||||
}
|
||||
119
packages/addons/service/spotify-connect-web/source/bin/spotify-connect-web.start
Executable file
119
packages/addons/service/spotify-connect-web/source/bin/spotify-connect-web.start
Executable file
@@ -0,0 +1,119 @@
|
||||
#!/bin/sh
|
||||
################################################################################
|
||||
# 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/>.
|
||||
################################################################################
|
||||
|
||||
. /etc/os-release
|
||||
. /etc/profile
|
||||
oe_setup_addon service.spotify-connect-web
|
||||
|
||||
chmod +x "$ADDON_DIR/spotify-connect-web"
|
||||
mkdir -p "$ADDON_HOME"
|
||||
|
||||
activate_card() {
|
||||
if [ -e "/proc/asound/$1" ]
|
||||
then
|
||||
return
|
||||
fi
|
||||
if [ "$LIBREELEC_ARCH" == "RPi2.arm" -a "$1" == "ALSA" ]
|
||||
then
|
||||
dtparam audio=on
|
||||
sleep 1
|
||||
else
|
||||
echo "Do not know how to activate card $1 on $LIBREELEC_ARCH"
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
||||
if [ ! "$(cat /proc/asound/pcm 2> /dev/null)" ]
|
||||
then
|
||||
if [ "$LIBREELEC_ARCH" == "RPi2.arm" ]
|
||||
then
|
||||
activate_card "ALSA"
|
||||
else
|
||||
echo "Do not how how to activate an audio interface on $LIBREELEC_ARCH"
|
||||
ko="ko"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f "$ADDON_HOME/spotify_appkey.key" ]
|
||||
then
|
||||
echo "Key not found"
|
||||
ko="ko"
|
||||
fi
|
||||
|
||||
if [ ! "$scw_o" ]
|
||||
then
|
||||
echo "Playback device not set"
|
||||
ko="ko"
|
||||
fi
|
||||
|
||||
if [ "$ko" ]
|
||||
then
|
||||
exit
|
||||
fi
|
||||
|
||||
case "$scw_o" in
|
||||
|
||||
*:CARD=*)
|
||||
card="${scw_o##*:CARD=}"
|
||||
activate_card "$card"
|
||||
index="$(readlink /proc/asound/$card)"
|
||||
index="${index##*card}"
|
||||
;;
|
||||
|
||||
hw:*,*)
|
||||
echo "The hw:d,s specification is unreliable, use device:CARD=card instead"
|
||||
index="${scw_o##hw:}"
|
||||
index="${index%%,*}"
|
||||
card="card$index"
|
||||
activate_card "$card"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown playback device specification $swc_o"
|
||||
exit
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
[ "$scw_m" ] && [ "$vol_0" ] && amixer -c "$index" set "$scw_m" "$vol_0%"
|
||||
|
||||
if [ "$LIBREELEC_ARCH" == "RPi2.arm" -a \
|
||||
"$(readlink /proc/asound/ALSA)" == "card$index" ]
|
||||
then
|
||||
[ "$pcm_3" ] && amixer -c "$index" cset name="PCM Playback Route" "$pcm_3"
|
||||
fi
|
||||
|
||||
avahi-publish -s \
|
||||
TestConnect _spotify-connect._tcp 4000 VERSION=1.0 CPath=/login/_zeroconf &
|
||||
|
||||
[ "$scw_b" == "-" ] && scw_b=""
|
||||
[ "$scw_b" ] && scw_b="-b $scw_b"
|
||||
[ "$scw_m" ] && scw_m="-m $scw_m"
|
||||
[ "$scw_p" ] && [ "$scw_u" ] && scw_p="-p $scw_p" && scw_u="-u $scw_u"
|
||||
|
||||
cd "$ADDON_DIR"
|
||||
./spotify-connect-web $scw_b \
|
||||
-c "$ADDON_HOME/credentials.json" \
|
||||
-k "$ADDON_HOME/spotify_appkey.key" \
|
||||
$scw_m \
|
||||
-n "$HOSTNAME" \
|
||||
-o "$scw_o" \
|
||||
$scw_p \
|
||||
$scw_u \
|
||||
--mixer_device_index "$index"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user