Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Conner Clere (7132511c0c58cc4b2488ab5ff7e41df47003ff57)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Conner Clere <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Conner Clere (7132511c0c58cc4b2488ab5ff7e41df47003ff57)
  • Date: Wed, 21 Jun 2023 06:04:42 +0000

GIT changes to master grimoire by Conner Clere <xenanthropy AT sourcemage.org>:

ChangeLog | 3 +++
shell-term-fm/alacritty/BUILD | 9 +++++++++
shell-term-fm/alacritty/CONFIGURE | 1 +
shell-term-fm/alacritty/DEPENDS | 21 +++++++++++++++++++++
shell-term-fm/alacritty/DETAILS | 17 +++++++++++++++++
shell-term-fm/alacritty/HISTORY | 3 +++
shell-term-fm/alacritty/INSTALL | 26 ++++++++++++++++++++++++++
7 files changed, 80 insertions(+)

New commits:
commit 7132511c0c58cc4b2488ab5ff7e41df47003ff57
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>

shell-term-fm/alacritty: new spell, gpu-accelerated rust terminal emulator

diff --git a/ChangeLog b/ChangeLog
index 2b8c1b8..e37baf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2023-06-21 Conner Clere <xenanthropy AT sourcemage.org>
+ * shell-term-fm/alacritty: new spell, gpu-accelerated rust terminal
emulator
+
2023-06-09 Treeve Jelbert <treeve AT sourcemage.org>
* python-pypi/sqlalchemy-firebird: added

diff --git a/shell-term-fm/alacritty/BUILD b/shell-term-fm/alacritty/BUILD
new file mode 100755
index 0000000..59ce6b7
--- /dev/null
+++ b/shell-term-fm/alacritty/BUILD
@@ -0,0 +1,9 @@
+if is_depends_enabled $SPELL wayland && ! is_depends_enabled $SPELL libx11;
then
+ env CARGO_HOME="$SOURCE_DIRECTORY/.cargo" cargo build \
+ --release --no-default-features --features=wayland
+elif is_depends_enabled $SPELL libx11 && ! is_depends_enabled $SPELL
wayland; then
+ env CARGO_HOME="$SOURCE_DIRECTORY/.cargo" cargo build \
+ --release --no-default-features --features=x11
+else
+ env CARGO_HOME="$SOURCE_DIRECTORY/.cargo" cargo build --release
+fi
diff --git a/shell-term-fm/alacritty/CONFIGURE
b/shell-term-fm/alacritty/CONFIGURE
new file mode 100755
index 0000000..fa7d981
--- /dev/null
+++ b/shell-term-fm/alacritty/CONFIGURE
@@ -0,0 +1 @@
+config_query INSTALLMAN "Install manpages?" y
diff --git a/shell-term-fm/alacritty/DEPENDS b/shell-term-fm/alacritty/DEPENDS
new file mode 100755
index 0000000..562cd40
--- /dev/null
+++ b/shell-term-fm/alacritty/DEPENDS
@@ -0,0 +1,21 @@
+depends PKG-CONFIG &&
+depends rust &&
+depends OPENGL &&
+depends freetype2 &&
+depends expat &&
+depends fontconfig &&
+depends libxcb &&
+depends libxkbcommon &&
+depends xcb-util &&
+
+optional_depends bash-completion '' '' 'Bash completion support?' &&
+optional_depends zsh '' '' 'Zsh completion support?' &&
+optional_depends fish '' '' 'Fish shell completion support?' &&
+
+optional_depends wayland '' '' 'Wayland support?' &&
+
+if is_depends_enabled $SPELL wayland; then
+ optional_depends libx11 '' '' 'X11 support?'
+else
+ depends libx11
+fi
diff --git a/shell-term-fm/alacritty/DETAILS b/shell-term-fm/alacritty/DETAILS
new file mode 100755
index 0000000..3b4bab1
--- /dev/null
+++ b/shell-term-fm/alacritty/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=alacritty
+ VERSION=0.12.1
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+
SOURCE_URL[0]=https://github.com/${SPELL}/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz
+
SOURCE_HASH=sha256:14bce0bfc538872c97e0e38b9233a9d1fa992dcf83a22b6035da5fe58a55bc6c
+ LICENSE[0]=MIT
+ WEB_SITE=https://github.com/alacritty/alacritty
+ ENTERED=20230621
+ KEYWORDS="terminal rust"
+ SHORT="cross-platform OpenGL terminal emulator"
+cat << EOF
+alacritty is a modern terminal emulator that comes with sensible defaults,
+but allows for extensive configuration. By integrating with other
applications,
+rather than reimplementing their functionality, it manages to provide a
+flexible set of features with high performance.
+EOF
diff --git a/shell-term-fm/alacritty/HISTORY b/shell-term-fm/alacritty/HISTORY
new file mode 100644
index 0000000..c7e2c3d
--- /dev/null
+++ b/shell-term-fm/alacritty/HISTORY
@@ -0,0 +1,3 @@
+2023-06-21 Conner Clere <xenanthropy AT sourcemage.org>
+ * BUILD, INSTALL, CONFIGURE, DEPENDS, DETAILS: version 0.12.1, new
spell
+
diff --git a/shell-term-fm/alacritty/INSTALL b/shell-term-fm/alacritty/INSTALL
new file mode 100755
index 0000000..1797bfa
--- /dev/null
+++ b/shell-term-fm/alacritty/INSTALL
@@ -0,0 +1,26 @@
+install -D "${SOURCE_DIRECTORY}/target/release/alacritty" \
+ "${INSTALL_ROOT}/usr/bin/alacritty" &&
+install -D "${SOURCE_DIRECTORY}/extra/logo/alacritty-term.svg" \
+ "${INSTALL_ROOT}/usr/share/pixmaps/Alacritty.svg" &&
+install -D "${SOURCE_DIRECTORY}/extra/linux/Alacritty.desktop" \
+ "${INSTALL_ROOT}/usr/share/applications/Alacritty.desktop"
+
+if is_depends_enabled $SPELL zsh; then
+ install -D "${SOURCE_DIRECTORY}/extra/completions/_alacritty" \
+ "${INSTALL_ROOT}/usr/share/zsh/site-functions/_alacritty"
+fi &&
+
+if is_depends_enabled $SPELL bash-completion; then
+ install -D "${SOURCE_DIRECTORY}/extra/completions/alacritty.bash" \
+ "${INSTALL_ROOT}/usr/share/bash-completion/completions/alacritty"
+fi &&
+
+if is_depends_enabled $SPELL fish; then
+ install -D "${SOURCE_DIRECTORY}/extra/completions/alacritty.fish" \
+ "${INSTALL_ROOT}/usr/share/fish/vendor_completions.d/alacritty.fish"
+fi &&
+
+if [[ $INSTALLMAN == y ]]; then
+ install -D "${SOURCE_DIRECTORY}/extra/alacritty.man"
"${INSTALL_ROOT}/usr/share/man/man1/alacritty.1" &&
+ install -D "${SOURCE_DIRECTORY}/extra/alacritty-msg.man"
"${INSTALL_ROOT}/usr/share/man/man1/alacritty-msg.1"
+fi



  • [SM-Commit] GIT changes to master grimoire by Conner Clere (7132511c0c58cc4b2488ab5ff7e41df47003ff57), Conner Clere, 06/21/2023

Archive powered by MHonArc 2.6.24.

Top of Page