commit
afe0b9dd46
7 changed files with 44 additions and 14 deletions
|
@ -15,3 +15,7 @@ PKG_BUILD_FLAGS="+local-cc"
|
||||||
post_makeinstall_host() {
|
post_makeinstall_host() {
|
||||||
ln -sf make ${TOOLCHAIN}/bin/gmake
|
ln -sf make ${TOOLCHAIN}/bin/gmake
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf ${INSTALL}/usr/share/locale
|
||||||
|
}
|
||||||
|
|
|
@ -38,6 +38,10 @@ cps3.integerscale=0
|
||||||
daphne.integerscale=0
|
daphne.integerscale=0
|
||||||
daphne.ratio=4/3
|
daphne.ratio=4/3
|
||||||
desktop.enabled=0
|
desktop.enabled=0
|
||||||
|
display.brightness=50
|
||||||
|
display.contrast=50
|
||||||
|
display.saturation=50
|
||||||
|
display.hue=50
|
||||||
dreamcast.integerscale=0
|
dreamcast.integerscale=0
|
||||||
dreamcast.ratio=4/3
|
dreamcast.ratio=4/3
|
||||||
easyrpg.integerscale=0
|
easyrpg.integerscale=0
|
||||||
|
|
|
@ -84,11 +84,27 @@ echo "Update rsync configuration files..." >>${LOG}
|
||||||
rsync --ignore-existing /usr/config/rsync-rules.conf /storage/.config/
|
rsync --ignore-existing /usr/config/rsync-rules.conf /storage/.config/
|
||||||
rsync --ignore-existing /usr/config/rsync.conf /storage/.config/
|
rsync --ignore-existing /usr/config/rsync.conf /storage/.config/
|
||||||
|
|
||||||
|
### Sync locale data
|
||||||
|
rsync -a --delete /usr/config/locale/* /storage/.config/locale/ >>/var/log/configure.log 2>&1
|
||||||
|
rm -rf /storage/.config/emulationstation/locale >>/var/log/configure.log 2>&1 ||:
|
||||||
|
ln -sf /usr/share/locale /storage/.config/emulationstation/locale >>/var/log/configure.log 2>&1 ||:
|
||||||
|
|
||||||
### Add items below this line that are safe to remove after a period of time.
|
### Add items below this line that are safe to remove after a period of time.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
### Fix docker storage path (dev build issue only)
|
||||||
if [ -e "/usr/bin/docker" ] && \
|
if [ -e "/usr/bin/docker" ] && \
|
||||||
[ ! -d "/storage/.config/docker" ]
|
[ ! -d "/storage/.config/docker" ]
|
||||||
then
|
then
|
||||||
cp -rf /usr/config/docker /storage/.config
|
cp -rf /usr/config/docker /storage/.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### Ensure panel properties exist.
|
||||||
|
for DPROP in brightness contrast saturation hue
|
||||||
|
do
|
||||||
|
DBRI=$(get_setting display.${DPROP})
|
||||||
|
if [ -z "${DBRI}" ]
|
||||||
|
then
|
||||||
|
set_setting display.${DPROP} 50
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
0
packages/jelos/sources/scripts/chksysconfig
Normal file → Executable file
0
packages/jelos/sources/scripts/chksysconfig
Normal file → Executable file
|
@ -83,9 +83,14 @@ then
|
||||||
ldconfig -X >>/var/log/configure.log 2>&1
|
ldconfig -X >>/var/log/configure.log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "/storage/.config/emulationstation/locale" ] && \
|
if [ ! -d "/storage/.config/locale" ]
|
||||||
[ -e "/usr/bin/emulationstation" ]
|
|
||||||
then
|
then
|
||||||
tocon "Initializing language support..."
|
tocon "Initializing language support..."
|
||||||
rsync -a --delete /usr/config/locale/ /storage/.config/emulationstation/locale/ >>/var/log/configure.log 2>&1
|
rsync -a --delete /usr/config/locale/* /storage/.config/locale/ >>/var/log/configure.log 2>&1
|
||||||
|
if [ ! -L "/storage/.config/emulationstation/locale" ]
|
||||||
|
[ -e "/usr/bin/emulationstation" ]
|
||||||
|
then
|
||||||
|
rm -rf /storage/.config/emulationstation/locale >>/var/log/configure.log 2>&1 ||:
|
||||||
|
ln -sf /usr/share/locale /storage/.config/emulationstation/locale
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -87,9 +87,6 @@ makeinstall_target() {
|
||||||
mkdir -p ${INSTALL}/usr/config/locale
|
mkdir -p ${INSTALL}/usr/config/locale
|
||||||
cp -rf ${PKG_BUILD}/locale/lang/* ${INSTALL}/usr/config/locale/
|
cp -rf ${PKG_BUILD}/locale/lang/* ${INSTALL}/usr/config/locale/
|
||||||
|
|
||||||
mkdir -p ${INSTALL}/usr/lib
|
|
||||||
ln -sf /storage/.config/emulationstation/locale ${INSTALL}/usr/lib/locale
|
|
||||||
|
|
||||||
mkdir -p ${INSTALL}/usr/config/emulationstation/resources
|
mkdir -p ${INSTALL}/usr/config/emulationstation/resources
|
||||||
cp -rf ${PKG_BUILD}/resources/* ${INSTALL}/usr/config/emulationstation/resources/
|
cp -rf ${PKG_BUILD}/resources/* ${INSTALL}/usr/config/emulationstation/resources/
|
||||||
rm -rf ${INSTALL}/usr/config/emulationstation/resources/logo.png
|
rm -rf ${INSTALL}/usr/config/emulationstation/resources/logo.png
|
||||||
|
@ -115,14 +112,16 @@ makeinstall_target() {
|
||||||
cp -rf ${PKG_DIR}/config/common/*.cfg ${INSTALL}/usr/config/emulationstation
|
cp -rf ${PKG_DIR}/config/common/*.cfg ${INSTALL}/usr/config/emulationstation
|
||||||
|
|
||||||
if [ -d "${PKG_DIR}/config/device/${DEVICE}" ]; then
|
if [ -d "${PKG_DIR}/config/device/${DEVICE}" ]; then
|
||||||
cp -rf ${PKG_DIR}/config/device/${DEVICE}/*.cfg ${INSTALL}/usr/config/emulationstation
|
cp -rf ${PKG_DIR}/config/device/${DEVICE}/*.cfg ${INSTALL}/usr/config/emulationstation
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ln -sf /storage/.cache/system_timezone ${INSTALL}/etc/timezone
|
ln -sf /storage/.cache/system_timezone ${INSTALL}/etc/timezone
|
||||||
|
|
||||||
}
|
mkdir -p ${INSTALL}/usr/share
|
||||||
|
ln -sf /storage/.config/locale ${INSTALL}/usr/share/locale
|
||||||
|
|
||||||
post_install() {
|
mkdir -p ${INSTALL}/usr/lib
|
||||||
mkdir -p ${INSTALL}/usr/share
|
ln -sf /usr/share/locale ${INSTALL}/usr/lib/locale
|
||||||
ln -sf /storage/.config/emulationstation/locale ${INSTALL}/usr/share/locale
|
|
||||||
|
ln -sf /usr/share/locale ${INSTALL}/usr/config/emulationstation/locale
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,9 +37,9 @@ PKG_DEBUG="debug"
|
||||||
|
|
||||||
if [ "${BASE_ONLY}" = "true" ]
|
if [ "${BASE_ONLY}" = "true" ]
|
||||||
then
|
then
|
||||||
EMULATION_DEVICE=false
|
EMULATION_DEVICE=no
|
||||||
ENABLE_32BIT=false
|
ENABLE_32BIT=no
|
||||||
PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} ${PKG_FONTS} ${PKG_DEBUG}"
|
PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} ${PKG_FONTS}"
|
||||||
else
|
else
|
||||||
PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} ${PKG_FONTS} ${PKG_SOUND} ${PKG_BLUETOOTH} ${PKG_SYNC} ${PKG_GRAPHICS} ${PKG_UI} ${PKG_UI_TOOLS} ${PKG_MULTIMEDIA} misc-packages"
|
PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} ${PKG_FONTS} ${PKG_SOUND} ${PKG_BLUETOOTH} ${PKG_SYNC} ${PKG_GRAPHICS} ${PKG_UI} ${PKG_UI_TOOLS} ${PKG_MULTIMEDIA} misc-packages"
|
||||||
|
|
||||||
|
@ -58,6 +58,8 @@ fi
|
||||||
# Add support for containers
|
# Add support for containers
|
||||||
[ "${CONTAINER_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} docker"
|
[ "${CONTAINER_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} docker"
|
||||||
|
|
||||||
|
[ "${DEBUG_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" ${PKG_DEBUG}"
|
||||||
|
|
||||||
# 32Bit package support
|
# 32Bit package support
|
||||||
[ "${ENABLE_32BIT}" == true ] && PKG_DEPENDS_TARGET+=" lib32"
|
[ "${ENABLE_32BIT}" == true ] && PKG_DEPENDS_TARGET+=" lib32"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue