forked from pool/alacritty
Accepting request 588337 from home:avindra
- update to rev 6debc4f3351446417d0c4e38173cd9ef0faa71d5 * fish shell completions * enable SRGB support * extend SGR and VT200 mouse support * switch meta key to alt instead of super - initial package @ cb05e72be2fcf7e78bff99e4316f19510bf4f502 OBS-URL: https://build.opensuse.org/request/show/588337 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=1
This commit is contained in:
commit
e01367f92e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
alacritty-0.1.0.tar.gz
Normal file
3
alacritty-0.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0c6bfe1ef3a7b1b79e010440c3e7c5f06aea665f196ca090819f03c2d5d35c9
|
||||
size 813116
|
13
alacritty.changes
Normal file
13
alacritty.changes
Normal file
@ -0,0 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 18 20:23:12 UTC 2018 - avindra@opensuse.org
|
||||
|
||||
- update to rev 6debc4f3351446417d0c4e38173cd9ef0faa71d5
|
||||
* fish shell completions
|
||||
* enable SRGB support
|
||||
* extend SGR and VT200 mouse support
|
||||
* switch meta key to alt instead of super
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 13 03:56:43 UTC 2018 - avindra@opensuse.org
|
||||
|
||||
- initial package @ cb05e72be2fcf7e78bff99e4316f19510bf4f502
|
130
alacritty.spec
Normal file
130
alacritty.spec
Normal file
@ -0,0 +1,130 @@
|
||||
#
|
||||
# spec file for package alacritty
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX 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/
|
||||
#
|
||||
|
||||
|
||||
%define rev 6debc4f3351446417d0c4e38173cd9ef0faa71d5
|
||||
Name: alacritty
|
||||
Version: 0.1.0
|
||||
Release: 0
|
||||
Summary: A cross-platform, GPU-accelerated terminal emulator
|
||||
License: Apache-2.0
|
||||
Group: System/X11/Terminals
|
||||
URL: https://github.com/jwilm/alacritty/
|
||||
Source: https://github.com/jwilm/alacritty/archive/%{rev}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
BuildRequires: cargo
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fontconfig-devel
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: rust
|
||||
BuildRequires: rust-std
|
||||
BuildRequires: xclip
|
||||
|
||||
%description
|
||||
Alacritty is the fastest terminal emulator in existence. Using the GPU for
|
||||
rendering enables optimizations that simply aren't possible in other
|
||||
emulators.
|
||||
|
||||
Alacritty currently supports macOS and Linux, and Windows support is
|
||||
planned before the 1.0 release.
|
||||
|
||||
%package bash-completion
|
||||
Release: 0
|
||||
Summary: Bash Completion for %{name}
|
||||
Requires: bash-completion
|
||||
Supplements: packageand(%{name}:bash)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
The official bash completion script for alacritty. It includes support
|
||||
for every argument that can currently be passed to alacritty.
|
||||
|
||||
%package fish-completion
|
||||
Release: 0
|
||||
Summary: Fish Completion for %{name}
|
||||
Requires: fish-completion
|
||||
Supplements: packageand(%{name}:fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
The official fish completion script for alacritty.
|
||||
|
||||
%package zsh-completion
|
||||
Release: 0
|
||||
Summary: ZSH Completion for %{name}
|
||||
Requires: zsh-completion
|
||||
Supplements: packageand(%{name}:zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
The official zsh completion script for alacritty.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{rev}
|
||||
%setup -q -n %{name}-%{rev} -D -T -a 1
|
||||
mkdir cargo-home
|
||||
cat >cargo-home/config <<EOF
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/jwilm/libfontconfig"]
|
||||
git = "https://github.com/jwilm/libfontconfig"
|
||||
branch = "updated-2017-10-8"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/jwilm/rust-fontconfig"]
|
||||
git = "https://github.com/jwilm/rust-fontconfig"
|
||||
branch = "updated-2017-10-8"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "./vendor"
|
||||
EOF
|
||||
|
||||
%build
|
||||
export CARGO_HOME=$PWD/cargo-home
|
||||
cargo build --release %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export CARGO_HOME=$PWD/cargo-home
|
||||
cargo install --root=%{buildroot}/%{_prefix}
|
||||
|
||||
# rm duplicate license and useless toml file
|
||||
rm -fr %{buildroot}%{_datadir}
|
||||
rm %{buildroot}%{_prefix}/.crates.toml
|
||||
|
||||
# install man page and completions
|
||||
install -Dm 0644 %{name}.man %{buildroot}/%{_mandir}/man1/%{name}.1
|
||||
install -Dm 0644 %{name}-completions.bash %{buildroot}/%{_datadir}/bash-completion/completions/%{name}
|
||||
install -Dm 0644 %{name}-completions.fish %{buildroot}/%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
install -Dm 0644 %{name}-completions.zsh %{buildroot}/%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
||||
%files
|
||||
%license LICENSE-APACHE
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion
|
||||
|
||||
%files fish-completion
|
||||
%{_datadir}/fish
|
||||
|
||||
%files zsh-completion
|
||||
%{_datadir}/zsh
|
||||
|
||||
%changelog
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca6506618bd594352dfefec9a1e585eb4b466b9b5b1bafefb612292b38e26e01
|
||||
size 11538256
|
Loading…
x
Reference in New Issue
Block a user