Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gcomes.obs
crystalhd
crystalhd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crystalhd.spec of Package crystalhd
# # spec file for package crystalhd # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?sle_version} <= 150300 && 0%{?is_opensuse} %define kernel_module_directory /lib/modules %endif Name: crystalhd BuildRequires: %kernel_module_package_buildreqs Summary: Broadcom Crystal HD driver KMP Group: System/Kernel Version: 3.10.0 Release: 6 License: GPL-2.0 Group: System/Kernel Source0: crystalhd-driver_%{version}-1.tar.bz2 Source1: README Source2: LICENSE Source3: preamble # PATCH-FIX-OPENSUSE unused-variable.patch -- Remove unused variables to fix compilation with gcc 4.6 Patch0: unused-variable.patch # Just for gcc-4.6 spewing invalid warnings Patch1: crystalhd-fix-uninitialized.diff Patch2: crystalhd-fix-includes.diff Patch3: crystalhd-fix-sections.diff Patch20: opensuse122.patch Patch21: opensuse131.patch Patch22: opensuse421.patch Patch23: opensuse423.patch Patch24: opensuse150.patch Patch25: opensuse152.patch Patch26: opensuse154.patch Patch27: opensuse156.patch #Patch30: tumbleweed.patch #Patch31: tumbleweed1.patch Requires: crystalhd-firmware Recommends: gstreamer-0_10-plugin-crystalhd Url: http://www.broadcom.com/support/crystal_hd/ BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 %kernel_module_package -p preamble -x xen ec2 %description This package contains misc stuff for supporting Broadcom Crystal HD driver. %package KMP License: GPL-2.0 Summary: Broadcom Crystal HD driver KMP Group: System/Kernel %description KMP This package contains the Linux driver for the Broadcom Crystal HD decoder chip. The driver supports BCM70012/BCM70015 chips for decoding H.264 video streams. %prep %setup -q -n crystalhd-driver %patch -P 0 %patch -P 1 -p1 %patch -P 2 -p1 %patch -P 3 -p1 %patch -P 20 -p1 %patch -P 21 -p1 %patch -P 22 -p1 %patch -P 23 -p1 %patch -P 24 -p1 %patch -P 25 -p1 %patch -P 26 -p1 %if 0%{?suse_version} > 1500 || ( 0%{?sle_version} > 150500 && 0%{?is_opensuse} ) %patch -P 27 -p1 %endif %if 0%{?suse_version} > 1500 #%%patch -P 30 -p1 #%%patch -P 31 -p1 %endif echo 'crystalhd.ko external' > Module.supported set -- * mkdir source mv $@ source cp %{SOURCE1} . cp %{SOURCE2} . %build for flavor in %flavors_to_build; do rm -rf $flavor cp -al source $flavor %if 0%{?suse_version} > 1500 || ( 0%{?sle_version} > 150300 && 0%{?is_opensuse} ) make M=$PWD/$flavor -C "/usr/src/linux-obj/%_target_cpu/$flavor" %{?_smp_mflags} %else cd $flavor make KSRC="/usr/src/linux-obj/%_target_cpu/$flavor" %{?_smp_mflags} cd .. %endif done %install for flavor in %flavors_to_build; do krel=$(make -s -C /usr/src/linux-obj/%_target_cpu/$flavor kernelrelease) mkdir -p $RPM_BUILD_ROOT%kernel_module_directory/$krel/updates cp $flavor/*.ko $RPM_BUILD_ROOT%kernel_module_directory/$krel/updates done mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d cp source/*.rules $RPM_BUILD_ROOT/etc/udev/rules.d %files %defattr(-,root,root) %doc README* LICENSE /etc/udev %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor