Magellan Linux

Diff of /smage/trunk/extras/flashplayer/flashplayer-26.0.0.151-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 11066 by niro, Mon Sep 4 08:46:36 2017 UTC revision 11067 by niro, Mon Sep 4 09:27:56 2017 UTC
# Line 14  DEPEND=">= x11-libs/gtk2+-2.24 Line 14  DEPEND=">= x11-libs/gtk2+-2.24
14   >= dev-libs/nss-3.13   >= dev-libs/nss-3.13
15   >= x11-themes/hicolor-icon-theme-0.12"   >= x11-themes/hicolor-icon-theme-0.12"
16    
17  SRCFILE_x86="install_flash_player_${PVER%%.*}_linux.i386.tar.gz"  SRCFILE_PPAPI_x86="flash_player_ppapi_linux.i386.tar.gz"
18  SRCFILE_x86_64="install_flash_player_${PVER%%.*}_linux.x86_64.tar.gz"  SRCFILE_PPAPI_x86_64="flash_player_ppapi_linux.x86_64.tar.gz"
19    
20  SRCFILE="$(marchsrcfile)"  SRCFILE_NPAPI_x86="flash_player_npapi_linux.i386.tar.gz"
21  SRCDIR="${BUILDDIR}/install_flash_player_${PVER%%.*}_linux"  SRCFILE_NPAPI_x86_64="flash_player_npapi_linux.x86_64.tar.gz"
22    
23    SRCFILE_PPAPI="$(marchsrcfile SRCFILE_PPAPI)"
24    SRCDIR_PPAPI="${BUILDDIR}/flash_player_ppapi_${PVER%%.*}_linux"
25    
26    SRCFILE_NPAPI="$(marchsrcfile SRCFILE_NPAPI)"
27    SRCDIR_NPAPI="${BUILDDIR}/flash_player_npapi_${PVER%%.*}_linux"
28    
29  LICENSE_PVER="20110809_1357"  LICENSE_PVER="20110809_1357"
30  LICENSE_SRCFILE="PlatformClients_PC_WWEULA_MULTI_${LICENSE_PVER}.pdf"  LICENSE_SRCFILE="PlatformClients_PC_WWEULA_MULTI_${LICENSE_PVER}.pdf"
# Line 27  sminclude mtools gnome2 Line 33  sminclude mtools gnome2
33    
34  # see: http://www.adobe.com/products/flashplayer/distribution3.html  # see: http://www.adobe.com/products/flashplayer/distribution3.html
35  SRC_URI=(  SRC_URI=(
36   "http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_x86} ${PVER}"   "http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_PPAPI_x86} ${PVER}"
37   "http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_x86_64} ${PVER}"   "http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_PPAPI_x86_64} ${PVER}"
38     "http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_NPAPI_x86} ${PVER}"
39     "http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_NPAPI_x86_64} ${PVER}"
40   "http://www.adobe.com/products/eulas/pdfs/${LICENSE_SRCFILE} ${PVER}"   "http://www.adobe.com/products/eulas/pdfs/${LICENSE_SRCFILE} ${PVER}"
41   "mirror://${PNAME}/${SRCFILE_x86} ${PVER}"   "mirror://${PNAME}/${PVER}/${SRCFILE_PPAPI_x86} ${PVER}"
42   "mirror://${PNAME}/${SRCFILE_x86_64} ${PVER}"   "mirror://${PNAME}/${PVER}/${SRCFILE_PPAPI_x86_64} ${PVER}"
43     "mirror://${PNAME}/${PVER}/${SRCFILE_NPAPI_x86} ${PVER}"
44     "mirror://${PNAME}/${PVER}/${SRCFILE_NPAPI_x86_64} ${PVER}"
45   mirror://${PNAME}/mms.cfg   mirror://${PNAME}/mms.cfg
46  )  )
47    
# Line 41  UP2DATE="updatecmd http://get.adobe.com/ Line 51  UP2DATE="updatecmd http://get.adobe.com/
51    
52  src_prepare()  src_prepare()
53  {  {
54   munpack ${PVER}/${SRCFILE} ${SRCDIR} # do not die here, upstream tarballs have trailing garbage   munpack ${PVER}/${SRCFILE_PPAPI} ${SRCDIR_PPAPI} # do not die here, upstream tarballs have trailing garbage
55     munpack ${PVER}/${SRCFILE_NPAPI} ${SRCDIR_NPAPI} # do not die here, upstream tarballs have trailing garbage
56  }  }
57    
58  # override gnome sminc  # override gnome sminc
# Line 49  src_compile() { true ; } Line 60  src_compile() { true ; }
60    
61  src_install()  src_install()
62  {  {
63   cd ${SRCDIR}   # install npapi
64     cd ${SRCDIR_NPAPI}
65    
66   minstalldir /opt/netscape/plugins || die   minstalldir /opt/netscape/plugins || die
67   minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die   minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die
# Line 73  src_install() Line 85  src_install()
85   # create config   # create config
86   minstalldir /etc/adobe || die   minstalldir /etc/adobe || die
87   minstallfile -s mms.cfg /etc/adobe || die   minstallfile -s mms.cfg /etc/adobe || die
88    
89     # install ppapi
90     cd ${SRCDIR_PPAPI}
91     minstallexec libpepflashplayer.so /usr/$(mlibdir)/chromium/PepperFlash || die
92     minstallfile manifest.json /usr/$(mlibdir)/chromium/PepperFlash || die
93  }  }
94    
95  postinstall()  postinstall()

Legend:
Removed from v.11066  
changed lines
  Added in v.11067