summaryrefslogtreecommitdiffstats
path: root/abs/extra/community
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/community')
-rw-r--r--abs/extra/community/chromium/PKGBUILD111
-rw-r--r--abs/extra/community/chromium/chromium.desktop113
-rw-r--r--abs/extra/community/chromium/chromium.install11
-rwxr-xr-xabs/extra/community/chromium/chromium.sh4
-rw-r--r--abs/extra/community/flashplugin-prerelease/PKGBUILD28
-rw-r--r--abs/extra/community/flashplugin/PKGBUILD35
-rw-r--r--abs/extra/community/flashplugin/__changelog2
-rw-r--r--abs/extra/community/flashplugin/flashplugin.install13
-rw-r--r--abs/extra/community/flashplugin/mms.cfg2
9 files changed, 278 insertions, 41 deletions
diff --git a/abs/extra/community/chromium/PKGBUILD b/abs/extra/community/chromium/PKGBUILD
new file mode 100644
index 0000000..f844692
--- /dev/null
+++ b/abs/extra/community/chromium/PKGBUILD
@@ -0,0 +1,111 @@
+# $Id: PKGBUILD 109507 2011-02-10 15:37:06Z ibiru $
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=chromium
+pkgver=9.0.597.94
+pkgrel=1
+pkgdesc='The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser.'
+arch=('i686' 'x86_64')
+url='http://www.chromium.org/'
+license=('BSD')
+depends=('nss' 'gconf' 'alsa-lib' 'xdg-utils' 'hicolor-icon-theme' 'bzip2' 'libevent' 'libxss' 'libxtst' 'ttf-dejavu')
+makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring' 'libcups')
+provides=('chromium-browser')
+conflicts=('chromium-browser')
+install=chromium.install
+source=("http://build.chromium.org/buildbot/official/chromium-${pkgver}.tar.bz2"
+ 'chromium.desktop' 'chromium.sh')
+md5sums=('41386b3df743575f2325c4c64d6d7bc7'
+ 'c5e849fcb1101149977355c99d8ff78f'
+ '096a46ef386817988250d2d7bddd1b34')
+
+build() {
+ cd ${srcdir}/chromium-${pkgver}
+
+### Configure
+
+ echo 'Use python2 instead of python...'
+ find . -type f -exec \
+ sed -E 's#(/usr/bin/python)$#\12#g;s#(/usr/bin/python2)\.4$#\1#g' -i {} \;
+ # There are still a lot of relative calls which need a workaround
+ mkdir ${srcdir}/python2-path
+ ln -s /usr/bin/python2 ${srcdir}/python2-path/python
+ export PATH="${srcdir}/python2-path/:${PATH}"
+
+ # we need to disable system_ssl until "next protocol negotiation" support
+ # is available in our nss package
+ # see https://bugzilla.mozilla.org/show_bug.cgi?id=547312
+
+ build/gyp_chromium -f make build/all.gyp --depth=. \
+ -Dgcc_version=45 \
+ -Dno_strict_aliasing=1 \
+ -Dwerror= \
+ -Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
+ -Dlinux_strip_binary=1 \
+ -Drelease_extra_cflags="${CFLAGS}" \
+ -Dffmpeg_branding=Chrome \
+ -Dproprietary_codecs=1 \
+ -Duse_system_libjpeg=1 \
+ -Duse_system_libxslt=0 \
+ -Duse_system_libxml=0 \
+ -Duse_system_bzip2=1 \
+ -Duse_system_zlib=1 \
+ -Duse_system_libpng=1 \
+ -Duse_system_ffmpeg=0 \
+ -Duse_system_yasm=1 \
+ -Duse_system_libevent=1 \
+ -Duse_system_ssl=0 \
+ $([ "${CARCH}" == 'i686' ] && echo '-Ddisable_sse2=1')
+
+### Build
+
+ make chrome chrome_sandbox BUILDTYPE=Release
+}
+
+package() {
+ cd ${srcdir}/chromium-${pkgver}
+
+ install -m 0755 -D out/Release/chrome ${pkgdir}/usr/lib/chromium/chromium
+
+ install -m 4555 -o root -g root -D out/Release/chrome_sandbox \
+ ${pkgdir}/usr/lib/chromium/chromium-sandbox
+
+ install -m 0644 -D out/Release/chrome.pak \
+ ${pkgdir}/usr/lib/chromium/chrome.pak
+
+ install -m 0644 -D out/Release/resources.pak \
+ ${pkgdir}/usr/lib/chromium/resources.pak
+
+ install -m 0755 -D out/Release/libffmpegsumo.so \
+ ${pkgdir}/usr/lib/chromium/libffmpegsumo.so
+
+# these links are only needed when building with system ffmpeg
+# ln -s /usr/lib/libavcodec.so.52 ${pkgdir}/usr/lib/chromium/
+# ln -s /usr/lib/libavformat.so.52 ${pkgdir}/usr/lib/chromium/
+# ln -s /usr/lib/libavutil.so.50 ${pkgdir}/usr/lib/chromium/
+
+ cp -a out/Release/locales out/Release/resources \
+ ${pkgdir}/usr/lib/chromium/
+
+ find ${pkgdir}/usr/lib/chromium/ -name '*.d' -type f -delete
+
+ install -m 0644 -D out/Release/chrome.1 \
+ ${pkgdir}/usr/share/man/man1/chromium.1
+
+ install -m 0644 -D ${srcdir}/chromium.desktop \
+ ${pkgdir}/usr/share/applications/chromium.desktop
+
+ for size in 16 22 24 32 48 64 128 256; do
+ install -m 0644 -D \
+ chrome/app/theme/chromium/product_logo_${size}.png \
+ ${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png
+ done
+
+ install -m 0755 -D ${srcdir}/chromium.sh ${pkgdir}/usr/bin/chromium
+
+ install -m 0644 -D LICENSE ${pkgdir}/usr/share/licenses/chromium/LICENSE
+}
+
+# vim:set sw=2 sts=2 et:
diff --git a/abs/extra/community/chromium/chromium.desktop b/abs/extra/community/chromium/chromium.desktop
new file mode 100644
index 0000000..4bb6981
--- /dev/null
+++ b/abs/extra/community/chromium/chromium.desktop
@@ -0,0 +1,113 @@
+[Desktop Entry]
+Version=1.0
+Name=Chromium
+# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
+# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
+GenericName=Web Browser
+GenericName[ar]=متصفح الشبكة
+GenericName[bg]=Уеб браузър
+GenericName[ca]=Navegador web
+GenericName[cs]=WWW prohlížeč
+GenericName[da]=Browser
+GenericName[de]=Web-Browser
+GenericName[el]=Περιηγητής ιστού
+GenericName[en_GB]=Web Browser
+GenericName[es]=Navegador web
+GenericName[et]=Veebibrauser
+GenericName[fi]=WWW-selain
+GenericName[fr]=Navigateur Web
+GenericName[gu]=વેબ બ્રાઉઝર
+GenericName[he]=דפדפן אינטרנט
+GenericName[hi]=वेब ब्राउज़र
+GenericName[hu]=Webböngésző
+GenericName[it]=Browser Web
+GenericName[ja]=ウェブブラウザ
+GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
+GenericName[ko]=웹 브라우저
+GenericName[lt]=Žiniatinklio naršyklė
+GenericName[lv]=Tīmekļa pārlūks
+GenericName[ml]=വെബ് ബ്രൌസര്‍
+GenericName[mr]=वेब ब्राऊजर
+GenericName[nb]=Nettleser
+GenericName[nl]=Webbrowser
+GenericName[pl]=Przeglądarka WWW
+GenericName[pt]=Navegador Web
+GenericName[pt_BR]=Navegador da Internet
+GenericName[ro]=Navigator de Internet
+GenericName[ru]=Веб-браузер
+GenericName[sl]=Spletni brskalnik
+GenericName[sv]=Webbläsare
+GenericName[ta]=இணைய உலாவி
+GenericName[th]=เว็บเบราว์เซอร์
+GenericName[tr]=Web Tarayıcı
+GenericName[uk]=Навігатор Тенет
+GenericName[zh_CN]=网页浏览器
+GenericName[zh_HK]=網頁瀏覽器
+GenericName[zh_TW]=網頁瀏覽器
+# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
+GenericName[bn]=ওয়েব ব্রাউজার
+GenericName[fil]=Web Browser
+GenericName[hr]=Web preglednik
+GenericName[id]=Browser Web
+GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
+GenericName[sk]=WWW prehliadač
+GenericName[sr]=Интернет прегледник
+GenericName[te]=మహాతల అన్వేషి
+GenericName[vi]=Bộ duyệt Web
+# Gnome and KDE 3 uses Comment.
+Comment=Access the Internet
+Comment[ar]=الدخول إلى الإنترنت
+Comment[bg]=Достъп до интернет
+Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
+Comment[ca]=Accedeix a Internet
+Comment[cs]=Přístup k internetu
+Comment[da]=Få adgang til internettet
+Comment[de]=Internetzugriff
+Comment[el]=Πρόσβαση στο Διαδίκτυο
+Comment[en_GB]=Access the Internet
+Comment[es]=Accede a Internet.
+Comment[et]=Pääs Internetti
+Comment[fi]=Käytä internetiä
+Comment[fil]=I-access ang Internet
+Comment[fr]=Accéder à Internet
+Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
+Comment[he]=גישה אל האינטרנט
+Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
+Comment[hr]=Pristup Internetu
+Comment[hu]=Internetelérés
+Comment[id]=Akses Internet
+Comment[it]=Accesso a Internet
+Comment[ja]=インターネットにアクセス
+Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
+Comment[ko]=인터넷 연결
+Comment[lt]=Interneto prieiga
+Comment[lv]=Piekļūt internetam
+Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
+Comment[mr]=इंटरनेटमध्ये प्रवेश करा
+Comment[nb]=Gå til Internett
+Comment[nl]=Verbinding maken met internet
+Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
+Comment[pl]=Skorzystaj z internetu
+Comment[pt]=Aceder à Internet
+Comment[pt_BR]=Acessar a internet
+Comment[ro]=Accesaţi Internetul
+Comment[ru]=Доступ в Интернет
+Comment[sk]=Prístup do siete Internet
+Comment[sl]=Dostop do interneta
+Comment[sr]=Приступите Интернету
+Comment[sv]=Gå ut på Internet
+Comment[ta]=இணையத்தை அணுகுதல்
+Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
+Comment[th]=เข้าถึงอินเทอร์เน็ต
+Comment[tr]=İnternet'e erişin
+Comment[uk]=Доступ до Інтернету
+Comment[vi]=Truy cập Internet
+Comment[zh_CN]=访问互联网
+Comment[zh_HK]=連線到網際網路
+Comment[zh_TW]=連線到網際網路
+Exec=chromium %U
+Terminal=false
+Icon=chromium
+Type=Application
+Categories=GTK;Network;WebBrowser;
+MimeType=text/html;text/xml;application/xhtml_xml;
diff --git a/abs/extra/community/chromium/chromium.install b/abs/extra/community/chromium/chromium.install
new file mode 100644
index 0000000..e70c054
--- /dev/null
+++ b/abs/extra/community/chromium/chromium.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/abs/extra/community/chromium/chromium.sh b/abs/extra/community/chromium/chromium.sh
new file mode 100755
index 0000000..e1c3388
--- /dev/null
+++ b/abs/extra/community/chromium/chromium.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export CHROME_WRAPPER=/usr/lib/chromium/chromium
+export CHROME_DESKTOP=chromium.desktop
+exec /usr/lib/chromium/chromium "$@"
diff --git a/abs/extra/community/flashplugin-prerelease/PKGBUILD b/abs/extra/community/flashplugin-prerelease/PKGBUILD
deleted file mode 100644
index d6eca0b..0000000
--- a/abs/extra/community/flashplugin-prerelease/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Contributor : Anish Bhatt <anish[removethis][at]gatech[dot]edu>
-
-pkgname=flashplugin-prerelease
-_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
-pkgver=10.1.51.66
-pkgrel=1
-source=('http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_p2_linux_121709.tar.gz'
- "http://www.adobe.com/products/eulas/pdfs/${_licensefile}")
-md5sums=('4f56f8235cb72a59d04d64ca4bd442b3'
- '1636037610ee2aa35c5fb736a697b7e0')
-
-pkgdesc='Adobe Flash Player Prerelease'
-url='http://labs.adobe.com/technologies/flashplayer10/'
-arch=('i686')
-depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
-conflicts=('flashplugin')
-provides=('flashplayer')
-license=('custom')
-
-build() {
- install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
- if [ "${CARCH}" = 'i686' ]; then
- install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
- fi
- install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
- install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
-}
-
diff --git a/abs/extra/community/flashplugin/PKGBUILD b/abs/extra/community/flashplugin/PKGBUILD
index 7d7e65f..e14790f 100644
--- a/abs/extra/community/flashplugin/PKGBUILD
+++ b/abs/extra/community/flashplugin/PKGBUILD
@@ -1,27 +1,36 @@
-# $Id: PKGBUILD 60911 2009-12-09 11:51:09Z andrea $
+# $Id$
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=flashplugin
_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
-pkgver=10.1.53.64
-pkgrel=1
+pkgver=10.2.152.27
+_pkgver64=10.0.45.2
+pkgrel=4
pkgdesc='Adobe Flash Player'
url='http://get.adobe.com/flashplayer'
-arch=('i686' 'x86_64')
+arch=('i686') # 'x86_64')
depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
+optdepends=('libvdpau: GPU acceleration on Nvidia card')
replaces=('flashplugin-beta')
provides=('flashplayer')
license=('custom')
+options=(!strip)
+install=flashplugin.install
+backup=(etc/adobe/mms.cfg)
source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz'
- "http://www.adobe.com/products/eulas/pdfs/${_licensefile}")
-[ "${CARCH}" = "x86_64" ] && source[0]="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${pkgver}.linux-${CARCH}.so.tar.gz"
-[ "${CARCH}" = "x86_64" ] && md5sums[0]='8b427c2991c0447af56a951c653ee383'
+ "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
+ mms.cfg)
+#[ "${CARCH}" = "x86_64" ] && source[0]="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${_pkgver64}.linux-${CARCH}.so.tar.gz"
+#[ "${CARCH}" = "x86_64" ] && md5sums[0]='4a4561e456612a6751653b58342d53df'
build() {
- install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
- install -m755 ${srcdir}/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
- install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
- install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf || return 1
+ install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/
+ install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/
+ install -d -m755 ${pkgdir}/etc/adobe
+ install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/
+ install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf
+ install -m644 ${srcdir}/mms.cfg ${pkgdir}/etc/adobe/mms.cfg
}
-md5sums=('e4cb4d26124605a54c3d498cc440368f'
- '1636037610ee2aa35c5fb736a697b7e0')
+md5sums=('afab0b40b0ae11445e2e90a4a9224a8a'
+ '1636037610ee2aa35c5fb736a697b7e0'
+ 'f34aae6279b40e0bd2abfb0d9963d7b8')
diff --git a/abs/extra/community/flashplugin/__changelog b/abs/extra/community/flashplugin/__changelog
new file mode 100644
index 0000000..514d92d
--- /dev/null
+++ b/abs/extra/community/flashplugin/__changelog
@@ -0,0 +1,2 @@
+2/18/11 - chw - Correct path for libflashplugin.so (didn't have install_flash_player_10_linx dir).
+
diff --git a/abs/extra/community/flashplugin/flashplugin.install b/abs/extra/community/flashplugin/flashplugin.install
new file mode 100644
index 0000000..0cc1e2f
--- /dev/null
+++ b/abs/extra/community/flashplugin/flashplugin.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo " >> "
+ echo " >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,"
+ echo " >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg."
+ echo " >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version."
+ echo " >> "
+}
+
+post_upgrade() {
+ if [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
+ post_install $1
+ fi
+}
diff --git a/abs/extra/community/flashplugin/mms.cfg b/abs/extra/community/flashplugin/mms.cfg
new file mode 100644
index 0000000..716525d
--- /dev/null
+++ b/abs/extra/community/flashplugin/mms.cfg
@@ -0,0 +1,2 @@
+#Hardware video decoding
+#EnableLinuxHWVideoDecode=1