Changeset 45000


Ignore:
Timestamp:
12/13/20 20:52:56 (19 months ago)
Author:
obi
Message:

tpk enable hbbtv and fix netsurf

Location:
ipk
Files:
12 edited

Legend:

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

    r44187 r45000  
    44        opkg update
    55        opkg install titan-plugin-browser --dest $1
    6         opkg install titannit-netsurf
     6        opkg install titan-netsurf
    77fi
    88
  • ipk/source.arm/browser_netsurf/CONTROL/postrm

    r44187 r45000  
    33if [ -e /etc/.oebuild ];then
    44        opkg remove titan-plugin-browser --dest $1
    5         opkg remove titannit-netsurf
     5        opkg remove titan-netsurf
    66fi
    77
  • ipk/source.arm/playersnp_hbbtv/CONTROL/postinst

    r39499 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.arm/playersnp_hbbtv/CONTROL/postrm

    r39499 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
  • ipk/source.mipsel/browser_netsurf/CONTROL/postinst

    r44187 r45000  
    44        opkg update
    55        opkg install titan-plugin-browser --dest $1
    6         opkg install titannit-netsurf
     6        opkg install titan-netsurf
    77fi
    88
  • ipk/source.mipsel/browser_netsurf/CONTROL/postrm

    r44187 r45000  
    33if [ -e /etc/.oebuild ];then
    44        opkg remove titan-plugin-browser --dest $1
    5         opkg remove titannit-netsurf
     5        opkg remove titan-netsurf
    66fi
    77
  • ipk/source.mipsel/playersnp_hbbtv/CONTROL/postinst

    r24607 r45000  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
    42
    5 sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"
     3if [ -e /etc/.oebuild ];then
     4        opkg update
     5#       opkg install titan-plugin-hbbtv --dest $1
     6        opkg install webkit-hbbtv-plugin
     7else
     8        INSTDIR="$1"
     9        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
    610
    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
     11        sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"
    912
    10 #model=`cat /etc/model`
     13        rm -rf /var/usr/lib/gstreamer-0.10
     14        ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib
    1115
    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
     16        #model=`cat /etc/model`
     17
     18        #if [ "$model" = "ufs910" ];then
     19        #       if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
     20        #               echo "umount /tmp (60mb)"
     21        #               umount /tmp
     22        #               rm -f /tmp/.tmp60mb
     23        #       fi
     24        #fi
     25fi
    1926
    2027exit 0
  • ipk/source.mipsel/playersnp_hbbtv/CONTROL/postrm

    r24155 r45000  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
    42
    5 rm -rf "$PLUGINDIR" >/dev/null 2>&1
    6 rm -rf /var/usr/lib/gstreamer-0.10
     3if [ -e /etc/.oebuild ];then
     4#       opkg remove titan-plugin-hbbtv --dest $1
     5        opkg remove webkit-hbbtv-plugin
     6else
     7        INSTDIR="$1"
     8        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
     9
     10        rm -rf "$PLUGINDIR" >/dev/null 2>&1
     11        rm -rf /var/usr/lib/gstreamer-0.10
     12fi
    713
    814exit 0
  • 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.