mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
new package:
- add enna mediacenter
This commit is contained in:
parent
4900a7f8a3
commit
9d0a96b955
71
packages/multimedia/enna/build
Normal file
71
packages/multimedia/enna/build
Normal file
@ -0,0 +1,71 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build freetype
|
||||
$SCRIPTS/build eina
|
||||
$SCRIPTS/build eet
|
||||
$SCRIPTS/build evas
|
||||
$SCRIPTS/build ecore
|
||||
$SCRIPTS/build embryo
|
||||
$SCRIPTS/build edje
|
||||
$SCRIPTS/build e_dbus
|
||||
$SCRIPTS/build elementary
|
||||
$SCRIPTS/build curl
|
||||
$SCRIPTS/build libxml2
|
||||
$SCRIPTS/build libplayer
|
||||
$SCRIPTS/build libvalhalla
|
||||
$SCRIPTS/build libexif
|
||||
$SCRIPTS/build libXrandr
|
||||
$SCRIPTS/build libcddb
|
||||
# $SCRIPTS/build lirc
|
||||
$SCRIPTS/build gettext
|
||||
|
||||
if [ "$GAMES" = yes ]; then
|
||||
$SCRIPTS/build efreet
|
||||
GAMES_OPT="--enable-activity-games --enable-efreet"
|
||||
else
|
||||
GAMES_OPT="--disable-activity-games --disable-efreet"
|
||||
fi
|
||||
|
||||
if [ "$VDR" = yes ]; then
|
||||
$SCRIPTS/build libsvdrp
|
||||
VDR_OPT="--enable-activity-tv --enable-libsvdrp"
|
||||
else
|
||||
VDR_OPT="--disable-activity-tv --disable-libsvdrp"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
LIBS="-lintl" \
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-theme \
|
||||
--enable-activity-infos \
|
||||
--enable-activity-music \
|
||||
--enable-activity-photo \
|
||||
--enable-activity-video \
|
||||
--enable-activity-weather \
|
||||
--enable-browser-cdda \
|
||||
--enable-browser-dvd \
|
||||
--enable-browser-localfiles \
|
||||
--enable-browser-netstreams \
|
||||
--enable-browser-shoutcast \
|
||||
--enable-browser-upnp \
|
||||
--enable-browser-valhalla \
|
||||
--enable-volume-hal \
|
||||
--disable-volume-mtab \
|
||||
--enable-libcddb \
|
||||
--enable-libcurl \
|
||||
--enable-libexif \
|
||||
--enable-libxml2 \
|
||||
--enable-libxrandr \
|
||||
$GAMES_OPT \
|
||||
$VDR_OPT
|
||||
make
|
11
packages/multimedia/enna/conf.d/enna
Normal file
11
packages/multimedia/enna/conf.d/enna
Normal file
@ -0,0 +1,11 @@
|
||||
################################################################################
|
||||
# enna environment variables.
|
||||
#
|
||||
# This file contains non-OpenELEC evironment variables as well as OpenELEC
|
||||
# evironment variables that are not user defined.
|
||||
################################################################################
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configfile to use
|
||||
#-------------------------------------------------------------------------------
|
||||
ENNA_CONFIG="/usr/etc/enna.cfg"
|
54
packages/multimedia/enna/config/enna.cfg
Normal file
54
packages/multimedia/enna/config/enna.cfg
Normal file
@ -0,0 +1,54 @@
|
||||
[enna]
|
||||
verbosity=none
|
||||
fullscreen=1
|
||||
use_covers=1
|
||||
use_snapshots=1
|
||||
theme=default
|
||||
engine=opengl_x11
|
||||
backend=libplayer
|
||||
log_file=/var/log/enna.log
|
||||
|
||||
music_ext=3gp,aac,ape,apl,flac,m4a,mac,mka,mp2,mp3,mp4,mpc,ogg,ra,wav,wma
|
||||
video_ext=asf,avi,divx,dvr-ms,flv,m1v,m2v,m4p,m4v,mkv,mov,mp4,mp4v,mpe,mpeg,mpg,ogm,qt,rm,rmvb,swf,ts,vdr,vob,vro,wmv,y4m
|
||||
photo_ext=jpg,jpeg,png,gif,tif,tiff,xpm
|
||||
|
||||
[libplayer]
|
||||
type=mplayer
|
||||
#dvd_type=
|
||||
#tv_type=
|
||||
video_out=auto
|
||||
audio_out=auto
|
||||
verbosity=none
|
||||
|
||||
# Metadata module (video)
|
||||
blacklist_keywords=0tv,1080p,2hd,720p,ac3,booya,caph,crimson,ctu,dimension,divx,dot,dsr,dvdrip,dvdscr,e7,etach,fov,fqm,hdq,hdtv,lol,mainevent,notv,pdtv,proper,pushercrew,repack,reseed,screencam,screener,sys,vtv,x264,xor,xvid
|
||||
|
||||
[localfiles]
|
||||
path_music=file:///storage/Musik,Music,icon/favorite
|
||||
path_video=file:///storage/Videos,Movies,icon/favorite
|
||||
path_photo=file:///storage/Bilder,Photos,icon/favorite
|
||||
|
||||
[netstreams]
|
||||
stream_video=http://mafreebox.freebox.fr/freeboxtv/playlist.m3u,FreeboxTV,icon/freeboxtv
|
||||
|
||||
[tv]
|
||||
# Default: 'vdr:/' (autodetect local VDR)
|
||||
# Local VDR: 'vdr://tmp/vdr-xine/stream#demux:mpeg_pes
|
||||
# Remote VDR: 'netvdr://192.168.1.1:18701
|
||||
#vdr_uri=
|
||||
|
||||
[weather]
|
||||
city=Paris
|
||||
lang=en
|
||||
|
||||
[valhalla]
|
||||
path=file:///storage
|
||||
verbosity=info
|
||||
parser_number=2
|
||||
commit_interval=128
|
||||
scan_loop=-1
|
||||
scan_sleep=900
|
||||
scan_priority=19
|
||||
|
||||
[podcast]
|
||||
#stream=stream url
|
6
packages/multimedia/enna/enna-theme/install
Normal file
6
packages/multimedia/enna/enna-theme/install
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/share/enna/theme
|
||||
cp $BUILD/enna-theme-*/default.edj $INSTALL/usr/share/enna/theme
|
1
packages/multimedia/enna/enna-theme/url
Normal file
1
packages/multimedia/enna/enna-theme/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/enna-theme-20091003.tar.bz2
|
49
packages/multimedia/enna/install
Normal file
49
packages/multimedia/enna/install
Normal file
@ -0,0 +1,49 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install gettext
|
||||
$SCRIPTS/install freetype
|
||||
$SCRIPTS/install eina
|
||||
$SCRIPTS/install eet
|
||||
$SCRIPTS/install evas
|
||||
$SCRIPTS/install ecore
|
||||
$SCRIPTS/install embryo
|
||||
$SCRIPTS/install edje
|
||||
$SCRIPTS/install e_dbus
|
||||
$SCRIPTS/install elementary
|
||||
$SCRIPTS/install libxml2
|
||||
$SCRIPTS/install libplayer
|
||||
$SCRIPTS/install libvalhalla
|
||||
$SCRIPTS/install libexif
|
||||
$SCRIPTS/install libXrandr
|
||||
$SCRIPTS/install libcddb
|
||||
$SCRIPTS/install enna-theme
|
||||
$SCRIPTS/install liberation-fonts
|
||||
|
||||
[ "$LIRC" = yes ] && $SCRIPTS/install lirc
|
||||
[ "$GAMES" = yes ] && $SCRIPTS/install efreet
|
||||
[ "$VDR" = yes ] && $SCRIPTS/install libsvdrp
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $BUILD/$1*/src/bin/enna $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/enna/modules
|
||||
cp $PKG_BUILD/src/modules/*/*/.libs/*.so $INSTALL/usr/lib/enna/modules
|
||||
|
||||
for loc in $INCLUDED_LOCALES; do
|
||||
LOCALE=`echo $loc|cut -f1 -d.`
|
||||
[ ! -r $BUILD/$1*/po/$LOCALE.gmo ] && \
|
||||
LOCALE=`echo $loc|cut -f1 -d_`
|
||||
|
||||
if [ -r $BUILD/$1*/po/$LOCALE.gmo ]; then
|
||||
mkdir -p $INSTALL/usr/share/locale/$LOCALE/LC_MESSAGES
|
||||
cp $BUILD/$1*/po/$LOCALE.gmo \
|
||||
$INSTALL/usr/share/locale/$LOCALE/LC_MESSAGES/$1.mo
|
||||
fi
|
||||
done
|
||||
|
||||
mkdir -p $INSTALL/usr/etc
|
||||
cp $PKG_DIR/config/enna.cfg $INSTALL/usr/etc
|
54
packages/multimedia/enna/patches/10_theme.diff
Normal file
54
packages/multimedia/enna/patches/10_theme.diff
Normal file
@ -0,0 +1,54 @@
|
||||
diff -Naur enna-r1629.orig/data/theme/default/icons.edc enna-r1629/data/theme/default/icons.edc
|
||||
--- enna-r1629.orig/data/theme/default/icons.edc 2009-07-03 21:16:00.000000000 +0200
|
||||
+++ enna-r1629/data/theme/default/icons.edc 2009-07-03 21:16:22.000000000 +0200
|
||||
@@ -116,7 +116,7 @@
|
||||
STOCK_ICON("weather_sun_storm.png", "weather/sun_storm");
|
||||
STOCK_ICON("weather_windy.png", "weather/windy");
|
||||
|
||||
-//STOCK_ICON("default_backdrop.png", "backdrop/default");
|
||||
+STOCK_ICON("default_backdrop.png", "backdrop/default");
|
||||
|
||||
STOCK_ICON("rating0.png", "rating/0");
|
||||
STOCK_ICON("rating1.png", "rating/1");
|
||||
diff -Naur enna-r1629.orig/data/theme/default/video.edc enna-r1629/data/theme/default/video.edc
|
||||
--- enna-r1629.orig/data/theme/default/video.edc 2009-07-03 21:16:00.000000000 +0200
|
||||
+++ enna-r1629/data/theme/default/video.edc 2009-07-03 21:16:25.000000000 +0200
|
||||
@@ -114,7 +114,7 @@
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.relative: 0 0;
|
||||
- rel2.relative: 1.0 1.0;
|
||||
+ rel2.relative: 1.0 0.75;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,20 +126,24 @@
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
- color: 0 0 0 0;
|
||||
rel1.relative: 0.0 0.75;
|
||||
rel2.relative: 1.0 1.0;
|
||||
image
|
||||
{
|
||||
- normal: "panel_bottom.png";
|
||||
- border: 0 0 24 0;
|
||||
+ normal: "filebrowser_tile.png";
|
||||
+ border: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "show" 0.0;
|
||||
- inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
- color: 255 255 255 255;
|
||||
+ rel1.relative: 0.0 0.75;
|
||||
+ rel2.relative: 1.0 1.0;
|
||||
+ image
|
||||
+ {
|
||||
+ normal: "filebrowser_tile.png";
|
||||
+ border: 0 0 0 0;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
1
packages/multimedia/enna/patches/README
Normal file
1
packages/multimedia/enna/patches/README
Normal file
@ -0,0 +1 @@
|
||||
The 10_theme.diff patch is meant to be used on host when generating a new enna theme.
|
1
packages/multimedia/enna/url
Normal file
1
packages/multimedia/enna/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/enna-20091003.tar.bz2
|
25
packages/multimedia/enna/xinitrc.d/99_enna
Normal file
25
packages/multimedia/enna/xinitrc.d/99_enna
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
################################################################################
|
||||
# Start Enna Mediacenter program.
|
||||
#
|
||||
# The Enna Mediacenter program (not the window manager) is the application that
|
||||
# runs in the foreground because it is the only application that we can be sure
|
||||
# will be running.
|
||||
################################################################################
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
export ELM_ENGINE=gl
|
||||
|
||||
args="-f -c $ENNA_CONFIG"
|
||||
|
||||
while true; do
|
||||
DISPLAY=:0.0 /usr/bin/enna ${args} > /dev/null 2>&1
|
||||
if [ "$?" = 0 ]; then
|
||||
if [ -x /usr/bin/vdrshutdown ]; then
|
||||
/usr/bin/vdrshutdown
|
||||
killall -q -TERM runvdr
|
||||
fi
|
||||
break
|
||||
fi
|
||||
done
|
2125
projects/enna/linux/linux.i386.conf
Normal file
2125
projects/enna/linux/linux.i386.conf
Normal file
File diff suppressed because it is too large
Load Diff
108
projects/enna/options
Normal file
108
projects/enna/options
Normal file
@ -0,0 +1,108 @@
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREATING0="#######################################################"
|
||||
GREATING1="# Welcome to OpenELEC - the powerfull Mediacenter4you #"
|
||||
GREATING2="# .......... visit http://www.openelec.tv ........... #"
|
||||
GREATING3="#######################################################"
|
||||
GREATING4=""
|
||||
|
||||
# Root password to integrate in the target system
|
||||
ROOT_PASSWORD="openelec"
|
||||
|
||||
# build with static busybox (this makes kernel smaller if
|
||||
# only busybox exists in initramfs) (yes /no )
|
||||
BUSYBOX_STATIC=yes
|
||||
|
||||
# Mediacenter to use (enna / moovida / mythtv / no)
|
||||
MEDIACENTER=enna
|
||||
|
||||
# build with plymouth graphical boot (yes / no)
|
||||
PLYMOUTH=yes
|
||||
|
||||
# build with network support (yes / no)
|
||||
NETWORK=yes
|
||||
|
||||
# Displayserver to use (wayland / xorg-server / no)
|
||||
DISPLAYSERVER=xorg-server
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,radeon,nouveau)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 radeon nouveau"
|
||||
GRAPHIC_DRIVERS="i965"
|
||||
|
||||
# MESA to use (Mesa / Mesa-master)
|
||||
MESA=Mesa-master
|
||||
|
||||
# libdrm to use (libdrm / libdrm-master)
|
||||
LIBDRM=libdrm
|
||||
|
||||
# build with games support (yes / no)
|
||||
GAMES=yes
|
||||
|
||||
# build with emulator support (yes / no)
|
||||
EMULATORS=no
|
||||
|
||||
# Coreboot support (yes / no)
|
||||
COREBOOT=no
|
||||
|
||||
# Strip Programs and libs automatically
|
||||
STRIPPING=no
|
||||
|
||||
# Debug?
|
||||
DEBUG=yes
|
||||
|
||||
#####################################################################
|
||||
## Do not change anything below this line
|
||||
#####################################################################
|
||||
|
||||
# if [ "$PLYMOUTH" = "yes" ]; then
|
||||
# BUSYBOX_STATIC=no
|
||||
# fi
|
||||
|
||||
if [ "$DISPLAYSERVER" = xorg-server ]; then
|
||||
CAIRO=cairo
|
||||
elif [ "$DISPLAYSERVER" = wayland ]; then
|
||||
CAIRO=cairo-drm
|
||||
fi
|
||||
|
||||
if [ "$MEDIACENTER" = mythtv ]; then
|
||||
XINERAMA=yes
|
||||
MESA_GLU=yes
|
||||
fi
|
||||
|
||||
if [ "$MEDIACENTER" = enna ]; then
|
||||
MESA_GLU=yes
|
||||
fi
|
||||
|
||||
get_graphicdrivers() {
|
||||
if [ "$GRAPHIC_DRIVERS" = all ]; then
|
||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeon nouveau"
|
||||
fi
|
||||
|
||||
for drv in $GRAPHIC_DRIVERS; do
|
||||
[ $drv = i915 ] && MESA_DRIVERS="$MESA_DRIVERS,i915"
|
||||
[ $drv = i965 ] && MESA_DRIVERS="$MESA_DRIVERS,i965"
|
||||
[ $drv = r200 ] && MESA_DRIVERS="$MESA_DRIVERS,r200"
|
||||
[ $drv = r300 ] && MESA_DRIVERS="$MESA_DRIVERS,r300"
|
||||
[ $drv = r600 ] && MESA_DRIVERS="$MESA_DRIVERS,r600"
|
||||
[ $drv = radeon ] && MESA_DRIVERS="$MESA_DRIVERS,radeon"
|
||||
|
||||
if [ $drv = i915 -o $drv = i965 ]; then
|
||||
MESA_CONFIG="$MESA_CONFIG --enable-gallium-intel"
|
||||
XORG_DRIVERS="$XORG_DRIVERS intel"
|
||||
DRM_DRIVERS="$DRM_DRIVERS intel"
|
||||
fi
|
||||
|
||||
if [ $drv = r200 -o $drv = r300 -o $drv = r600 -o $drv = radeon ]; then
|
||||
MESA_CONFIG="$MESA_CONFIG --enable-gallium-radeon"
|
||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||
DRM_DRIVERS="$DRM_DRIVERS radeon"
|
||||
fi
|
||||
|
||||
if [ $drv = nouveau ]; then
|
||||
MESA_CONFIG="$MESA_CONFIG --enable-gallium-nouveau"
|
||||
XORG_DRIVERS="$XORG_DRIVERS nouveau"
|
||||
DRM_DRIVERS="$DRM_DRIVERS nouveau"
|
||||
fi
|
||||
|
||||
done
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user