[libva-intel-driver] Add appstream support
by Nicolas Chauvet
commit a99ef55511459d99fb518e4adf46e07092b91048
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 23 11:57:23 2018 +0100
Add appstream support
intel-vaapi-driver.metainfo.xml | 32 ++++++++++++++++++++++++++++++
libva-intel-driver.spec | 20 ++++++++++++++++++-
parse-intel-vaapi-driver.py | 43 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 94 insertions(+), 1 deletion(-)
---
diff --git a/intel-vaapi-driver.metainfo.xml b/intel-vaapi-driver.metainfo.xml
new file mode 100644
index 0000000..2d0c833
--- /dev/null
+++ b/intel-vaapi-driver.metainfo.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2018 Nicolas Chauvet <kwizart(a)gmail.com> -->
+<component type="driver">
+ <id>libva-intel-driver</id>
+ <name>HW video decode support for Intel integrated graphics</name>
+ <summary>Accelerated Linux Graphics Driver</summary>
+ <description>
+ <p>
+ HW video decode support for Intel integrated graphics.
+ </p>
+ </description>
+ <translation/>
+ <url type="homepage">https://github.com/intel/intel-vaapi-driver</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>LicenseRef:MIT</project_license>
+ <developer_name>Intel Corporation</developer_name>
+ <keywords>
+ <keyword>Intel</keyword>
+ <keyword>driver</keyword>
+ <keyword>VA-API</keyword>
+ <keyword>vaapi</keyword>
+ <keyword>HW</keyword>
+ <keyword>Video</keyword>
+ <keyword>Decode</keyword>
+ <keyword>Encode</keyword>
+ <keyword>h264</keyword>
+ <keyword>vp8</keyword>
+ <keyword>vp9</keyword>
+ </keywords>
+ <url type="bugtracker">https://bugzilla.rpmfusion.org</url>
+ <update_contact>libva-intel-driver-owner(a)rpmfusion.org</update_contact>
+</component>
diff --git a/libva-intel-driver.spec b/libva-intel-driver.spec
index a8d6851..5783436 100644
--- a/libva-intel-driver.spec
+++ b/libva-intel-driver.spec
@@ -2,16 +2,22 @@
Name: libva-intel-driver
Version: 2.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: HW video decode support for Intel integrated graphics
License: MIT and EPL
URL: https://01.org/linuxmedia
Source0: https://github.com/intel/intel-vaapi-driver/archive/%{version}.tar.gz#/%{...
+Source1: intel-vaapi-driver.metainfo.xml
+Source9: parse-intel-vaapi-driver.py
ExclusiveArch: %{ix86} x86_64
BuildRequires: libtool
BuildRequires: python2
+%if 0%{?fedora} >= 28
+# AppStream metadata generation
+BuildRequires: libappstream-glib >= 0.6.3
+%endif
#Renamed when moved to 01.org
Provides: intel-vaapi-driver = %{version}-%{release}
@@ -65,14 +71,26 @@ find %{buildroot} -regex ".*\.la$" | xargs rm -f --
gendiff . .prebuilt
}
+%if 0%{?fedora} >= 28
+# install AppData and add modalias provides
+mkdir -p %{buildroot}%{_datadir}/appdata/
+install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/
+fn=%{buildroot}%{_datadir}/appdata/intel-vaapi-driver.metainfo.xml
+%{SOURCE9} src/i965_pciids.h | xargs appstream-util add-provide ${fn} modalias
+%endif
+
%files
%doc AUTHORS NEWS README
%license COPYING
%{_libdir}/dri/i965_drv_video.so
+%{_datadir}/appdata/intel-vaapi-driver.metainfo.xml
%changelog
+* Fri Mar 23 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 2.1.0-2
+- Add appstream support
+
* Mon Feb 12 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 2.1.0-1
- Update to 2.1.0
diff --git a/parse-intel-vaapi-driver.py b/parse-intel-vaapi-driver.py
new file mode 100755
index 0000000..5deac83
--- /dev/null
+++ b/parse-intel-vaapi-driver.py
@@ -0,0 +1,43 @@
+#!/usr/bin/python2
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2018 Nicolas Chauvet <kwizart(a)gmail.com>
+# Licensed under the GNU General Public License Version or later
+
+from __future__ import print_function
+import sys
+
+def main():
+ if len(sys.argv) != 2:
+ print("usage: %s src/i965_pciids.h" % sys.argv[0])
+ return 1
+
+ # open file
+ f = open(sys.argv[1])
+ pids = []
+ for line in f.readlines():
+
+ # remove Windows and Linux line endings
+ line = line.replace('\r', '')
+ line = line.replace('\n', '')
+
+ # Only look at line with CHIPSET
+ if len(line) > 0 and not line.startswith('CHIPSET'):
+ continue
+
+ # empty line
+ if len(line) == 0:
+ continue
+
+ # get name
+ pid = int(line[10:14], 16)
+ if not pid in pids:
+ pids.append(pid)
+
+ # output
+ for pid in pids:
+ vid = 0x8086
+ print("pci:v%08Xd%08Xsv*sd*bc*sc*i*" % (vid, pid))
+
+if __name__ == "__main__":
+ main()
6 years, 7 months
[gstreamer1-libav] new-sources
by Rex Dieter
commit 4a7ba2dc7a1a69a546673c5ca7ee0d2b112569ed
Author: Rex Dieter <rdieter(a)gmail.com>
Date: Thu Mar 22 10:09:41 2018 -0500
new-sources
sources | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sources b/sources
index 83c421f..57e7110 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3bdc63bc0114a124cbcf48c97c935d30 gst-libav-1.13.1.tar.xz
+943045b9e937ffc5c6cfa0bd5c44230d gst-libav-1.14.0.tar.xz
6 years, 7 months
[gstreamer1-libav] Update to 1.14.0
by Rex Dieter
commit 9beb7fb4ceb4569fe06d51ac0ee7b9927717c89d
Author: Rex Dieter <rdieter(a)gmail.com>
Date: Thu Mar 22 10:05:00 2018 -0500
Update to 1.14.0
gstreamer1-libav.spec | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/gstreamer1-libav.spec b/gstreamer1-libav.spec
index 428ef6e..9058592 100644
--- a/gstreamer1-libav.spec
+++ b/gstreamer1-libav.spec
@@ -1,6 +1,6 @@
Name: gstreamer1-libav
-Version: 1.13.1
-Release: 2%{?dist}
+Version: 1.14.0
+Release: 1%{?dist}
Summary: GStreamer 1.0 libav-based plug-ins
License: LGPLv2+
URL: http://gstreamer.freedesktop.org/
@@ -13,7 +13,9 @@ BuildRequires: gstreamer1-plugins-base-devel >= %{version}
BuildRequires: orc-devel
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
-%if 0%{?fedora} <= 27
+## Use bundled libav as it doesn't build with F28+ ffmpeg git
+%if 0%{?fedora} < 28
+%global with_system_libav --with-system-libav
BuildRequires: ffmpeg-devel
%endif
@@ -50,16 +52,13 @@ plug-in.
%build
-#export CFLAGS="%{optflags} -Wno-deprecated-declarations"
%configure \
--disable-silent-rules --disable-fatal-warnings \
--disable-dependency-tracking \
--disable-static \
--with-package-name="gst-libav 1.0 rpmfusion rpm" \
--with-package-origin="http://rpmfusion.org/" \
-%if 0%{?fedora} <= 27
- --with-system-libav
-%endif
+ %{?_with_system_libav}
%make_build V=1
@@ -81,6 +80,9 @@ rm -fv %{buildroot}%{_libdir}/gstreamer-1.0/libgst*.la
%changelog
+* Thu Mar 22 2018 Rex Dieter <rdieter(a)fedoraproject.org> - 1.14.0-1
+- Update to 1.14.0
+
* Sun Mar 04 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.13.1-2
- Use bundled libav for F28 as it doesn't build with ffmpeg git
6 years, 7 months
[telegram-desktop/f27] (9 commits) ...Updated to version 1.2.14.
by Vitaly Zaitsev
Summary of changes:
b71f51b... Rebuilt for ffmpeg-3.5 git (*)
14fd9cf... Updated to version 1.2.8 (alpha). Do not build for stable F (*)
e912978... - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass (*)
c0d58d0... - Rebuilt for new ffmpeg snapshot (*)
c562a45... Updated to 1.2.10 alpha. DO NOT BUILD FOR STABLE FEDORA REL (*)
5deaebb... Fixed build under Rawhide. (*)
2c2b143... Updated to 1.2.12 (alpha). DO NOT BUILD FOR STABLE FEDORA R (*)
717d807... Updated to 1.2.13 (alpha). DO NOT BUILD FOR STABLE FEDORA R (*)
dc87cd9... Updated to version 1.2.14. (*)
(*) This commit already existed in another branch; no separate mail sent
6 years, 7 months
[telegram-desktop/f26: 9/9] Updated to version 1.2.14.
by Vitaly Zaitsev
commit dc87cd9cfa1a24a8406e896b6944ddc7dea4d0bb
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Mar 22 01:43:33 2018 +0100
Updated to version 1.2.14.
.gitignore | 1 +
sources | 2 +-
telegram-desktop-build-fixes.patch | 2 +-
telegram-desktop.spec | 5 ++++-
4 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7638cb1..e4b8894 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,3 +41,4 @@
/tdesktop-1.2.10.tar.gz
/tdesktop-1.2.12.tar.gz
/tdesktop-1.2.13.tar.gz
+/tdesktop-1.2.14.tar.gz
diff --git a/sources b/sources
index 7b6a9a3..fcbb42b 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
ed3d3121418d32866ae348ce75042770 crl-344cbde.tar.gz
-82e1056c5633294aab41c39247e41852 tdesktop-1.2.13.tar.gz
+7e2bad54b30df1a0087839354f7646c6 tdesktop-1.2.14.tar.gz
diff --git a/telegram-desktop-build-fixes.patch b/telegram-desktop-build-fixes.patch
index d712320..b42e125 100644
--- a/telegram-desktop-build-fixes.patch
+++ b/telegram-desktop-build-fixes.patch
@@ -1,4 +1,4 @@
-From bdfee6cafe16b7b67b0ff61531c0206a2a8f3919 Mon Sep 17 00:00:00 2001
+From ce108dbe0cb55dc26cbb7538ee27d1985665aae4 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
Subject: [PATCH] Fixed build under Fedora using rpmbuild and mock.
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 5fd0f8d..3265753 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -10,7 +10,7 @@
Summary: Telegram Desktop official messaging app
Name: telegram-desktop
-Version: 1.2.13
+Version: 1.2.14
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -136,6 +136,9 @@ appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/metainfo/%{name}.
%{_datadir}/metainfo/%{name}.appdata.xml
%changelog
+* Thu Mar 22 2018 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.14-1
+- Updated to 1.2.14.
+
* Wed Mar 21 2018 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.13-1
- Updated to 1.2.13 (alpha).
6 years, 7 months
[telegram-desktop/f26] (9 commits) ...Updated to version 1.2.14.
by Vitaly Zaitsev
Summary of changes:
b71f51b... Rebuilt for ffmpeg-3.5 git (*)
14fd9cf... Updated to version 1.2.8 (alpha). Do not build for stable F (*)
e912978... - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass (*)
c0d58d0... - Rebuilt for new ffmpeg snapshot (*)
c562a45... Updated to 1.2.10 alpha. DO NOT BUILD FOR STABLE FEDORA REL (*)
5deaebb... Fixed build under Rawhide. (*)
2c2b143... Updated to 1.2.12 (alpha). DO NOT BUILD FOR STABLE FEDORA R (*)
717d807... Updated to 1.2.13 (alpha). DO NOT BUILD FOR STABLE FEDORA R (*)
dc87cd9... Updated to version 1.2.14.
(*) This commit already existed in another branch; no separate mail sent
6 years, 7 months