Changeset 45000 for ipk


Ignore:
Timestamp:
Dec 13, 2020, 8:52:56 PM (5 years ago)
Author:
obi
Message:

tpk enable hbbtv and fix netsurf

Location:
ipk/source.sh4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/browser_netsurf/CONTROL/postinst

    r43292 r45000  
    44        opkg update
    55        opkg install titan-plugin-browser --dest $1
     6        opkg install titan-netsurf
    67fi
    78
  • ipk/source.sh4/browser_netsurf/CONTROL/postrm

    r43292 r45000  
    33if [ -e /etc/.oebuild ];then
    44        opkg remove titan-plugin-browser --dest $1
     5        opkg remove titan-netsurf
    56fi
    67
  • ipk/source.sh4/playersnp_hbbtv/CONTROL/postinst

    r24607 r45000  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
     2if [ -e /etc/.oebuild ];then
     3        opkg update
     4#       opkg install titan-plugin-hbbtv --dest $1
     5        opkg install webkit-hbbtv-plugin
     6else
     7        INSTDIR="$1"
     8        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
    49
    5 sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"
     10        sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"
    611
    7 rm -rf /var/usr/lib/gstreamer-0.10
    8 ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib
     12        rm -rf /var/usr/lib/gstreamer-0.10
     13        ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib
    914
    10 #model=`cat /etc/model`
     15        #model=`cat /etc/model`
    1116
    12 #if [ "$model" = "ufs910" ];then
    13 #       if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
    14 #               echo "umount /tmp (60mb)"
    15 #               umount /tmp
    16 #               rm -f /tmp/.tmp60mb
    17 #       fi
    18 #fi
     17        #if [ "$model" = "ufs910" ];then
     18        #       if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
     19        #               echo "umount /tmp (60mb)"
     20        #               umount /tmp
     21        #               rm -f /tmp/.tmp60mb
     22        #       fi
     23        #fi
     24fi
    1925
    2026exit 0
  • ipk/source.sh4/playersnp_hbbtv/CONTROL/postrm

    r24155 r45000  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
     2if [ -e /etc/.oebuild ];then
     3#       opkg remove titan-plugin-hbbtv --dest $1
     4        opkg remove webkit-hbbtv-plugin
     5else
     6        INSTDIR="$1"
     7        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
    48
    5 rm -rf "$PLUGINDIR" >/dev/null 2>&1
    6 rm -rf /var/usr/lib/gstreamer-0.10
     9        rm -rf "$PLUGINDIR" >/dev/null 2>&1
     10        rm -rf /var/usr/lib/gstreamer-0.10
     11fi
    712
    813exit 0
Note: See TracChangeset for help on using the changeset viewer.