update code
This commit is contained in:
parent
e9c7569537
commit
a46c4981da
@ -1,22 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Usage: ./make-git-snapshot.sh [COMMIT]
|
|
||||||
#
|
|
||||||
# to make a snapshot of the given tag/branch. Defaults to HEAD.
|
|
||||||
# Point env var REF to a local mesa repo to reduce clone time.
|
|
||||||
|
|
||||||
DIRNAME=xf86-video-nouveau-$( date +%Y%m%d )
|
|
||||||
|
|
||||||
echo REF ${REF:+--reference $REF}
|
|
||||||
echo DIRNAME $DIRNAME
|
|
||||||
echo HEAD ${1:-HEAD}
|
|
||||||
|
|
||||||
rm -rf $DIRNAME
|
|
||||||
|
|
||||||
git clone ${REF:+--reference $REF} \
|
|
||||||
git://git.freedesktop.org/git/nouveau/xf86-video-nouveau $DIRNAME
|
|
||||||
|
|
||||||
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
|
||||||
| xz > $DIRNAME.tar.xz
|
|
||||||
|
|
||||||
# rm -rf $DIRNAME
|
|
||||||
Binary file not shown.
BIN
xf86-video-v4l-0.3.0.tar.bz2
Normal file
BIN
xf86-video-v4l-0.3.0.tar.bz2
Normal file
Binary file not shown.
@ -1,51 +0,0 @@
|
|||||||
%define moduledir %(pkg-config xorg-server --variable=moduledir )
|
|
||||||
%define driverdir %{moduledir}/drivers
|
|
||||||
%undefine _hardened_build
|
|
||||||
|
|
||||||
Name: xorg-x11-drv-nouveau
|
|
||||||
Epoch: 1
|
|
||||||
Version: 1.0.15
|
|
||||||
Release: 7
|
|
||||||
Summary: Xorg X11 nouveau video driver for NVIDIA graphics chipsets
|
|
||||||
URL: https://www.x.org
|
|
||||||
License: MIT
|
|
||||||
Source0: https://www.x.org/archive/individual/driver/xf86-video-nouveau-%{version}.tar.bz2
|
|
||||||
Source1: make-git-snapshot.sh
|
|
||||||
|
|
||||||
BuildRequires: libtool automake autoconf systemd-devel mesa-libGL-devel
|
|
||||||
BuildRequires: xorg-x11-server-devel libdrm-devel
|
|
||||||
|
|
||||||
Requires: Xorg %(xserver-sdk-abi-requires ansic) libdrm
|
|
||||||
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
|
|
||||||
|
|
||||||
%description
|
|
||||||
X.Org X11 nouveau video driver.
|
|
||||||
|
|
||||||
%package_help
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n xf86-video-nouveau-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
autoreconf -vif
|
|
||||||
%configure
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%make_install
|
|
||||||
|
|
||||||
%delete_la
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING ChangeLog
|
|
||||||
%{driverdir}/nouveau_drv.so
|
|
||||||
|
|
||||||
%files help
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_mandir}/man4/nouveau.4*
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.0.15-7
|
|
||||||
- Package init
|
|
||||||
|
|
||||||
48
xorg-x11-drv-v4l.spec
Normal file
48
xorg-x11-drv-v4l.spec
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
||||||
|
|
||||||
|
%undefine _hardened_build
|
||||||
|
|
||||||
|
Name: xorg-x11-drv-v4l
|
||||||
|
Version: 0.3.0
|
||||||
|
Release: 1
|
||||||
|
License: MIT
|
||||||
|
Summary: Xorg X11 v4l video driver
|
||||||
|
URL: https://www.x.org
|
||||||
|
Source0: https://www.x.org/pub/individual/driver/xf86-video-v4l-%{version}.tar.bz2
|
||||||
|
|
||||||
|
BuildRequires: xorg-x11-server-devel >= 1.10.99.902
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
|
||||||
|
Requires: Xorg %([ -e /usr/bin/xserver-sdk-abi-requires ] && xserver-sdk-abi-requires ansic || :)
|
||||||
|
Requires: Xorg %([ -e /usr/bin/xserver-sdk-abi-requires ] && xserver-sdk-abi-requires videodrv || :)
|
||||||
|
|
||||||
|
%description
|
||||||
|
X.Org X11 v4l video driver.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n xf86-video-v4l-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -vif
|
||||||
|
%configure
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%delete_la
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING
|
||||||
|
%{moduledir}/drivers/v4l_drv.so
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README ChangeLog
|
||||||
|
%{_mandir}/man4/v4l.4*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.0-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user