[arch-commits] Commit in libva-intel-driver/trunk (2 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sat Jan 4 08:07:54 UTC 2014


    Date: Saturday, January 4, 2014 @ 09:07:54
  Author: bpiotrowski
Revision: 203090

upgpkg: libva-intel-driver 1.2.2-2

- apply patch fixing colors when VA-API is used (FS#38240)

Added:
  libva-intel-driver/trunk/Adjust_the_default_value_for_contrast_saturation.patch
Modified:
  libva-intel-driver/trunk/PKGBUILD

--------------------------------------------------------+
 Adjust_the_default_value_for_contrast_saturation.patch |   27 +++++++++++++++
 PKGBUILD                                               |   20 +++++++----
 2 files changed, 40 insertions(+), 7 deletions(-)

Added: Adjust_the_default_value_for_contrast_saturation.patch
===================================================================
--- Adjust_the_default_value_for_contrast_saturation.patch	                        (rev 0)
+++ Adjust_the_default_value_for_contrast_saturation.patch	2014-01-04 08:07:54 UTC (rev 203090)
@@ -0,0 +1,27 @@
+From 54cb60f3d973ce6a908ea57f5aa7481803fe653a Mon Sep 17 00:00:00 2001
+From: Xiang, Haihao <haihao.xiang at intel.com>
+Date: Mon, 30 Dec 2013 05:15:40 +0000
+Subject: Render: Adjust the default value for contrast/saturation
+
+Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73016
+Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
+Tested-by: Mark Lee <mark at markelee.com>
+---
+diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h
+index ccf9a59..773c8ca 100644
+--- a/src/i965_drv_video.h
++++ b/src/i965_drv_video.h
+@@ -60,9 +60,9 @@
+ #define I965_SURFACE_FLAG_BOTTOME_FIELD_FIRST   0x00000002
+ 
+ #define DEFAULT_BRIGHTNESS      0
+-#define DEFAULT_CONTRAST        10
++#define DEFAULT_CONTRAST        50
+ #define DEFAULT_HUE             0
+-#define DEFAULT_SATURATION      10
++#define DEFAULT_SATURATION      50
+ 
+ struct i965_surface
+ {
+--
+cgit v0.9.0.2-2-gbebe

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-04 07:54:11 UTC (rev 203089)
+++ PKGBUILD	2014-01-04 08:07:54 UTC (rev 203090)
@@ -1,9 +1,10 @@
 # $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 
 pkgname=libva-intel-driver
 pkgver=1.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc='VA-API implementation for Intel G45 and HD Graphics family'
 arch=('i686' 'x86_64')
 url='http://freedesktop.org/wiki/Software/vaapi'
@@ -10,9 +11,16 @@
 license=('MIT')
 depends=('libva')
 replaces=('libva-driver-intel')
-source=(http://www.freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha1sums=('ece479b51926764edd2be6599f9c067cae2a3942')
+source=(http://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2
+        Adjust_the_default_value_for_contrast_saturation.patch)
+sha1sums=('ece479b51926764edd2be6599f9c067cae2a3942'
+          'f2c2c40512b8c209dc7aefb8b20ad02bb9471a3f')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../Adjust_the_default_value_for_contrast_saturation.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr
@@ -22,7 +30,5 @@
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
-  install -m644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
-
-# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list