mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Merge pull request #1 from lrusak/rebrand
initial rebranding to LibreELEC
This commit is contained in:
commit
a8b4f063f9
@ -1,13 +1,13 @@
|
|||||||
OpenELEC CHANGELOG
|
LibreELEC CHANGELOG
|
||||||
==================
|
==================
|
||||||
|
|
||||||
To view recent changes/commits to the project (master branch) please visit:
|
To view recent changes/commits to the project (master branch) please visit:
|
||||||
|
|
||||||
https://github.com/OpenELEC/OpenELEC.tv/commits/master
|
https://github.com/LibreELEC/LibreELEC.tv/commits/master
|
||||||
|
|
||||||
To compare commits between versions use a formatted URL like:
|
To compare commits between versions use a formatted URL like:
|
||||||
|
|
||||||
https://github.com/OpenELEC/OpenELEC.tv/compare/3.2.3...3.2.4
|
https://github.com/LibreELEC/LibreELEC.tv/compare/3.2.3...3.2.4
|
||||||
|
|
||||||
If you have questions on differences between releases please ask them in the
|
If you have questions on differences between releases please ask them in the
|
||||||
OpenELEC website forums or IRC support channel.
|
LibreELEC website forums or IRC support channel.
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
### Questions about OpenELEC?
|
### Questions about LibreELEC?
|
||||||
|
|
||||||
To get your questions answered, please ask in the OpenELEC [Forum], on IRC:
|
To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
|
||||||
\#openelec on freenode.net, or [webchat].
|
\#libreelec on freenode.net, or [webchat].
|
||||||
|
|
||||||
Do not open an issue.
|
Do not open an issue.
|
||||||
|
|
||||||
### Issue Reports
|
### Issue Reports
|
||||||
|
|
||||||
**BEFORE you report a bug make sure you got the latest testing version of
|
**BEFORE you report a bug make sure you got the latest testing version of
|
||||||
OpenELEC. Your bug might be already fixed.**
|
LibreELEC. Your bug might be already fixed.**
|
||||||
|
|
||||||
If you are at all unsure whether it's a bug in OpenELEC or a problem with
|
If you are at all unsure whether it's a bug in LibreELEC or a problem with
|
||||||
something else, post in the OpenELEC [Forum] instead. If it turns out that it is
|
something else, post in the LibreELEC [Forum] instead. If it turns out that it is
|
||||||
a bug, an issue can always be opened later.
|
a bug, an issue can always be opened later.
|
||||||
|
|
||||||
If you are sure that it's a bug in OpenELEC and you have not found a [similar issue], open a new [issue]
|
If you are sure that it's a bug in LibreELEC and you have not found a [similar issue], open a new [issue]
|
||||||
and try to answer the following questions:
|
and try to answer the following questions:
|
||||||
- What did you do?
|
- What did you do?
|
||||||
- What did you expect to happen?
|
- What did you expect to happen?
|
||||||
@ -23,21 +23,21 @@ and try to answer the following questions:
|
|||||||
**It is also importent to provide logs for debugging.
|
**It is also importent to provide logs for debugging.
|
||||||
A zip file can be found in the [logfiles] samba share, this will contain all the logs needed.**
|
A zip file can be found in the [logfiles] samba share, this will contain all the logs needed.**
|
||||||
|
|
||||||
Make sure to specify which version of OpenELEC you are using.
|
Make sure to specify which version of LibreELEC you are using.
|
||||||
- OpenELEC version
|
- LibreELEC version
|
||||||
- OpenELEC build
|
- LibreELEC build
|
||||||
- OpenELEC arch
|
- LibreELEC arch
|
||||||
|
|
||||||
Please don't paste log messages in the issue reports or issue comments - use
|
Please don't paste log messages in the issue reports or issue comments - use
|
||||||
[sprunge.us](http://sprunge.us) instead.
|
[sprunge.us](http://sprunge.us) instead.
|
||||||
|
|
||||||
Feature requests are great, but they usually end up lying around the issue
|
Feature requests are great, but they usually end up lying around the issue
|
||||||
tracker indefinitely. Sending a pull request is a much better way of getting a
|
tracker indefinitely. Sending a pull request is a much better way of getting a
|
||||||
particular feature into OpenELEC.
|
particular feature into LibreELEC.
|
||||||
|
|
||||||
Please dont ask us to add 3rdparty drivers unless you are the maintainer/developer of the driver,
|
Please dont ask us to add 3rdparty drivers unless you are the maintainer/developer of the driver,
|
||||||
we have no manpower to support a non-mainlined kernel driver for your hardware.
|
we have no manpower to support a non-mainlined kernel driver for your hardware.
|
||||||
However, OpenELEC comes with minimal set of kernel drivers enabled, if you are sure that your hardware
|
However, LibreELEC comes with minimal set of kernel drivers enabled, if you are sure that your hardware
|
||||||
is supported in mainline kernel, feel free to send us a Pull Request to enable it in our
|
is supported in mainline kernel, feel free to send us a Pull Request to enable it in our
|
||||||
kernel defconfigs. We are always happy to support known-working hardware.
|
kernel defconfigs. We are always happy to support known-working hardware.
|
||||||
|
|
||||||
@ -66,11 +66,11 @@ Please follow this process; it's the best way to get your work included in the p
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# clone your fork of the repo into the current directory in terminal
|
# clone your fork of the repo into the current directory in terminal
|
||||||
git clone git@github.com:<your username>/OpenELEC.tv.git
|
git clone git@github.com:<your username>/LibreELEC.tv.git
|
||||||
# navigate to the newly cloned directory
|
# navigate to the newly cloned directory
|
||||||
cd OpenELEC.tv
|
cd LibreELEC.tv
|
||||||
# assign the original repo to a remote called "upstream"
|
# assign the original repo to a remote called "upstream"
|
||||||
git remote add upstream https://github.com/OpenELEC/OpenELEC.tv.git
|
git remote add upstream https://github.com/Libre/LibreELEC.tv.git
|
||||||
```
|
```
|
||||||
|
|
||||||
- If you cloned a while ago, get the latest changes from upstream:
|
- If you cloned a while ago, get the latest changes from upstream:
|
||||||
@ -104,8 +104,8 @@ Please follow this process; it's the best way to get your work included in the p
|
|||||||
- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
|
- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
|
||||||
clear title and description.
|
clear title and description.
|
||||||
|
|
||||||
[Forum]: http://openelec.tv/forum
|
[Forum]: http://libreelec.tv/forum
|
||||||
[issue]: https://github.com/OpenELEC/OpenELEC.tv/issues
|
[issue]: https://github.com/LibreELEC/LibreELEC.tv/issues
|
||||||
[webchat]: http://openelec.tv/support/chat
|
[webchat]: http://libreelec.tv/support/chat
|
||||||
[logfiles]: http://wiki.openelec.tv/index.php?title=OpenELEC_FAQ#Support_Logs
|
[logfiles]: http://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
|
||||||
[similar issue]: https://github.com/OpenELEC/OpenELEC.tv/search?&ref=cmdform&type=Issues
|
[similar issue]: https://github.com/LibreELEC/LibreELEC.tv/search?&ref=cmdform&type=Issues
|
||||||
|
34
README.md
34
README.md
@ -1,8 +1,8 @@
|
|||||||
[OpenELEC](http://www.openelec.tv)
|
[LibreELEC](http://www.libreelec.tv)
|
||||||
|
|
||||||
# OpenELEC - Open Embedded Linux Entertainment Center
|
# LibreELEC - Libre Embedded Linux Entertainment Center
|
||||||
|
|
||||||
OpenELEC runs [Kodi](http://kodi.tv), an award-winning free and open source (GPL) software media
|
LibreELEC runs [Kodi](http://kodi.tv), an award-winning free and open source (GPL) software media
|
||||||
player and entertainment hub for digital media. For more info see http://kodi.tv .
|
player and entertainment hub for digital media. For more info see http://kodi.tv .
|
||||||
The base system has been designed and built from the ground up to be as
|
The base system has been designed and built from the ground up to be as
|
||||||
efficient as possible – consuming only tiny disk and memory footprints and
|
efficient as possible – consuming only tiny disk and memory footprints and
|
||||||
@ -10,26 +10,26 @@ providing cutting edge hardware support to deliver a set-top box experience.
|
|||||||
|
|
||||||
**Source code**
|
**Source code**
|
||||||
|
|
||||||
* https://github.com/OpenELEC/OpenELEC.tv
|
* https://github.com/LibreELEC/LibreELEC.tv
|
||||||
|
|
||||||
**Installation**
|
**Installation**
|
||||||
|
|
||||||
* Please read the instructions in our wiki (http://wiki.openelec.tv/index.php?title=Installation) on how to install.
|
* Please read the instructions in our wiki (http://wiki.libreelec.tv/index.php?title=Installation) on how to install.
|
||||||
|
|
||||||
**License**
|
**License**
|
||||||
|
|
||||||
* OpenELEC is released under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html). Please refer to the "licenses" folder and
|
* LibreELEC is released under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html). Please refer to the "licenses" folder and
|
||||||
source code for clarification on upstream licensing.
|
source code for clarification on upstream licensing.
|
||||||
|
|
||||||
**Copyright**
|
**Copyright**
|
||||||
|
|
||||||
* Since OpenELEC includes code from many up stream projects it includes many
|
* Since LibreELEC includes code from many up stream projects it includes many
|
||||||
copyright owners. OpenELEC makes NO claim of copyright on any upstream code.
|
copyright owners. LibreELEC makes NO claim of copyright on any upstream code.
|
||||||
However all OpenELEC authored code is copyright openelec.tv.
|
However all LibreELEC authored code is copyright libreelec.tv.
|
||||||
For a complete copyright list checkout the source code to examine the headers.
|
For a complete copyright list checkout the source code to examine the headers.
|
||||||
Unless expressly stated otherwise all code submitted DIRECTLY to the OpenELEC
|
Unless expressly stated otherwise all code submitted DIRECTLY to the LibreELEC
|
||||||
project (in any form) is licensed under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html) and the Copyright is donated to
|
project (in any form) is licensed under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html) and the Copyright is donated to
|
||||||
openelec.tv.
|
libreelec.tv.
|
||||||
This allows the project to stay manageable in the long term by giving us the
|
This allows the project to stay manageable in the long term by giving us the
|
||||||
freedom to maintain the code as part of the whole without the management
|
freedom to maintain the code as part of the whole without the management
|
||||||
overhead of preserving contact with every submitter ever e.g. move to GPLv3.
|
overhead of preserving contact with every submitter ever e.g. move to GPLv3.
|
||||||
@ -55,8 +55,8 @@ providing cutting edge hardware support to deliver a set-top box experience.
|
|||||||
|
|
||||||
**Notes**
|
**Notes**
|
||||||
|
|
||||||
* SSH login details are user: “root” password: “openelec”.
|
* SSH login details are user: “root” password: “libreelec”.
|
||||||
SSH allows command line access to your openelec.tv machine for configuration
|
SSH allows command line access to your libreelec.tv machine for configuration
|
||||||
and file transfer. Linux/Mac clients can natively use SSH, while Windows
|
and file transfer. Linux/Mac clients can natively use SSH, while Windows
|
||||||
users might want to try PuTTY for their terminal access.
|
users might want to try PuTTY for their terminal access.
|
||||||
* $HOME is mounted on /storage (the second ext4 partition on the drive).
|
* $HOME is mounted on /storage (the second ext4 partition on the drive).
|
||||||
@ -64,7 +64,7 @@ providing cutting edge hardware support to deliver a set-top box experience.
|
|||||||
read-only with the exception of /var (containing runtime configuration data).
|
read-only with the exception of /var (containing runtime configuration data).
|
||||||
* Manual update/downgrade procedure is as follows:
|
* Manual update/downgrade procedure is as follows:
|
||||||
Copy the snapshot (.tar) to the 'Update' network share (or /storage/.update) on
|
Copy the snapshot (.tar) to the 'Update' network share (or /storage/.update) on
|
||||||
your openelec machine. Your system will automatically upgrade during the
|
your libreelec machine. Your system will automatically upgrade during the
|
||||||
next reboot.
|
next reboot.
|
||||||
* Automatic mounting of filesystems is supported. Devices such as USB Flash
|
* Automatic mounting of filesystems is supported. Devices such as USB Flash
|
||||||
sticks can be plugged into a running machine and will be mounted to /media,
|
sticks can be plugged into a running machine and will be mounted to /media,
|
||||||
@ -74,7 +74,7 @@ providing cutting edge hardware support to deliver a set-top box experience.
|
|||||||
|
|
||||||
**Questions/Support**
|
**Questions/Support**
|
||||||
|
|
||||||
* Forums on [http://openelec.tv](http://openelec.tv)
|
* Forums on [http://libreelec.tv](http://libreelec.tv)
|
||||||
* IRC chatroom **#openelec** on Freenode
|
* IRC chatroom **#libreelec** on Freenode
|
||||||
|
|
||||||
**Happy OpenELEC'ing**
|
**Happy LibreELEC'ing**
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
version="@ADDON_VERSION@"
|
version="@ADDON_VERSION@"
|
||||||
provider-name="@PROVIDER_NAME@">
|
provider-name="@PROVIDER_NAME@">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
|
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
@REQUIRES@
|
@REQUIRES@
|
||||||
</requires>
|
</requires>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
version="@ADDON_VERSION@"
|
version="@ADDON_VERSION@"
|
||||||
provider-name="@PROVIDER_NAME@">
|
provider-name="@PROVIDER_NAME@">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
|
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
@REQUIRES@
|
@REQUIRES@
|
||||||
</requires>
|
</requires>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
version="@ADDON_VERSION@"
|
version="@ADDON_VERSION@"
|
||||||
provider-name="@PROVIDER_NAME@">
|
provider-name="@PROVIDER_NAME@">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
|
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
@REQUIRES@
|
@REQUIRES@
|
||||||
</requires>
|
</requires>
|
||||||
|
@ -60,10 +60,10 @@ setup_toolchain() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kernel_path() {
|
kernel_path() {
|
||||||
if [ -e $HOME/.openelec/projects/$PROJECT/packages/linux/package.mk ]; then
|
if [ -e $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||||
. $HOME/.openelec/projects/$PROJECT/packages/linux/package.mk
|
. $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk
|
||||||
elif [ -e $HOME/.openelec/packages/linux/package.mk ]; then
|
elif [ -e $HOME/.libreelec/packages/linux/package.mk ]; then
|
||||||
. $HOME/.openelec/packages/linux/package.mk
|
. $HOME/.libreelec/packages/linux/package.mk
|
||||||
elif [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
elif [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||||
. $ROOT/projects/$PROJECT/packages/linux/package.mk
|
. $ROOT/projects/$PROJECT/packages/linux/package.mk
|
||||||
else
|
else
|
||||||
@ -74,10 +74,10 @@ kernel_path() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kernel_version() {
|
kernel_version() {
|
||||||
if [ -e $HOME/.openelec/projects/$PROJECT/packages/linux/package.mk ]; then
|
if [ -e $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||||
. $HOME/.openelec/projects/$PROJECT/packages/linux/package.mk
|
. $HOME/.libreelec/projects/$PROJECT/packages/linux/package.mk
|
||||||
elif [ -e $HOME/.openelec/packages/linux/package.mk ]; then
|
elif [ -e $HOME/.libreelec/packages/linux/package.mk ]; then
|
||||||
. $HOME/.openelec/packages/linux/package.mk
|
. $HOME/.libreelec/packages/linux/package.mk
|
||||||
elif [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
elif [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
|
||||||
. $ROOT/projects/$PROJECT/packages/linux/package.mk
|
. $ROOT/projects/$PROJECT/packages/linux/package.mk
|
||||||
else
|
else
|
||||||
@ -95,11 +95,11 @@ get_module_dir() {
|
|||||||
# get package's build dir
|
# get package's build dir
|
||||||
get_build_dir() {
|
get_build_dir() {
|
||||||
if [ ! -z $1 ] ; then
|
if [ ! -z $1 ] ; then
|
||||||
local _PKG_DIR=$(find $HOME/.openelec/projects/$PROJECT/packages -name $1 2>/dev/null)
|
local _PKG_DIR=$(find $HOME/.libreelec/projects/$PROJECT/packages -name $1 2>/dev/null)
|
||||||
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
||||||
. $_PKG_DIR/package.mk
|
. $_PKG_DIR/package.mk
|
||||||
else
|
else
|
||||||
local _PKG_DIR=$(find $HOME/.openelec/packages -name $1 2>/dev/null)
|
local _PKG_DIR=$(find $HOME/.libreelec/packages -name $1 2>/dev/null)
|
||||||
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
|
||||||
. $_PKG_DIR/package.mk
|
. $_PKG_DIR/package.mk
|
||||||
else
|
else
|
||||||
@ -273,27 +273,27 @@ dashes="==========================="
|
|||||||
|
|
||||||
check_config() {
|
check_config() {
|
||||||
dashes="==========================="
|
dashes="==========================="
|
||||||
if [ ! -d $PROJECT_DIR/$PROJECT -a ! -d $HOME/.openelec/projects/$PROJECT ]; then
|
if [ ! -d $PROJECT_DIR/$PROJECT -a ! -d $HOME/.libreelec/projects/$PROJECT ]; then
|
||||||
check_project="$check_project\n $dashes$dashes$dashes"
|
check_project="$check_project\n $dashes$dashes$dashes"
|
||||||
check_project="$check_project\n ERROR: Project not found, use a valid project or create a new config"
|
check_project="$check_project\n ERROR: Project not found, use a valid project or create a new config"
|
||||||
check_project="$check_project\n $dashes$dashes$dashes"
|
check_project="$check_project\n $dashes$dashes$dashes"
|
||||||
check_project="$check_project\n\n Valid projects:"
|
check_project="$check_project\n\n Valid projects:"
|
||||||
|
|
||||||
for projects in $PROJECT_DIR/* $HOME/.openelec/projects/*; do
|
for projects in $PROJECT_DIR/* $HOME/.libreelec/projects/*; do
|
||||||
check_project="$check_project\n - $(basename $projects)"
|
check_project="$check_project\n - $(basename $projects)"
|
||||||
done
|
done
|
||||||
echo -e $check_project
|
echo -e $check_project
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f $PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf -a ! -f $HOME/.openelec/projects/$PROJECT/linux/linux.$TARGET_ARCH.conf ]; then
|
if [ ! -f $PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf -a ! -f $HOME/.libreelec/projects/$PROJECT/linux/linux.$TARGET_ARCH.conf ]; then
|
||||||
check_arch="$check_arch\n $dashes$dashes$dashes"
|
check_arch="$check_arch\n $dashes$dashes$dashes"
|
||||||
check_arch="$check_arch\n ERROR: Architecture not found, use a valid Architecture"
|
check_arch="$check_arch\n ERROR: Architecture not found, use a valid Architecture"
|
||||||
check_arch="$check_arch\n for your project or create a new config"
|
check_arch="$check_arch\n for your project or create a new config"
|
||||||
check_arch="$check_arch\n $dashes$dashes$dashes"
|
check_arch="$check_arch\n $dashes$dashes$dashes"
|
||||||
check_arch="$check_arch\n\n Valid Architectures for your project: $PROJECT"
|
check_arch="$check_arch\n\n Valid Architectures for your project: $PROJECT"
|
||||||
|
|
||||||
for arch in $PROJECT_DIR/$PROJECT/linux/*.conf $HOME/.openelec/projects/$PROJECT/linux/*.conf; do
|
for arch in $PROJECT_DIR/$PROJECT/linux/*.conf $HOME/.libreelec/projects/$PROJECT/linux/*.conf; do
|
||||||
check_arch="$check_arch\n - $(basename $arch | cut -f2 -d".")"
|
check_arch="$check_arch\n - $(basename $arch | cut -f2 -d".")"
|
||||||
done
|
done
|
||||||
echo -e $check_arch
|
echo -e $check_arch
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@DISTRONAME@_@PROJECT@",
|
"name": "@DISTRONAME@_@PROJECT@",
|
||||||
"version": "@OPENELEC_VERSION@",
|
"version": "@LIBREELEC_VERSION@",
|
||||||
"release_date": "@RELEASE_DATE@",
|
"release_date": "@RELEASE_DATE@",
|
||||||
"kernel": "@KERNEL_VERSION@",
|
"kernel": "@KERNEL_VERSION@",
|
||||||
"description": "@DESCRIPTION@",
|
"description": "@DESCRIPTION@",
|
||||||
|
@ -17,21 +17,21 @@
|
|||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
MOUNTPOINT="/tmp/OpenELEC-System"
|
MOUNTPOINT="/tmp/LibreELEC-System"
|
||||||
|
|
||||||
md5sumCheck() {
|
md5sumCheck() {
|
||||||
( cd $MOUNTPOINT
|
( cd $MOUNTPOINT
|
||||||
echo "checking MD5: $1"
|
echo "checking MD5: $1"
|
||||||
md5sum -c $1.md5
|
md5sum -c $1.md5
|
||||||
if [ "$?" = "1" ]; then
|
if [ "$?" = "1" ]; then
|
||||||
echo "######################################################"
|
echo "#######################################################"
|
||||||
echo "# #"
|
echo "# #"
|
||||||
echo "# OpenELEC failed md5 check - Installation will quit #"
|
echo "# LibreELEC failed md5 check - Installation will quit #"
|
||||||
echo "# #"
|
echo "# #"
|
||||||
echo "# Your original download was probably corrupt. #"
|
echo "# Your original download was probably corrupt. #"
|
||||||
echo "# Please visit www.openelec.tv and get another copy #"
|
echo "# Please visit www.libreelec.tv and get another copy #"
|
||||||
echo "# #"
|
echo "# #"
|
||||||
echo "######################################################"
|
echo "#######################################################"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
rm -rf $1.md5
|
rm -rf $1.md5
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
# determines DISTRO, if not forced by user
|
# determines DISTRO, if not forced by user
|
||||||
# default is OpenELEC
|
# default is LibreELEC
|
||||||
if [ -z "$DISTRO" ]; then
|
if [ -z "$DISTRO" ]; then
|
||||||
DISTRO="OpenELEC"
|
DISTRO="LibreELEC"
|
||||||
else
|
else
|
||||||
DISTRO="$DISTRO"
|
DISTRO="$DISTRO"
|
||||||
fi
|
fi
|
||||||
@ -82,21 +82,21 @@ fi
|
|||||||
CCACHE_CACHE_SIZE="30G"
|
CCACHE_CACHE_SIZE="30G"
|
||||||
|
|
||||||
# install devtools on development builds
|
# install devtools on development builds
|
||||||
if [ "$OPENELEC_VERSION" = "devel" ]; then
|
if [ "$LIBREELEC_VERSION" = "devel" ]; then
|
||||||
DEVTOOLS=yes
|
DEVTOOLS=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# read options from $HOME if available
|
# read options from $HOME if available
|
||||||
if [ -f "$HOME/.openelec/options" ]; then
|
if [ -f "$HOME/.libreelec/options" ]; then
|
||||||
. $HOME/.openelec/options
|
. $HOME/.libreelec/options
|
||||||
fi
|
fi
|
||||||
if [ -f "$HOME/.openelec/projects/$PROJECT/options" ]; then
|
if [ -f "$HOME/.libreelec/projects/$PROJECT/options" ]; then
|
||||||
. $HOME/.openelec/projects/$PROJECT/options
|
. $HOME/.libreelec/projects/$PROJECT/options
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# read distro options from $HOME if available
|
# read distro options from $HOME if available
|
||||||
if [ -f "$HOME/.openelec/options.$DISTRO" ]; then
|
if [ -f "$HOME/.libreelec/options.$DISTRO" ]; then
|
||||||
. $HOME/.openelec/options.$DISTRO
|
. $HOME/.libreelec/options.$DISTRO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# overwrite OEM_SUPPORT via commandline
|
# overwrite OEM_SUPPORT via commandline
|
||||||
|
14
config/path
14
config/path
@ -17,11 +17,11 @@ set -e
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
HOST_NAME=`$LOCAL_CC -dumpmachine`
|
HOST_NAME=`$LOCAL_CC -dumpmachine`
|
||||||
TARGET_NAME=$TARGET_GCC_ARCH-openelec-linux-gnu${TARGET_ABI}
|
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
|
||||||
|
|
||||||
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OPENELEC_VERSION
|
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION
|
||||||
if [ "$OPENELEC_VERSION" = "devel" ] ; then
|
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
|
||||||
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$OPENELEC_VERSION
|
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$BUILD_SUFFIX" ]; then
|
if [ -n "$BUILD_SUFFIX" ]; then
|
||||||
@ -78,7 +78,7 @@ SED="sed -i"
|
|||||||
PKG_DIR=""
|
PKG_DIR=""
|
||||||
|
|
||||||
# check project folder for a package in home dir
|
# check project folder for a package in home dir
|
||||||
for DIR in $(find $HOME/.openelec/projects/$PROJECT/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
|
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
|
if [ -r "$DIR/package.mk" ]; then
|
||||||
# found first, set $PKG_DIR
|
# found first, set $PKG_DIR
|
||||||
PKG_DIR="$DIR"
|
PKG_DIR="$DIR"
|
||||||
@ -95,7 +95,7 @@ SED="sed -i"
|
|||||||
done
|
done
|
||||||
|
|
||||||
# check for a package in home dir if not found already
|
# check for a package in home dir if not found already
|
||||||
for DIR in $(find $HOME/.openelec/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
|
for DIR in $(find $HOME/.libreelec/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
|
||||||
if [ -r "$DIR/package.mk" ]; then
|
if [ -r "$DIR/package.mk" ]; then
|
||||||
# found first, set $PKG_DIR
|
# found first, set $PKG_DIR
|
||||||
PKG_DIR="$DIR"
|
PKG_DIR="$DIR"
|
||||||
@ -207,7 +207,7 @@ HOST_PKG_CONFIG_LIBDIR="$ROOT/$TOOLCHAIN/lib/pkgconfig:$ROOT/$TOOLCHAIN/share/pk
|
|||||||
HOST_PKG_CONFIG_SYSROOT_DIR=""
|
HOST_PKG_CONFIG_SYSROOT_DIR=""
|
||||||
|
|
||||||
if [ -z "$CCACHE_DIR" ]; then
|
if [ -z "$CCACHE_DIR" ]; then
|
||||||
export CCACHE_DIR=$HOME/.ccache-openelec
|
export CCACHE_DIR=$HOME/.ccache-libreelec
|
||||||
fi
|
fi
|
||||||
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
|
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
|
||||||
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
|
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# VERSION: set full version, use "devel" for development version
|
# VERSION: set full version, use "devel" for development version
|
||||||
OPENELEC_VERSION="devel"
|
LIBREELEC_VERSION="devel"
|
||||||
|
|
||||||
# OS_VERSION: OS Version
|
# OS_VERSION: OS Version
|
||||||
OS_VERSION="7.0"
|
OS_VERSION="7.0"
|
||||||
|
BIN
distributions/LibreELEC/LibreELEC.png
Normal file
BIN
distributions/LibreELEC/LibreELEC.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
203
distributions/LibreELEC/options
Normal file
203
distributions/LibreELEC/options
Normal file
@ -0,0 +1,203 @@
|
|||||||
|
# Name of the Distro to build (full name, without special characters)
|
||||||
|
DISTRONAME="LibreELEC"
|
||||||
|
|
||||||
|
# short project description
|
||||||
|
DESCRIPTION="LibreELEC is a fast and user-friendly Kodi Entertainment Center distribution."
|
||||||
|
|
||||||
|
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||||
|
GREETING0="##############################################"
|
||||||
|
GREETING1="# LibreELEC #"
|
||||||
|
GREETING2="# http://libreelec.tv #"
|
||||||
|
GREETING3="##############################################"
|
||||||
|
GREETING4=""
|
||||||
|
|
||||||
|
# Root password to integrate in the target system
|
||||||
|
ROOT_PASSWORD="libreelec"
|
||||||
|
|
||||||
|
# Install glibc locales to the build (yes / no)
|
||||||
|
GLIBC_LOCALES="yes"
|
||||||
|
|
||||||
|
# Mediacenter to use (kodi / no)
|
||||||
|
MEDIACENTER="kodi"
|
||||||
|
|
||||||
|
# Skins to install (Confluence)
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. SKINS="Confluence"
|
||||||
|
SKINS="Confluence"
|
||||||
|
|
||||||
|
# Default Skin (Confluence)
|
||||||
|
SKIN_DEFAULT="Confluence"
|
||||||
|
|
||||||
|
# install extra subtitle Fonts for KODI (yes / no)
|
||||||
|
KODI_EXTRA_FONTS="yes"
|
||||||
|
|
||||||
|
# build and install PulseAudio support (yes / no)
|
||||||
|
PULSEAUDIO_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install espeak support (yes / no)
|
||||||
|
ESPEAK_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with non-free support
|
||||||
|
# (RAR compression support in KODI) (yes / no)
|
||||||
|
KODI_NONFREE_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with BluRay support (yes / no)
|
||||||
|
KODI_BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with BD+ support
|
||||||
|
# (BD+ decryption support in KODI) (yes / no)
|
||||||
|
BLURAY_BDPLUS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with AACS support
|
||||||
|
# (BD decryption support in KODI) (yes / no)
|
||||||
|
BLURAY_AACS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with DVDCSS support
|
||||||
|
# (DVD decryption support in KODI) (yes / no)
|
||||||
|
KODI_DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# additional drivers to install:
|
||||||
|
# for a list of additinoal drivers see packages/linux-drivers
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
||||||
|
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU dvbhdhomerun"
|
||||||
|
|
||||||
|
# build and install bluetooth support (yes / no)
|
||||||
|
BLUETOOTH_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with KODI webfrontend (yes / no)
|
||||||
|
KODI_WEBSERVER_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
||||||
|
AVAHI_DAEMON="yes"
|
||||||
|
|
||||||
|
# build with UPnP support (yes / no)
|
||||||
|
KODI_UPNP_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with MySQL support (yes / no)
|
||||||
|
KODI_MYSQL_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build xbmc with sshlib support (yes / no)
|
||||||
|
KODI_SSHLIB_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build xbmc with optical drive support (yes / no)
|
||||||
|
KODI_OPTICAL_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
|
||||||
|
KODI_AIRPLAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
|
||||||
|
KODI_AIRTUNES_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with libnfs support (mounting nfs shares with KODI) (yes / no)
|
||||||
|
KODI_NFS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
|
||||||
|
KODI_SAMBA_SUPPORT="yes"
|
||||||
|
|
||||||
|
# include initial language addons for Kodi (yes / no)
|
||||||
|
KODI_LANGUAGE_ADDONS="yes"
|
||||||
|
|
||||||
|
# build with NFS support (mounting nfs shares via the OS) (yes / no)
|
||||||
|
NFS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
|
||||||
|
SAMBA_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install Samba Server (yes / no)
|
||||||
|
SAMBA_SERVER="yes"
|
||||||
|
|
||||||
|
# build and install SFTP Server (yes / no)
|
||||||
|
SFTP_SERVER="yes"
|
||||||
|
|
||||||
|
# build and install diskmounter support (udevil)
|
||||||
|
# this service provide auto mounting support for external drives in the
|
||||||
|
# mediacenter also automount internally drives at boottime via udev (yes / no)
|
||||||
|
UDEVIL="yes"
|
||||||
|
|
||||||
|
# build and install exFAT fuse support (yes / no)
|
||||||
|
EXFAT="yes"
|
||||||
|
|
||||||
|
# build and install NTFS-3G fuse support (yes / no)
|
||||||
|
NTFS3G="yes"
|
||||||
|
|
||||||
|
# build and install hfs filesystem utilities (yes / no)
|
||||||
|
HFSTOOLS="yes"
|
||||||
|
|
||||||
|
# Windowmanager to use (ratpoison / fluxbox / none)
|
||||||
|
WINDOWMANAGER="fluxbox"
|
||||||
|
|
||||||
|
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
|
||||||
|
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy"
|
||||||
|
|
||||||
|
# build and install remote support (yes / no)
|
||||||
|
REMOTE_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install ATV IR remote support (yes / no)
|
||||||
|
ATVCLIENT_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install IRServer IR/LCD support (yes / no)
|
||||||
|
IRSERVER_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install Joystick support (yes / no)
|
||||||
|
JOYSTICK_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install CEC adapter support (yes / no)
|
||||||
|
CEC_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install iSCSI support - iscsistart (yes / no)
|
||||||
|
ISCSI_SUPPORT="yes"
|
||||||
|
|
||||||
|
# LCD driver to Use - Possible drivers are ( Comma seperated:
|
||||||
|
# bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,dm140,
|
||||||
|
# ea65,EyeboxOne,g15,glcd,glcdlib,glk,hd44780,i2500vfd,
|
||||||
|
# icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,
|
||||||
|
# joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,
|
||||||
|
# ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,
|
||||||
|
# picolcd,pyramid,sed1330,sed1520,serialPOS,
|
||||||
|
# serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,vlsys_m428
|
||||||
|
# 'all' compiles all drivers;
|
||||||
|
# 'all,!xxx,!yyy' de-selects previously selected drivers
|
||||||
|
# "none" for disable LCD support
|
||||||
|
LCD_DRIVER="irtrans,imon,imonlcd,mdm166a,MtxOrb,lis,dm140,hd44780,CFontz,SureElec,vlsys_m428,serialVFD,shuttleVFD"
|
||||||
|
|
||||||
|
# Support for partitioning and formating disks in initramfs (yes / no)
|
||||||
|
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
|
||||||
|
INITRAMFS_PARTED_SUPPORT="no"
|
||||||
|
|
||||||
|
# build with swap support (yes / no)
|
||||||
|
SWAP_SUPPORT="no"
|
||||||
|
|
||||||
|
# swap support enabled per default (yes / no)
|
||||||
|
SWAP_ENABLED_DEFAULT="no"
|
||||||
|
|
||||||
|
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||||
|
SWAPFILESIZE="256"
|
||||||
|
|
||||||
|
# build with installer (yes / no)
|
||||||
|
INSTALLER_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Testpackages for development (yes / no)
|
||||||
|
TESTING="no"
|
||||||
|
|
||||||
|
# OEM packages for OEM's (yes / no)
|
||||||
|
OEM_SUPPORT="no"
|
||||||
|
|
||||||
|
# build and install nano text editor (yes / no)
|
||||||
|
NANO_EDITOR="yes"
|
||||||
|
|
||||||
|
# cron support (yes / no)
|
||||||
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
|
DISTRO_SRC="http://sources.openelec.tv/$LIBREELEC_VERSION"
|
||||||
|
|
||||||
|
# Addon Server Url
|
||||||
|
ADDON_SERVER_URL="http://addons.openelec.tv"
|
||||||
|
|
||||||
|
# set the addon dirs
|
||||||
|
ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
|
||||||
|
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
|
BIN
distributions/LibreELEC/splash/splash-1024.png
Normal file
BIN
distributions/LibreELEC/splash/splash-1024.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
distributions/LibreELEC/splash/splash-full.png
Normal file
BIN
distributions/LibreELEC/splash/splash-full.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="repository.unofficial.addon.pro"
|
<addon id="repository.unofficial.addon.pro"
|
||||||
name="[COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Add-ons (unofficial)"
|
name="[COLOR FF757677]Libre[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Add-ons (unofficial)"
|
||||||
version="@PKG_VERSION@.@PKG_REV@"
|
version="@PKG_VERSION@.@PKG_REV@"
|
||||||
provider-name="OpenELEC Community">
|
provider-name="LibreELEC Community">
|
||||||
<extension point="xbmc.addon.repository"
|
<extension point="xbmc.addon.repository"
|
||||||
name="OpenELEC Add-ons (unofficial)">
|
name="LibreELEC Add-ons (unofficial)">
|
||||||
<dir minversion="15.9.0">
|
<dir minversion="15.9.0">
|
||||||
<info>http://unofficial.addon.pro/addons/7.0/@PROJECT@/@ARCH@/addons.xml</info>
|
<info>http://unofficial.addon.pro/addons/7.0/@PROJECT@/@ARCH@/addons.xml</info>
|
||||||
<checksum>http://unofficial.addon.pro/addons/7.0/@PROJECT@/@ARCH@/addons.xml.md5</checksum>
|
<checksum>http://unofficial.addon.pro/addons/7.0/@PROJECT@/@ARCH@/addons.xml.md5</checksum>
|
||||||
@ -12,9 +12,9 @@
|
|||||||
</dir>
|
</dir>
|
||||||
</extension>
|
</extension>
|
||||||
<extension point="xbmc.addon.metadata">
|
<extension point="xbmc.addon.metadata">
|
||||||
<summary>OpenELEC Add-ons (unofficial)</summary>
|
<summary>LibreELEC Add-ons (unofficial)</summary>
|
||||||
<description>The OpenELEC unofficial repository contains community provided add-ons. These add-ons are not supported by OpenELEC staff. Please check the OpenELEC or Kodi forums for community support threads and ask the add-on author to submit fixes via GitHub.</description>
|
<description>The LibreELEC unofficial repository contains community provided add-ons. These add-ons are not supported by LibreELEC staff. Please check the LibreELEC or Kodi forums for community support threads and ask the add-on author to submit fixes via GitHub.</description>
|
||||||
<disclaimer>Add-ons in this repository are not maintained or supported by OpenELEC staff.</disclaimer>
|
<disclaimer>Add-ons in this repository are not maintained or supported by LibreELEC staff.</disclaimer>
|
||||||
<platform>all</platform>
|
<platform>all</platform>
|
||||||
</extension>
|
</extension>
|
||||||
</addon>
|
</addon>
|
||||||
|
@ -16,18 +16,18 @@
|
|||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="OpenELEC-settings"
|
PKG_NAME="LibreELEC-settings"
|
||||||
PKG_VERSION="0.6.12"
|
PKG_VERSION="6d8d3b6"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="prop."
|
PKG_LICENSE="prop."
|
||||||
PKG_SITE="http://www.openelec.tv"
|
PKG_SITE="http://www.libreelec.tv"
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS_TARGET="toolchain Python connman pygobject dbus-python"
|
PKG_DEPENDS_TARGET="toolchain Python connman pygobject dbus-python"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION=""
|
PKG_SECTION=""
|
||||||
PKG_SHORTDESC="OpenELEC-settings: Settings dialog for OpenELEC"
|
PKG_SHORTDESC="LibreELEC-settings: Settings dialog for LibreELEC"
|
||||||
PKG_LONGDESC="OpenELEC-settings: is a settings dialog for OpenELEC"
|
PKG_LONGDESC="LibreELEC-settings: is a settings dialog for LibreELEC"
|
||||||
|
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
@ -41,19 +41,19 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/* $INSTALL/usr/lib/openelec
|
cp $PKG_DIR/scripts/* $INSTALL/usr/lib/libreelec
|
||||||
|
|
||||||
# # bluetooth is optional
|
# # bluetooth is optional
|
||||||
# if [ ! "$BLUETOOTH_SUPPORT" = yes ]; then
|
# if [ ! "$BLUETOOTH_SUPPORT" = yes ]; then
|
||||||
# rm -f resources/lib/modules/bluetooth.py
|
# rm -f resources/lib/modules/bluetooth.py
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
python -Wi -t -B $ROOT/$TOOLCHAIN/lib/python2.7/compileall.py $INSTALL/usr/share/kodi/addons/service.openelec.settings/resources/lib/ -f
|
python -Wi -t -B $ROOT/$TOOLCHAIN/lib/python2.7/compileall.py $INSTALL/usr/share/kodi/addons/service.libreelec.settings/resources/lib/ -f
|
||||||
rm -rf `find $INSTALL/usr/share/kodi/addons/service.openelec.settings/resources/lib/ -name "*.py"`
|
rm -rf `find $INSTALL/usr/share/kodi/addons/service.libreelec.settings/resources/lib/ -name "*.py"`
|
||||||
|
|
||||||
python -Wi -t -B $ROOT/$TOOLCHAIN/lib/python2.7/compileall.py $INSTALL/usr/share/kodi/addons/service.openelec.settings/oe.py -f
|
python -Wi -t -B $ROOT/$TOOLCHAIN/lib/python2.7/compileall.py $INSTALL/usr/share/kodi/addons/service.libreelec.settings/oe.py -f
|
||||||
rm -rf $INSTALL/usr/share/kodi/addons/service.openelec.settings/oe.py
|
rm -rf $INSTALL/usr/share/kodi/addons/service.libreelec.settings/oe.py
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
@ -4,7 +4,7 @@ DefaultDependencies=no
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=idle
|
Type=idle
|
||||||
ExecStart=/usr/lib/openelec/backup-restore
|
ExecStart=/usr/lib/libreelec/backup-restore
|
||||||
StandardInput=tty-force
|
StandardInput=tty-force
|
||||||
StandardOutput=inherit
|
StandardOutput=inherit
|
||||||
StandardError=inherit
|
StandardError=inherit
|
@ -4,7 +4,7 @@ DefaultDependencies=no
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=idle
|
Type=idle
|
||||||
ExecStart=/usr/lib/openelec/factory-reset
|
ExecStart=/usr/lib/libreelec/factory-reset
|
||||||
StandardInput=tty-force
|
StandardInput=tty-force
|
||||||
StandardOutput=inherit
|
StandardOutput=inherit
|
||||||
StandardError=inherit
|
StandardError=inherit
|
@ -7,7 +7,7 @@
|
|||||||
+ <control type="button" id="90120">
|
+ <control type="button" id="90120">
|
||||||
+ <include>ButtonHomeSubCommonValues</include>
|
+ <include>ButtonHomeSubCommonValues</include>
|
||||||
+ <label>@DISTRONAME@</label>
|
+ <label>@DISTRONAME@</label>
|
||||||
+ <onclick>RunAddon(service.openelec.settings)</onclick>
|
+ <onclick>RunAddon(service.libreelec.settings)</onclick>
|
||||||
+ </control>
|
+ </control>
|
||||||
<control type="button" id="90123">
|
<control type="button" id="90123">
|
||||||
<include>ButtonHomeSubCommonValues</include>
|
<include>ButtonHomeSubCommonValues</include>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<addon id="os.openelec.tv" version="@OS_VERSION@" provider-name="OpenELEC.tv">
|
<addon id="os.libreelec.tv" version="@OS_VERSION@" provider-name="LibreELEC.tv">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.addon" version="12.0"/>
|
<import addon="xbmc.addon" version="12.0"/>
|
||||||
</requires>
|
</requires>
|
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<addon id="repository.libreelec.tv"
|
||||||
|
name="[COLOR FF757677]Libre[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Add-ons (official)"
|
||||||
|
version="7.0.0"
|
||||||
|
provider-name="Team [COLOR FF757677]Libre[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR]">
|
||||||
|
<extension point="xbmc.addon.repository"
|
||||||
|
name="LibreELEC Add-ons (official)">
|
||||||
|
<info>@ADDON_URL@/addons.xml</info>
|
||||||
|
<checksum>@ADDON_URL@/addons.xml.md5</checksum>
|
||||||
|
<datadir zip="true">@ADDON_URL@</datadir>
|
||||||
|
</extension>
|
||||||
|
<extension point="xbmc.addon.metadata">
|
||||||
|
<summary>LibreELEC Add-ons (official)</summary>
|
||||||
|
<description>The LibreELEC official repository contains Kodi PVR Clients, Screensavers, Visualisations, the unofficial repo installer, and more. Add-ons in this repository are maintained and supported by OpenELEC staff and sponsors. If you find a broken or non-working add-on please report it via the forums.</description>
|
||||||
|
<platform>all</platform>
|
||||||
|
</extension>
|
||||||
|
</addon>
|
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<addon id="repository.openelec.tv"
|
|
||||||
name="[COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Add-ons (official)"
|
|
||||||
version="7.0.0"
|
|
||||||
provider-name="Team [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR]">
|
|
||||||
<extension point="xbmc.addon.repository"
|
|
||||||
name="OpenELEC Add-ons (official)">
|
|
||||||
<info>@ADDON_URL@/addons.xml</info>
|
|
||||||
<checksum>@ADDON_URL@/addons.xml.md5</checksum>
|
|
||||||
<datadir zip="true">@ADDON_URL@</datadir>
|
|
||||||
</extension>
|
|
||||||
<extension point="xbmc.addon.metadata">
|
|
||||||
<summary>OpenELEC Add-ons (official)</summary>
|
|
||||||
<description>The OpenELEC official repository contains Kodi PVR Clients, Screensavers, Visualisations, the unofficial repo installer, and more. Add-ons in this repository are maintained and supported by OpenELEC staff and sponsors. If you find a broken or non-working add-on please report it via the forums.</description>
|
|
||||||
<platform>all</platform>
|
|
||||||
</extension>
|
|
||||||
</addon>
|
|
Binary file not shown.
Before Width: | Height: | Size: 45 KiB |
@ -349,8 +349,8 @@ post_makeinstall_target() {
|
|||||||
cp $PKG_DIR/scripts/kodi-config $INSTALL/usr/lib/kodi
|
cp $PKG_DIR/scripts/kodi-config $INSTALL/usr/lib/kodi
|
||||||
cp $PKG_DIR/scripts/kodi.sh $INSTALL/usr/lib/kodi
|
cp $PKG_DIR/scripts/kodi.sh $INSTALL/usr/lib/kodi
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/systemd-addon-wrapper $INSTALL/usr/lib/openelec
|
cp $PKG_DIR/scripts/systemd-addon-wrapper $INSTALL/usr/lib/libreelec
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
cp $PKG_DIR/scripts/cputemp $INSTALL/usr/bin
|
cp $PKG_DIR/scripts/cputemp $INSTALL/usr/bin
|
||||||
@ -369,10 +369,10 @@ post_makeinstall_target() {
|
|||||||
rm -rf $INSTALL/usr/share/xsessions
|
rm -rf $INSTALL/usr/share/xsessions
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/kodi/addons
|
mkdir -p $INSTALL/usr/share/kodi/addons
|
||||||
cp -R $PKG_DIR/config/os.openelec.tv $INSTALL/usr/share/kodi/addons
|
cp -R $PKG_DIR/config/os.libreelec.tv $INSTALL/usr/share/kodi/addons
|
||||||
$SED "s|@OS_VERSION@|$OS_VERSION|g" -i $INSTALL/usr/share/kodi/addons/os.openelec.tv/addon.xml
|
$SED "s|@OS_VERSION@|$OS_VERSION|g" -i $INSTALL/usr/share/kodi/addons/os.libreelec.tv/addon.xml
|
||||||
cp -R $PKG_DIR/config/repository.openelec.tv $INSTALL/usr/share/kodi/addons
|
cp -R $PKG_DIR/config/repository.libreelec.tv $INSTALL/usr/share/kodi/addons
|
||||||
$SED "s|@ADDON_URL@|$ADDON_URL|g" -i $INSTALL/usr/share/kodi/addons/repository.openelec.tv/addon.xml
|
$SED "s|@ADDON_URL@|$ADDON_URL|g" -i $INSTALL/usr/share/kodi/addons/repository.libreelec.tv/addon.xml
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/python"$PYTHON_VERSION"/site-packages/kodi
|
mkdir -p $INSTALL/usr/lib/python"$PYTHON_VERSION"/site-packages/kodi
|
||||||
cp -R tools/EventClients/lib/python/* $INSTALL/usr/lib/python"$PYTHON_VERSION"/site-packages/kodi
|
cp -R tools/EventClients/lib/python/* $INSTALL/usr/lib/python"$PYTHON_VERSION"/site-packages/kodi
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
100.* - OpenELEC specific patches that wont go upstream
|
100.* - LibreELEC specific patches that wont go upstream
|
||||||
995.* - OpenELEC specific patches that should be send upstream
|
995.* - LibreELEC specific patches that should be send upstream
|
||||||
999.* - patches backported from upstream
|
999.* - patches backported from upstream
|
||||||
|
@ -6,7 +6,7 @@ index 48b99e8..856bf1e 100644
|
|||||||
<!-- RSS feeds. To have multiple feeds, just add a feed to the set. You can also have multiple sets. !-->
|
<!-- RSS feeds. To have multiple feeds, just add a feed to the set. You can also have multiple sets. !-->
|
||||||
<!-- To use different sets in your skin, each must be called from skin with a unique id. !-->
|
<!-- To use different sets in your skin, each must be called from skin with a unique id. !-->
|
||||||
<set id="1">
|
<set id="1">
|
||||||
+ <feed updateinterval="30">http://feeds.openelec.tv/news</feed>
|
+ <feed updateinterval="30">http://feeds.libreelec.tv/news</feed>
|
||||||
<feed updateinterval="30">http://feeds.kodi.tv/xbmc</feed>
|
<feed updateinterval="30">http://feeds.kodi.tv/xbmc</feed>
|
||||||
<feed updateinterval="30">http://feeds.kodi.tv/latest_xbmc_addons</feed>
|
<feed updateinterval="30">http://feeds.kodi.tv/latest_xbmc_addons</feed>
|
||||||
<feed updateinterval="30">http://feeds.kodi.tv/updated_xbmc_addons</feed>
|
<feed updateinterval="30">http://feeds.kodi.tv/updated_xbmc_addons</feed>
|
||||||
|
@ -19,7 +19,7 @@ index 377a49c..2fda194 100644
|
|||||||
+void CallOEWrapper(const std::string& ID, bool disable)
|
+void CallOEWrapper(const std::string& ID, bool disable)
|
||||||
+{
|
+{
|
||||||
+ char cmd[255];
|
+ char cmd[255];
|
||||||
+ snprintf(cmd, sizeof(cmd), "/usr/lib/openelec/systemd-addon-wrapper %s %d %d", ID.c_str(), disable);
|
+ snprintf(cmd, sizeof(cmd), "/usr/lib/libreelec/systemd-addon-wrapper %s %d %d", ID.c_str(), disable);
|
||||||
+ system(cmd);
|
+ system(cmd);
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Kodi clean debug logs
|
Description=Kodi clean debug logs
|
||||||
ConditionKernelCommandLine=!debugging
|
ConditionKernelCommandLine=!debugging
|
||||||
ConditionPathExists=!/storage/.cache/debug.openelec
|
ConditionPathExists=!/storage/.cache/debug.libreelec
|
||||||
Before=kodi.service
|
Before=kodi.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -5,11 +5,11 @@ After=connman.service
|
|||||||
Before=network-online.target
|
Before=network-online.target
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
ConditionPathExists=/storage/.cache/openelec/network_wait
|
ConditionPathExists=/storage/.cache/libreelec/network_wait
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
EnvironmentFile=/storage/.cache/openelec/network_wait
|
EnvironmentFile=/storage/.cache/libreelec/network_wait
|
||||||
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ... (max. $WAIT_NETWORK_TIME sec.)"'
|
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ... (max. $WAIT_NETWORK_TIME sec.)"'
|
||||||
ExecStart=/usr/sbin/connmand-wait-online --timeout=${WAIT_NETWORK_TIME}
|
ExecStart=/usr/sbin/connmand-wait-online --timeout=${WAIT_NETWORK_TIME}
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
|
@ -8,8 +8,8 @@ Wants=network-online.target
|
|||||||
Environment=DISPLAY=:0.0
|
Environment=DISPLAY=:0.0
|
||||||
Environment=SDL_MOUSE_RELATIVE=0
|
Environment=SDL_MOUSE_RELATIVE=0
|
||||||
Environment=HOME=/storage
|
Environment=HOME=/storage
|
||||||
EnvironmentFile=-/run/openelec/kodi.conf
|
EnvironmentFile=-/run/libreelec/kodi.conf
|
||||||
EnvironmentFile=-/run/openelec/debug/kodi.conf
|
EnvironmentFile=-/run/libreelec/debug/kodi.conf
|
||||||
ExecStartPre=-/usr/lib/kodi/kodi-config
|
ExecStartPre=-/usr/lib/kodi/kodi-config
|
||||||
ExecStart=/usr/lib/kodi/kodi.sh --standalone -fs $KODI_ARGS $KODI_DEBUG
|
ExecStart=/usr/lib/kodi/kodi.sh --standalone -fs $KODI_ARGS $KODI_DEBUG
|
||||||
ExecStop=/bin/kill -TERM $MAINPID
|
ExecStop=/bin/kill -TERM $MAINPID
|
||||||
|
@ -6,7 +6,7 @@ ConditionPathExists=/storage/.cache/services/avahi.conf
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
EnvironmentFile=-/run/openelec/debug/avahi.conf
|
EnvironmentFile=-/run/libreelec/debug/avahi.conf
|
||||||
ExecStart=/usr/sbin/avahi-daemon -s $AVAHI_DEBUG
|
ExecStart=/usr/sbin/avahi-daemon -s $AVAHI_DEBUG
|
||||||
ExecReload=/usr/sbin/avahi-daemon -r
|
ExecReload=/usr/sbin/avahi-daemon -r
|
||||||
TimeoutStopSec=1s
|
TimeoutStopSec=1s
|
||||||
|
@ -7,7 +7,7 @@ ConditionPathExists=/storage/.cache/services/bluez.conf
|
|||||||
[Service]
|
[Service]
|
||||||
NotifyAccess=main
|
NotifyAccess=main
|
||||||
EnvironmentFile=/storage/.cache/services/bluez.conf
|
EnvironmentFile=/storage/.cache/services/bluez.conf
|
||||||
EnvironmentFile=-/run/openelec/debug/bluez.conf
|
EnvironmentFile=-/run/libreelec/debug/bluez.conf
|
||||||
ExecStart=/usr/lib/bluetooth/bluetoothd $BLUEZ_ARGS $BLUEZ_DEBUG
|
ExecStart=/usr/lib/bluetooth/bluetoothd $BLUEZ_ARGS $BLUEZ_DEBUG
|
||||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||||
LimitNPROC=1
|
LimitNPROC=1
|
||||||
|
@ -8,7 +8,7 @@ ConditionPathExists=/storage/.cache/services/bluez.conf
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/storage/.cache/services/obexd.conf
|
EnvironmentFile=/storage/.cache/services/obexd.conf
|
||||||
EnvironmentFile=-/run/openelec/debug/obexd.conf
|
EnvironmentFile=-/run/libreelec/debug/obexd.conf
|
||||||
ExecStartPre=/bin/sh -c 'mkdir -p $OBEXD_ROOT'
|
ExecStartPre=/bin/sh -c 'mkdir -p $OBEXD_ROOT'
|
||||||
ExecStart=/usr/lib/bluetooth/obexd -r $OBEXD_ROOT $OBEXD_DEBUG
|
ExecStart=/usr/lib/bluetooth/obexd -r $OBEXD_ROOT $OBEXD_DEBUG
|
||||||
TimeoutStopSec=1s
|
TimeoutStopSec=1s
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# IP addresses
|
# IP addresses
|
||||||
|
|
||||||
# Format: <ipaddress> <hostname1> <hostname2>
|
# Format: <ipaddress> <hostname1> <hostname2>
|
||||||
# Example: 192.168.0.3 openelec openelec.mynetwork
|
# Example: 192.168.0.3 libreelec libreelec.mynetwork
|
||||||
|
|
||||||
# NOTE: do not edit /etc/hosts directly
|
# NOTE: do not edit /etc/hosts directly
|
||||||
# edit /storage/.config/hosts.conf then reboot
|
# edit /storage/.config/hosts.conf then reboot
|
||||||
|
@ -10,7 +10,7 @@ Wants=network.target
|
|||||||
Type=dbus
|
Type=dbus
|
||||||
BusName=net.connman
|
BusName=net.connman
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
EnvironmentFile=-/run/openelec/debug/connman.conf
|
EnvironmentFile=-/run/libreelec/debug/connman.conf
|
||||||
ExecStartPre=-/bin/sh -c "echo -e 'nameserver 8.8.8.8\nnameserver 8.8.4.4' > /etc/resolv.conf"
|
ExecStartPre=-/bin/sh -c "echo -e 'nameserver 8.8.8.8\nnameserver 8.8.4.4' > /etc/resolv.conf"
|
||||||
ExecStartPre=-/bin/sh -c "cat /storage/.cache/hostname > /proc/sys/kernel/hostname"
|
ExecStartPre=-/bin/sh -c "cat /storage/.cache/hostname > /proc/sys/kernel/hostname"
|
||||||
ExecStartPre=-/bin/sh -c "cat /storage/.config/hosts.conf > /etc/hosts"
|
ExecStartPre=-/bin/sh -c "cat /storage/.config/hosts.conf > /etc/hosts"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SAMBA_AUTOSHARE="true"
|
SAMBA_AUTOSHARE="true"
|
||||||
SAMBA_USERNAME="openelec"
|
SAMBA_USERNAME="libreelec"
|
||||||
SAMBA_PASSWORD="openelec"
|
SAMBA_PASSWORD="libreelec"
|
||||||
SAMBA_SECURE="false"
|
SAMBA_SECURE="false"
|
||||||
|
@ -165,8 +165,8 @@ makeinstall_target() {
|
|||||||
cp $PKG_DIR/scripts/pastebinit $INSTALL/usr/bin/
|
cp $PKG_DIR/scripts/pastebinit $INSTALL/usr/bin/
|
||||||
ln -sf pastebinit $INSTALL/usr/bin/paste
|
ln -sf pastebinit $INSTALL/usr/bin/paste
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/fs-resize $INSTALL/usr/lib/openelec
|
cp $PKG_DIR/scripts/fs-resize $INSTALL/usr/lib/libreelec
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
cp $PKG_DIR/config/profile $INSTALL/etc
|
cp $PKG_DIR/config/profile $INSTALL/etc
|
||||||
|
@ -4,7 +4,7 @@ Description=Debug Shell
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
ConditionKernelCommandLine=|tty
|
ConditionKernelCommandLine=|tty
|
||||||
ConditionKernelCommandLine=|debugging
|
ConditionKernelCommandLine=|debugging
|
||||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
ConditionPathExists=|/storage/.cache/debug.libreelec
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=TTY=3
|
Environment=TTY=3
|
||||||
|
@ -4,7 +4,7 @@ DefaultDependencies=no
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=idle
|
Type=idle
|
||||||
ExecStart=/usr/lib/openelec/fs-resize
|
ExecStart=/usr/lib/libreelec/fs-resize
|
||||||
StandardInput=tty-force
|
StandardInput=tty-force
|
||||||
StandardOutput=inherit
|
StandardOutput=inherit
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
@ -5,7 +5,7 @@ After=var.mount
|
|||||||
Before=systemd-journal-flush.service
|
Before=systemd-journal-flush.service
|
||||||
ConditionKernelCommandLine=!installer
|
ConditionKernelCommandLine=!installer
|
||||||
ConditionKernelCommandLine=|debugging
|
ConditionKernelCommandLine=|debugging
|
||||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
ConditionPathExists=|/storage/.cache/debug.libreelec
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -42,8 +42,8 @@ makeinstall_target() {
|
|||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
cp $PKG_DIR/bin/* $INSTALL/usr/bin
|
cp $PKG_DIR/bin/* $INSTALL/usr/bin
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/* $INSTALL/usr/lib/openelec
|
cp $PKG_DIR/scripts/* $INSTALL/usr/lib/libreelec
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=i.MX6 SoC fan monitor service
|
Description=i.MX6 SoC fan monitor service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/sh -c "exec /bin/sh /usr/lib/openelec/imx6-soc-fan-monitor"
|
ExecStart=/bin/sh -c "exec /bin/sh /usr/lib/libreelec/imx6-soc-fan-monitor"
|
||||||
RestartPreventExitStatus=12
|
RestartPreventExitStatus=12
|
||||||
TimeoutStopSec=5
|
TimeoutStopSec=5
|
||||||
Restart=always
|
Restart=always
|
||||||
|
@ -36,8 +36,8 @@ make_target() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/* $INSTALL/usr/lib/openelec
|
cp $PKG_DIR/scripts/* $INSTALL/usr/lib/libreelec
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -4,8 +4,8 @@ After=kodi.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=-/bin/sh -c "/usr/lib/openelec/imx6-status-led on"
|
ExecStart=-/bin/sh -c "/usr/lib/libreelec/imx6-status-led on"
|
||||||
ExecStop=-/bin/sh -c "/usr/lib/openelec/imx6-status-led heartbeat"
|
ExecStop=-/bin/sh -c "/usr/lib/libreelec/imx6-status-led heartbeat"
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -72,8 +72,8 @@ post_makeinstall_target() {
|
|||||||
-e "s|^#normal_font=.*$|normal_font=/usr/share/fonts/liberation/LiberationMono-Bold.ttf|" \
|
-e "s|^#normal_font=.*$|normal_font=/usr/share/fonts/liberation/LiberationMono-Bold.ttf|" \
|
||||||
-i $INSTALL/etc/LCDd.conf
|
-i $INSTALL/etc/LCDd.conf
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/lcd-wrapper $INSTALL/usr/lib/openelec
|
cp $PKG_DIR/scripts/lcd-wrapper $INSTALL/usr/lib/libreelec
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ After=multi-user.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=-/storage/.cache/services/lcdd.conf
|
EnvironmentFile=-/storage/.cache/services/lcdd.conf
|
||||||
ExecStart=/bin/sh -c 'exec /usr/lib/openelec/lcd-wrapper'
|
ExecStart=/bin/sh -c 'exec /usr/lib/libreelec/lcd-wrapper'
|
||||||
TimeoutStopSec=1s
|
TimeoutStopSec=1s
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
@ -59,8 +59,8 @@ post_makeinstall_target() {
|
|||||||
cp $PKG_DIR/config/lircd.conf.xbox $INSTALL/etc/lirc
|
cp $PKG_DIR/config/lircd.conf.xbox $INSTALL/etc/lirc
|
||||||
cp $PKG_DIR/config/lircd.conf.rpi $INSTALL/etc/lirc
|
cp $PKG_DIR/config/lircd.conf.rpi $INSTALL/etc/lirc
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/openelec
|
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/libreelec
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/udev
|
mkdir -p $INSTALL/usr/lib/udev
|
||||||
cp $PKG_DIR/scripts/lircd_wakeup_enable $INSTALL/usr/lib/udev
|
cp $PKG_DIR/scripts/lircd_wakeup_enable $INSTALL/usr/lib/udev
|
||||||
|
@ -3,8 +3,8 @@ Description=Lirc with %I
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/lib/openelec/lircd_helper add %I
|
ExecStart=/usr/lib/libreelec/lircd_helper add %I
|
||||||
ExecStop=/usr/lib/openelec/lircd_helper remove %I
|
ExecStop=/usr/lib/libreelec/lircd_helper remove %I
|
||||||
TimeoutStopSec=1
|
TimeoutStopSec=1
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@ Description=Setup debug config
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=systemd-tmpfiles-setup.service
|
After=systemd-tmpfiles-setup.service
|
||||||
ConditionKernelCommandLine=|debugging
|
ConditionKernelCommandLine=|debugging
|
||||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
ConditionPathExists=|/storage/.cache/debug.libreelec
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/sh -c 'cp /usr/share/debugconf/*.conf /run/openelec/debug'
|
ExecStart=/bin/sh -c 'cp /usr/share/debugconf/*.conf /run/libreelec/debug'
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -100,8 +100,8 @@ fi
|
|||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
||||||
mkdir -p $INSTALL/usr/lib/openelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp -PR $PKG_DIR/scripts/mount-swap $INSTALL/usr/lib/openelec
|
cp -PR $PKG_DIR/scripts/mount-swap $INSTALL/usr/lib/libreelec
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
cat $PKG_DIR/config/swap.conf | \
|
cat $PKG_DIR/config/swap.conf | \
|
||||||
|
@ -13,8 +13,8 @@ ConditionKernelCommandLine=!installer
|
|||||||
[Service]
|
[Service]
|
||||||
Environment=HOME=/storage
|
Environment=HOME=/storage
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStartPre=/usr/lib/openelec/mount-swap create
|
ExecStartPre=/usr/lib/libreelec/mount-swap create
|
||||||
ExecStart=/usr/lib/openelec/mount-swap mount
|
ExecStart=/usr/lib/libreelec/mount-swap mount
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -43,7 +43,7 @@ if [ "$MEDIACENTER" = "kodi" ]; then
|
|||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET pycrypto"
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET pycrypto"
|
||||||
|
|
||||||
# other packages
|
# other packages
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET OpenELEC-settings"
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET LibreELEC-settings"
|
||||||
|
|
||||||
if [ "$KODI_LANGUAGE_ADDONS" = "yes" ]; then
|
if [ "$KODI_LANGUAGE_ADDONS" = "yes" ]; then
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET kodi-language-addons"
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET kodi-language-addons"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# This is all we need in OpenELEC
|
# This is all we need
|
||||||
# alt-tab
|
# alt-tab
|
||||||
Mod1 Tab :NextWindow {groups} (workspace=[current])
|
Mod1 Tab :NextWindow {groups} (workspace=[current])
|
||||||
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
|
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
|
||||||
|
@ -126,7 +126,7 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-debug \
|
|||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--with-sha1=libcrypto \
|
--with-sha1=libcrypto \
|
||||||
--without-systemd-daemon \
|
--without-systemd-daemon \
|
||||||
--with-os-vendor=OpenELEC.tv \
|
--with-os-vendor=LibreELEC.tv \
|
||||||
--with-module-dir=$XORG_PATH_MODULES \
|
--with-module-dir=$XORG_PATH_MODULES \
|
||||||
--with-xkb-path=$XORG_PATH_XKB \
|
--with-xkb-path=$XORG_PATH_XKB \
|
||||||
--with-xkb-output=/var/cache/xkb \
|
--with-xkb-output=/var/cache/xkb \
|
||||||
|
@ -6,7 +6,7 @@ ConditionKernelCommandLine=!installer
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
EnvironmentFile=-/run/openelec/debug/xorg.conf
|
EnvironmentFile=-/run/libreelec/debug/xorg.conf
|
||||||
ExecStart=/usr/bin/xorg-launch -nolisten tcp vt01 $XORG_DEBUG
|
ExecStart=/usr/bin/xorg-launch -nolisten tcp vt01 $XORG_DEBUG
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
@ -33,4 +33,4 @@ write_raw_image(package_extract_file("logo.img"), "logo");
|
|||||||
|
|
||||||
set_bootloader_env("upgrade_step", "1");
|
set_bootloader_env("upgrade_step", "1");
|
||||||
show_progress(0.100000, 0);
|
show_progress(0.100000, 0);
|
||||||
ui_print("OpenELEC Installed Successfully");
|
ui_print("LibreELEC Installed Successfully");
|
||||||
|
@ -29,4 +29,4 @@ write_raw_image(package_extract_file("logo.img"), "logo");
|
|||||||
|
|
||||||
set_bootloader_env("upgrade_step", "1");
|
set_bootloader_env("upgrade_step", "1");
|
||||||
show_progress(0.100000, 0);
|
show_progress(0.100000, 0);
|
||||||
ui_print("OpenELEC Installed Successfully");
|
ui_print("LibreELEC Installed Successfully");
|
||||||
|
@ -83,7 +83,7 @@ pack_addon() {
|
|||||||
cp $PKG_DIR/changelog.txt $ADDON_BUILD/$PKG_ADDON_ID
|
cp $PKG_DIR/changelog.txt $ADDON_BUILD/$PKG_ADDON_ID
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PROVIDER_NAME="openelec.tv"
|
PROVIDER_NAME="libreelec.tv"
|
||||||
if [ ! -z "$PKG_MAINTAINER" ] ; then
|
if [ ! -z "$PKG_MAINTAINER" ] ; then
|
||||||
PROVIDER_NAME="$PKG_MAINTAINER"
|
PROVIDER_NAME="$PKG_MAINTAINER"
|
||||||
fi
|
fi
|
||||||
|
@ -33,21 +33,21 @@ $SCRIPTS/build populatefs:host
|
|||||||
|
|
||||||
BUILD_DATE=`date +%Y%m%d%H%M%S`
|
BUILD_DATE=`date +%Y%m%d%H%M%S`
|
||||||
|
|
||||||
if [ "$OPENELEC_VERSION" = devel ]; then
|
if [ "$LIBREELEC_VERSION" = devel ]; then
|
||||||
if ! GIT_BUILD=$(git rev-list --count HEAD 2>/dev/null)
|
if ! GIT_BUILD=$(git rev-list --count HEAD 2>/dev/null)
|
||||||
then
|
then
|
||||||
GIT_BUILD=$(git rev-list HEAD | wc -l)
|
GIT_BUILD=$(git rev-list HEAD | wc -l)
|
||||||
fi
|
fi
|
||||||
GIT_HASH=$(git rev-parse HEAD)
|
GIT_HASH=$(git rev-parse HEAD)
|
||||||
GIT_ABBREV=$(git log -1 --pretty=format:%h)
|
GIT_ABBREV=$(git log -1 --pretty=format:%h)
|
||||||
DEVEL_VERSION=$OPENELEC_VERSION
|
DEVEL_VERSION=$LIBREELEC_VERSION
|
||||||
OPENELEC_VERSION=$OPENELEC_VERSION-$BUILD_DATE-r$GIT_BUILD-g$GIT_ABBREV
|
LIBREELEC_VERSION=$LIBREELEC_VERSION-$BUILD_DATE-r$GIT_BUILD-g$GIT_ABBREV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TARGET_VERSION="$PROJECT.$TARGET_ARCH-$OPENELEC_VERSION"
|
TARGET_VERSION="$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION"
|
||||||
IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||||
if [ "$DEVEL_VERSION" = "devel" ] ; then
|
if [ "$DEVEL_VERSION" = "devel" ] ; then
|
||||||
IMAGE_NAME="$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$OPENELEC_VERSION"
|
IMAGE_NAME="$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$PROJECT" == "imx6" -a -n "$SYSTEM" ]; then
|
if [ "$PROJECT" == "imx6" -a -n "$SYSTEM" ]; then
|
||||||
@ -94,20 +94,20 @@ fi
|
|||||||
|
|
||||||
# create /etc/os-release
|
# create /etc/os-release
|
||||||
echo -e "NAME=\"$DISTRONAME\"" > $INSTALL/etc/os-release
|
echo -e "NAME=\"$DISTRONAME\"" > $INSTALL/etc/os-release
|
||||||
echo -e "VERSION=\"$OPENELEC_VERSION\"" >> $INSTALL/etc/os-release
|
echo -e "VERSION=\"$LIBREELEC_VERSION\"" >> $INSTALL/etc/os-release
|
||||||
echo -e "ID=\"openelec\"" >> $INSTALL/etc/os-release
|
echo -e "ID=\"libreelec\"" >> $INSTALL/etc/os-release
|
||||||
echo -e "VERSION_ID=\"$OS_VERSION\"" >> $INSTALL/etc/os-release
|
echo -e "VERSION_ID=\"$OS_VERSION\"" >> $INSTALL/etc/os-release
|
||||||
echo -e "PRETTY_NAME=\"$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) - Version: $OPENELEC_VERSION\"" >> $INSTALL/etc/os-release
|
echo -e "PRETTY_NAME=\"$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) - Version: $LIBREELEC_VERSION\"" >> $INSTALL/etc/os-release
|
||||||
echo -e "HOME_URL=\"http://www.openelec.tv\"" >> $INSTALL/etc/os-release
|
echo -e "HOME_URL=\"http://www.libreelec.tv\"" >> $INSTALL/etc/os-release
|
||||||
echo -e "BUG_REPORT_URL=\"https://github.com/OpenELEC/OpenELEC.tv\"" >> $INSTALL/etc/os-release
|
echo -e "BUG_REPORT_URL=\"https://github.com/LibreELEC/LibreELEC.tv\"" >> $INSTALL/etc/os-release
|
||||||
if [ -n "$GIT_HASH" ]; then
|
if [ -n "$GIT_HASH" ]; then
|
||||||
echo -e "BUILD_ID=\"$GIT_HASH\"" >> $INSTALL/etc/os-release
|
echo -e "BUILD_ID=\"$GIT_HASH\"" >> $INSTALL/etc/os-release
|
||||||
fi
|
fi
|
||||||
echo -e "OPENELEC_ARCH=\"$PROJECT.$TARGET_ARCH\"" >> $INSTALL/etc/os-release
|
echo -e "LIBREELEC_ARCH=\"$PROJECT.$TARGET_ARCH\"" >> $INSTALL/etc/os-release
|
||||||
if [ "$OFFICIAL" = "yes" ]; then
|
if [ "$OFFICIAL" = "yes" ]; then
|
||||||
echo -e "OPENELEC_BUILD=\"official\"" >> $INSTALL/etc/os-release
|
echo -e "LIBREELEC_BUILD=\"official\"" >> $INSTALL/etc/os-release
|
||||||
else
|
else
|
||||||
echo -e "OPENELEC_BUILD=\"community\"" >> $INSTALL/etc/os-release
|
echo -e "LIBREELEC_BUILD=\"community\"" >> $INSTALL/etc/os-release
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create /etc/issue
|
# create /etc/issue
|
||||||
@ -116,7 +116,7 @@ fi
|
|||||||
echo "$GREETING2" >> $INSTALL/etc/issue
|
echo "$GREETING2" >> $INSTALL/etc/issue
|
||||||
echo "$GREETING3" >> $INSTALL/etc/issue
|
echo "$GREETING3" >> $INSTALL/etc/issue
|
||||||
echo "$GREETING4" >> $INSTALL/etc/issue
|
echo "$GREETING4" >> $INSTALL/etc/issue
|
||||||
echo "$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) Version: $OPENELEC_VERSION" >> $INSTALL/etc/issue
|
echo "$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) Version: $LIBREELEC_VERSION" >> $INSTALL/etc/issue
|
||||||
if [ -n "$GIT_HASH" ]; then
|
if [ -n "$GIT_HASH" ]; then
|
||||||
echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue
|
echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue
|
||||||
fi
|
fi
|
||||||
@ -181,10 +181,10 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# copy vendor related files to filesystem
|
# copy vendor related files to filesystem
|
||||||
if [ -d "$HOME/.openelec/filesystem" ]; then
|
if [ -d "$HOME/.libreelec/filesystem" ]; then
|
||||||
cp -PR $HOME/.openelec/filesystem/* $INSTALL
|
cp -PR $HOME/.libreelec/filesystem/* $INSTALL
|
||||||
# install project specific systemd services
|
# install project specific systemd services
|
||||||
for service in $HOME/.openelec/filesystem/usr/lib/systemd/system/*.service ; do
|
for service in $HOME/.libreelec/filesystem/usr/lib/systemd/system/*.service ; do
|
||||||
if [ -f "$service" ] ; then
|
if [ -f "$service" ] ; then
|
||||||
enable_service $(basename $service)
|
enable_service $(basename $service)
|
||||||
fi
|
fi
|
||||||
@ -192,10 +192,10 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# copy vendor project related files to filesystem
|
# copy vendor project related files to filesystem
|
||||||
if [ -d "$HOME/.openelec/projects/$PROJECT/filesystem" ]; then
|
if [ -d "$HOME/.libreelec/projects/$PROJECT/filesystem" ]; then
|
||||||
cp -PR $HOME/.openelec/projects/$PROJECT/filesystem/* $INSTALL
|
cp -PR $HOME/.libreelec/projects/$PROJECT/filesystem/* $INSTALL
|
||||||
# install project specific systemd services
|
# install project specific systemd services
|
||||||
for service in $HOME/.openelec/projects/$PROJECT/filesystem/usr/lib/systemd/system/*.service ; do
|
for service in $HOME/.libreelec/projects/$PROJECT/filesystem/usr/lib/systemd/system/*.service ; do
|
||||||
if [ -f "$service" ] ; then
|
if [ -f "$service" ] ; then
|
||||||
enable_service $(basename $service)
|
enable_service $(basename $service)
|
||||||
fi
|
fi
|
||||||
@ -441,7 +441,7 @@ fi
|
|||||||
|
|
||||||
sed -e "s%@DISTRONAME@%$DISTRONAME%g" \
|
sed -e "s%@DISTRONAME@%$DISTRONAME%g" \
|
||||||
-e "s%@PROJECT@%$PROJECT%g" \
|
-e "s%@PROJECT@%$PROJECT%g" \
|
||||||
-e "s%@OPENELEC_VERSION@%$OPENELEC_VERSION%g" \
|
-e "s%@LIBREELEC_VERSION@%$LIBREELEC_VERSION%g" \
|
||||||
-e "s%@RELEASE_DATE@%$(date +%F)%g" \
|
-e "s%@RELEASE_DATE@%$(date +%F)%g" \
|
||||||
-e "s%@KERNEL_VERSION@%$(kernel_version)%g" \
|
-e "s%@KERNEL_VERSION@%$(kernel_version)%g" \
|
||||||
-e "s%@DESCRIPTION@%$DESCRIPTION%g" \
|
-e "s%@DESCRIPTION@%$DESCRIPTION%g" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user