[arch-commits] Commit in oxide/repos (4 files)

2015-12-06 Thread Felix Yan
Date: Sunday, December 6, 2015 @ 22:41:43
  Author: fyan
Revision: 149254

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  oxide/repos/community-staging-i686/
  oxide/repos/community-staging-i686/PKGBUILD
(from rev 149253, oxide/trunk/PKGBUILD)
  oxide/repos/community-staging-x86_64/
  oxide/repos/community-staging-x86_64/PKGBUILD
(from rev 149253, oxide/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   81 
 community-staging-x86_64/PKGBUILD |   81 
 2 files changed, 162 insertions(+)

Copied: oxide/repos/community-staging-i686/PKGBUILD (from rev 149253, 
oxide/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 21:41:43 UTC (rev 149254)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=oxide
+pkgver=1.10.3
+pkgrel=2
+pkgdesc="Web browser engine library for Qt"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/oxide";
+license=('LGPL')
+depends=('qt5-location' 'pango' 'nss' 'alsa-lib' 'libxcursor' 'libxcomposite'
+ 'libxrandr' 'libpulse' 'pciutils' 'libexif' 'bzip2' 'libevent' 'flac'
+ 'speech-dispatcher' 'snappy' 'harfbuzz')
+makedepends=('cmake' 'python2' 'ninja' 'gperf' 'yasm')
+source=("http://archive.ubuntu.com/ubuntu/pool/main/o/oxide-qt/oxide-qt_$pkgver.orig.tar.xz";)
+sha256sums=('43c886c05b932e38d1f7565badef1f843581c52c834ae1ea8bd7783c8a3f9705')
+
+prepare() {
+  mkdir build
+  mkdir python-bin
+  ln -s /usr/bin/python2 python-bin/python
+  export PATH="$PWD/python-bin:$PATH"
+
+  find oxide-qt-$pkgver -name '*.py' -exec sed -i -r 's|/usr/bin/python$|&2|g' 
{} +
+
+  _gyp_args=(
+-Dlinux_link_gsettings=1
+-Dlinux_link_libpci=1
+-Dlinux_link_libspeechd=1
+-Dlinux_link_pulseaudio=1
+-Dlinux_use_bundled_binutils=0
+-Dlinux_use_bundled_gold=0
+-Dlinux_use_gold_flags=0
+-Drelease_extra_cflags=\""$CFLAGS"\"
+-Dlibspeechd_h_prefix=speech-dispatcher/
+-Duse_gnome_keyring=0
+-Duse_system_bzip2=1
+-Duse_system_flac=1
+-Duse_system_ffmpeg=0
+-Duse_system_harfbuzz=1
+-Duse_system_icu=0
+-Duse_system_libevent=1
+-Duse_system_libjpeg=1
+-Duse_system_libpng=1
+-Duse_system_libvpx=0
+-Duse_system_libxml=0
+-Duse_system_snappy=1
+-Duse_system_xdg_utils=1
+-Duse_system_yasm=1
+-Duse_system_zlib=0
+-Dusb_ids_path=/usr/share/hwdata/usb.ids
+-Duse_mojo=0
+-Duse_gconf=0
+-Denable_hangout_services_extension=1
+-Ddisable_fatal_linker_warnings=1
+-Ddisable_glibc=1
+  )
+
+  for _arg in "${_gyp_args[@]}"; do
+echo "list(APPEND OXIDE_GYP_EXTRA_ARGS $_arg)" >> 
oxide-qt-$pkgver/qt/config.cmake
+  done
+}
+
+build() {
+  cd build
+  cmake \
+-DCMAKE_BUILD_TYPE=Release \
+-DENABLE_TESTS=1 \
+-DENABLE_PLUGINS=1 \
+-DENABLE_CHROMEDRIVER=1 \
+-DENABLE_PROPRIETARY_CODECS=1 \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+../oxide-qt-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: oxide/repos/community-staging-x86_64/PKGBUILD (from rev 149253, 
oxide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-06 21:41:43 UTC (rev 149254)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=oxide
+pkgver=1.10.3
+pkgrel=2
+pkgdesc="Web browser engine library for Qt"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/oxide";
+license=('LGPL')
+depends=('qt5-location' 'pango' 'nss' 'alsa-lib' 'libxcursor' 'libxcomposite'
+ 'libxrandr' 'libpulse' 'pciutils' 'libexif' 'bzip2' 'libevent' 'flac'
+ 'speech-dispatcher' 'snappy' 'harfbuzz')
+makedepends=('cmake' 'python2' 'ninja' 'gperf' 'yasm')
+source=("http://archive.ubuntu.com/ubuntu/pool/main/o/oxide-qt/oxide-qt_$pkgver.orig.tar.xz";)
+sha256sums=('43c886c05b932e38d1f7565badef1f843581c52c834ae1ea8bd7783c8a3f9705')
+
+prepare() {
+  mkdir build
+  mkdir python-bin
+  ln -s /usr/bin/python2 python-bin/python
+  export PATH="$PWD/python-bin:$PATH"
+
+  find oxide-qt-$pkgver -name '*.py' -exec sed -i -r 's|/usr/bin/python$|&2|g' 
{} +
+
+  _gyp_args=(
+-Dlinux_link_gsettings=1
+-Dlinux_link_libpci=1
+-Dlinux_link_libspeechd=1
+-Dlinux_link_pulseaudio=1
+-Dlinux_use_bundled_binutils=0
+-Dlinux_use_bundled_gold=0
+-Dlinux_use_gold_flags=0
+-Drelease_extra_cflags=\""$CFLAGS"\"
+-Dlibspeechd_h_prefix=speech-dispatcher/
+-Duse_gnome_keyring=0
+-Duse_system_bzip2=1
+-Duse_system_flac=1
+-Duse_system_ffmpeg=0
+-Duse_system_harfbuzz=1
+-Duse_system_icu=0
+-Duse_system_libevent=1
+-Duse_system_libjpeg=1
+ 

[arch-commits] Commit in oxide/repos (4 files)

2015-10-27 Thread Felix Yan
Date: Tuesday, October 27, 2015 @ 09:51:21
  Author: fyan
Revision: 145078

archrelease: copy trunk to community-i686, community-x86_64

Added:
  oxide/repos/community-i686/
  oxide/repos/community-i686/PKGBUILD
(from rev 145077, oxide/trunk/PKGBUILD)
  oxide/repos/community-x86_64/
  oxide/repos/community-x86_64/PKGBUILD
(from rev 145077, oxide/trunk/PKGBUILD)

---+
 community-i686/PKGBUILD   |   81 
 community-x86_64/PKGBUILD |   81 
 2 files changed, 162 insertions(+)

Copied: oxide/repos/community-i686/PKGBUILD (from rev 145077, 
oxide/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-10-27 08:51:21 UTC (rev 145078)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=oxide
+pkgver=1.10.3
+pkgrel=1
+pkgdesc="Web browser engine library for Qt"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/oxide";
+license=('LGPL')
+depends=('qt5-location' 'pango' 'nss' 'alsa-lib' 'libxcursor' 'libxcomposite'
+ 'libxrandr' 'libpulse' 'pciutils' 'libexif' 'bzip2' 'libevent' 'flac'
+ 'speech-dispatcher' 'snappy' 'harfbuzz')
+makedepends=('cmake' 'python2' 'ninja' 'gperf' 'yasm')
+source=("http://archive.ubuntu.com/ubuntu/pool/main/o/oxide-qt/oxide-qt_$pkgver.orig.tar.xz";)
+sha256sums=('43c886c05b932e38d1f7565badef1f843581c52c834ae1ea8bd7783c8a3f9705')
+
+prepare() {
+  mkdir build
+  mkdir python-bin
+  ln -s /usr/bin/python2 python-bin/python
+  export PATH="$PWD/python-bin:$PATH"
+
+  find oxide-qt-$pkgver -name '*.py' -exec sed -i -r 's|/usr/bin/python$|&2|g' 
{} +
+
+  _gyp_args=(
+-Dlinux_link_gsettings=1
+-Dlinux_link_libpci=1
+-Dlinux_link_libspeechd=1
+-Dlinux_link_pulseaudio=1
+-Dlinux_use_bundled_binutils=0
+-Dlinux_use_bundled_gold=0
+-Dlinux_use_gold_flags=0
+-Drelease_extra_cflags=\""$CFLAGS"\"
+-Dlibspeechd_h_prefix=speech-dispatcher/
+-Duse_gnome_keyring=0
+-Duse_system_bzip2=1
+-Duse_system_flac=1
+-Duse_system_ffmpeg=0
+-Duse_system_harfbuzz=1
+-Duse_system_icu=0
+-Duse_system_libevent=1
+-Duse_system_libjpeg=1
+-Duse_system_libpng=1
+-Duse_system_libvpx=0
+-Duse_system_libxml=0
+-Duse_system_snappy=1
+-Duse_system_xdg_utils=1
+-Duse_system_yasm=1
+-Duse_system_zlib=0
+-Dusb_ids_path=/usr/share/hwdata/usb.ids
+-Duse_mojo=0
+-Duse_gconf=0
+-Denable_hangout_services_extension=1
+-Ddisable_fatal_linker_warnings=1
+-Ddisable_glibc=1
+  )
+
+  for _arg in "${_gyp_args[@]}"; do
+echo "list(APPEND OXIDE_GYP_EXTRA_ARGS $_arg)" >> 
oxide-qt-$pkgver/qt/config.cmake
+  done
+}
+
+build() {
+  cd build
+  cmake \
+-DCMAKE_BUILD_TYPE=Release \
+-DENABLE_TESTS=1 \
+-DENABLE_PLUGINS=1 \
+-DENABLE_CHROMEDRIVER=1 \
+-DENABLE_PROPRIETARY_CODECS=1 \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+../oxide-qt-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: oxide/repos/community-x86_64/PKGBUILD (from rev 145077, 
oxide/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2015-10-27 08:51:21 UTC (rev 145078)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=oxide
+pkgver=1.10.3
+pkgrel=1
+pkgdesc="Web browser engine library for Qt"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/oxide";
+license=('LGPL')
+depends=('qt5-location' 'pango' 'nss' 'alsa-lib' 'libxcursor' 'libxcomposite'
+ 'libxrandr' 'libpulse' 'pciutils' 'libexif' 'bzip2' 'libevent' 'flac'
+ 'speech-dispatcher' 'snappy' 'harfbuzz')
+makedepends=('cmake' 'python2' 'ninja' 'gperf' 'yasm')
+source=("http://archive.ubuntu.com/ubuntu/pool/main/o/oxide-qt/oxide-qt_$pkgver.orig.tar.xz";)
+sha256sums=('43c886c05b932e38d1f7565badef1f843581c52c834ae1ea8bd7783c8a3f9705')
+
+prepare() {
+  mkdir build
+  mkdir python-bin
+  ln -s /usr/bin/python2 python-bin/python
+  export PATH="$PWD/python-bin:$PATH"
+
+  find oxide-qt-$pkgver -name '*.py' -exec sed -i -r 's|/usr/bin/python$|&2|g' 
{} +
+
+  _gyp_args=(
+-Dlinux_link_gsettings=1
+-Dlinux_link_libpci=1
+-Dlinux_link_libspeechd=1
+-Dlinux_link_pulseaudio=1
+-Dlinux_use_bundled_binutils=0
+-Dlinux_use_bundled_gold=0
+-Dlinux_use_gold_flags=0
+-Drelease_extra_cflags=\""$CFLAGS"\"
+-Dlibspeechd_h_prefix=speech-dispatcher/
+-Duse_gnome_keyring=0
+-Duse_system_bzip2=1
+-Duse_system_flac=1
+-Duse_system_ffmpeg=0
+-Duse_system_harfbuzz=1
+-Duse_system_icu=0
+-Duse_system_libevent=1
+-Duse_system_libjpeg=1
+-Duse_system_libpng=1
+-Duse_system_libvpx=0
+-Duse_system_libxml=0
+-Duse_system_snappy