Compare commits
8 Commits
2384d98431
...
e9b1df8b1b
Author | SHA1 | Date | |
---|---|---|---|
e9b1df8b1b | |||
594dca0d0b | |||
340462ac70 | |||
bcdc51dd43 | |||
2e56cc4855 | |||
356838b219 | |||
0c5ddfaba4 | |||
96ec7cfe75 |
23
fcft/.SRCINFO
Normal file
23
fcft/.SRCINFO
Normal file
@ -0,0 +1,23 @@
|
||||
pkgbase = fcft
|
||||
pkgdesc = Simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman.
|
||||
pkgver = 2.4.4
|
||||
pkgrel = 1
|
||||
url = https://codeberg.org/dnkl/fcft
|
||||
changelog = CHANGELOG.md
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = mit
|
||||
checkdepends = check
|
||||
checkdepends = ttf-dejavu
|
||||
makedepends = meson
|
||||
makedepends = ninja
|
||||
makedepends = scdoc
|
||||
makedepends = tllist
|
||||
depends = freetype2
|
||||
depends = fontconfig
|
||||
depends = pixman
|
||||
depends = harfbuzz
|
||||
source = fcft-2.4.4.tar.gz::https://codeberg.org/dnkl/fcft/archive/2.4.4.tar.gz
|
||||
sha256sums = dabf5d83bf464c493fdd3a0baa69dc549ba08633299f0197d20707ae875a59ce
|
||||
|
||||
pkgname = fcft
|
12
fcft/.gitrepo
Normal file
12
fcft/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/fcft.git
|
||||
branch = master
|
||||
commit = f0dd48183b33714ee06420f034bff38219928125
|
||||
parent = 356838b21944b2259ecc07b099109f69ce09c851
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
355
fcft/CHANGELOG.md
Normal file
355
fcft/CHANGELOG.md
Normal file
@ -0,0 +1,355 @@
|
||||
# Changelog
|
||||
|
||||
* [2.4.4](#2-4-4)
|
||||
* [2.4.3](#2-4-3)
|
||||
* [2.4.2](#2-4-2)
|
||||
* [2.4.1](#2-4-1)
|
||||
* [2.4.0](#2-4-0)
|
||||
* [2.3.3](#2-3-3)
|
||||
* [2.3.2](#2-3-2)
|
||||
* [2.3.1](#2-3-1)
|
||||
* [2.3.0](#2-3-0)
|
||||
* [2.2.7](#2-2-7)
|
||||
* [2.2.6](#2-2-6)
|
||||
* [2.2.5](#2-2-5)
|
||||
* [2.2.4](#2-2-4)
|
||||
* [2.2.3](#2-2-3)
|
||||
* [2.2.2](#2-2-2)
|
||||
* [2.2.1](#2-2-1)
|
||||
* [2.2.0](#2-2-0)
|
||||
* [2.1.3](#2-1-3)
|
||||
* [2.1.2](#2-1-2)
|
||||
* [2.1.1](#2-1-1)
|
||||
* [2.1.0](#2-1-0)
|
||||
* [2.0.0](#2-0-0)
|
||||
* [1.1.7](#1-1-7)
|
||||
|
||||
|
||||
## 2.4.4
|
||||
|
||||
### Fixed
|
||||
|
||||
* Rendering of bitmap fonts with Freetype >= 2.11
|
||||
(https://codeberg.org/dnkl/fcft/issues/29).
|
||||
|
||||
|
||||
## 2.4.3
|
||||
|
||||
### Fixed
|
||||
|
||||
* Bitmap/aliased font glyphs being mirrored on big-endian
|
||||
architectures.
|
||||
* Color font glyphs having wrong colors on big-endian architectures.
|
||||
* Crash when destroying a font that failed to load (typically happens
|
||||
when there are no fonts available at all).
|
||||
|
||||
|
||||
## 2.4.2
|
||||
|
||||
### Fixed
|
||||
|
||||
* Rare crash when one thread was doing a glyph cache lookup, while
|
||||
another was resizing the cache.
|
||||
|
||||
|
||||
## 2.4.1
|
||||
|
||||
### Changed
|
||||
|
||||
* Log messages are now printed to stderr instead of stdout.
|
||||
* `fcft_grapheme_rasterize()` now sets a minimum grapheme column count
|
||||
of 2 when the cluster ends with an Emoji variant selector (codepoint
|
||||
0xFE0F).
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* Compilation error when fallback definition for `FCFT_EXPORT` was used
|
||||
in `meson.build`.
|
||||
|
||||
|
||||
### Contributors
|
||||
|
||||
* [emersion](https://codeberg.org/emersion)
|
||||
* [craigbarnes](https://codeberg.org/craigbarnes)
|
||||
|
||||
|
||||
## 2.4.0
|
||||
|
||||
### Added
|
||||
|
||||
* Example program. Very simple bare bones Wayland program that renders
|
||||
a user provided string with user configurable fonts and colors. No
|
||||
proper error checking etc. To build, configure meson with
|
||||
`-Dexamples=true`.
|
||||
* `fcft_log_init()`. This function enables, and configures logging in fcft.
|
||||
* `fcft_text_run_rasterize()`: new API that uses HarfBuzz to shape a
|
||||
text run (i.e. a whole string). Note that HarfBuzz is (still) an
|
||||
**optional** dependency, see
|
||||
[README](README.md#user-content-building).
|
||||
* `fcft_text_run_destroy()`: new API that frees a rasterized text-run.
|
||||
* `FCFT_CAPABILITY_TEXT_RUN_SHAPING` added to `fcft_capabilities()`.
|
||||
* `antialias` and `subpixel` members to `struct fcft_font`.
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
* fcft logging must now be enabled explicitly (see `fcft_log_init()`).
|
||||
* Internal logging functions are no longer exported by the shared library.
|
||||
* The pixel size passed from FontConfig to FreeType is now rounded
|
||||
instead of truncated (https://codeberg.org/dnkl/foot/issues/456).
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* Internal logging functions have been renamed, from generic `log_*`
|
||||
names to fcft specific `fcft_log_` names.
|
||||
* Apply pixel-size fixup to glyphs’ advance width/height, but **only**
|
||||
if we estimated the fixup ourselves (otherwise the advance
|
||||
width/height is already scaled).
|
||||
|
||||
|
||||
## 2.3.3
|
||||
|
||||
### Fixed
|
||||
|
||||
* Cloned fonts not being properly freed in library destructor.
|
||||
|
||||
|
||||
## 2.3.2
|
||||
|
||||
### Added
|
||||
|
||||
* Limited support for _"fontfeatures_" . fcft is still not a layout
|
||||
engine, but with this we can support e.g. _stylistic sets_
|
||||
(HarfBuzz-enabled builds only).
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
||||
* `tags` argument in `fcft_grapheme_rasterize()`. It is now being
|
||||
ignored, and will be removed in a future release.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* Hang in library destructor when system has no fonts installed
|
||||
(https://codeberg.org/dnkl/foot/issues/174).
|
||||
|
||||
|
||||
### Contributors
|
||||
|
||||
* [birger](https://codeberg.org/birger)
|
||||
|
||||
|
||||
## 2.3.1
|
||||
|
||||
### Fixed
|
||||
|
||||
* `fcft_grapheme_rasterize()` now makes use of the optional
|
||||
`tags`. These were previously ignored.
|
||||
* Compilation error when text shaping was disabled.
|
||||
|
||||
|
||||
## 2.3.0
|
||||
|
||||
### Added
|
||||
|
||||
* `fcft_set_scaling_filter()`: new API that lets the calling
|
||||
application configure the filter to use when downscaling bitmap
|
||||
fonts (https://codeberg.org/dnkl/fcft/issues/9).
|
||||
* `fcft_grapheme_rasterize()`: new API that uses HarfBuzz to shape a
|
||||
grapheme cluster. Note that HarfBuzz is an **optional** dependency,
|
||||
see [README](README.md#user-content-building).
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
* Increased timeout in tests, from 4s (the default), to 60s
|
||||
(https://codeberg.org/dnkl/foot/issues/120).
|
||||
|
||||
|
||||
## 2.2.7
|
||||
|
||||
### Changed
|
||||
|
||||
* Use lanczos3 filtering when downscaling bitmap fonts. This improves
|
||||
the quality of e.g. color emoji fonts.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* Compilation with `-pedantic`
|
||||
|
||||
|
||||
## 2.2.6
|
||||
|
||||
### Fixed
|
||||
|
||||
* Set LCD filter. This fixes **severe** color fringes when FreeType
|
||||
has been built with `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` (i.e. the
|
||||
old ClearType-style subpixel rendering, instead of the newer Harmony
|
||||
LCD rendering).
|
||||
|
||||
|
||||
## 2.2.5
|
||||
|
||||
### Changed
|
||||
|
||||
* `fcft_glyph_rasterize()`: improved performance in threaded
|
||||
applications by guarding the glyph cache with an _rwlock_ instead of
|
||||
a _mutex_.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* fcft now checks for memory allocation failures.
|
||||
* Compilation errors in 32-bit builds.
|
||||
|
||||
|
||||
## 2.2.4
|
||||
|
||||
### Added
|
||||
|
||||
* Unicode license file, for `UnicodeData.txt`
|
||||
|
||||
|
||||
## 2.2.3
|
||||
### Added
|
||||
|
||||
* Missing [LICENSE](LICENSE) file
|
||||
* [LICENSE](LICENSE), [README.md](README.md) and
|
||||
[CHANGELOG.md](CHANGELOG.md) are now installed to
|
||||
`${datadir}/doc/fcft`.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* Assertion in debug builds when resizing the glyph cache
|
||||
|
||||
|
||||
## 2.2.2
|
||||
|
||||
### Fixed
|
||||
|
||||
* `fcft_kerning()` was not threadsafe
|
||||
* Rare crash in `fcft_glyph_rasterize()` caused by a race between a
|
||||
successful glyph cache lookup and a glyph cache resize.
|
||||
|
||||
|
||||
## 2.2.1
|
||||
|
||||
### Changed
|
||||
|
||||
* Color bitmap glyphs with a pixel-size fixup factor other than 1.0
|
||||
are now pre-scaled. Previously, fcft would only set a pixman scale
|
||||
transform on the glyph, causing actual scaling to occur **every**
|
||||
time the glyph was blended. This improves the performance when
|
||||
rendering color emojis.
|
||||
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Changed
|
||||
|
||||
* Internal representation of the primary and fallback fonts.
|
||||
* Do not load a fallback font if it does not contain the requested glyph.
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
||||
* `fcft_size_adjust()`
|
||||
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Fixed
|
||||
|
||||
* Advance width and height of scaled bitmap fonts.
|
||||
|
||||
|
||||
## 2.1.2
|
||||
|
||||
### Changed
|
||||
|
||||
* Glyph cache now resizes dynamically. This fixes a performance
|
||||
problem when loading **a lot** of glyphs, as we ended up scanning
|
||||
very long lists when looking up a glyph in the cache.
|
||||
|
||||
|
||||
## 2.1.1
|
||||
|
||||
### Changed
|
||||
|
||||
* Prefer user-provided `charset`. This can be used to e.g. limit a
|
||||
fallback font's usage to a custom Unicode point range.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* LCD RGB/BGR modes were reversed.
|
||||
|
||||
|
||||
## 2.1.0
|
||||
|
||||
### Added
|
||||
|
||||
* When looking for a glyph in the fallback fonts, don't discard
|
||||
(destroy/unload) the fonts that did not contain the glyph. This
|
||||
improves performance massively when loading lots of glyphs that does
|
||||
not exist in the primary font, or in the first fallback font(s).
|
||||
* Synthetic bold and italics (FontConfig's _embolden_ and _matrix_
|
||||
properties).
|
||||
* `fcft_precompose()` - combines a base- and a combining wide
|
||||
character into a single pre-composed character.
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
* `fcft_from_name()` and `fcft_size_adjust()` no longer calls
|
||||
`setlocale()` to set a suitable locale for `FcParseName()`, as this
|
||||
was not thread safe. The caller is responsible for ensuring
|
||||
`LC_NUMERICAL` is set to a locale that correctly recognizes _x.y_
|
||||
decimal values.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* `fcft_from_name()` was not thread safe
|
||||
* `fcft_clone()` was not thread safe
|
||||
* `fcft_size_adjust()` was not thread safe
|
||||
* `fcft_destroy` was not thread safe
|
||||
|
||||
|
||||
## 2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
* API: `font_` prefix changed to `fcft_`.
|
||||
* API: renamed `struct font` to `struct fcft_font`.
|
||||
* API: renamed `struct glyph` to `struct fcft_glyph`.
|
||||
* API: internal members of `struct fcft_glyph` removed.
|
||||
* API: renamed `enum subpixel_order` to `enum fcft_subpixel`, and
|
||||
`ORDER` was removed from the enum values.
|
||||
* API: renamed `fcft_glyph.x_advance` to `fcft_glyph.advance.x`, and
|
||||
added `fcft_glyph.advance.y`
|
||||
* API: renamed `fcft_font.max_x_advance` to `fcft_font.max_advance.x`
|
||||
and added `fcft_font.max_advance.y`.
|
||||
* API: renamed `fcft_font.space_x_advance` to
|
||||
`fcft_font.space_advance.x` and added `fcft_font.space_advance.y`.
|
||||
* API: renamed `fcft_glyph_for_wc()` to `fcft_glyph_rasterize()`.
|
||||
* Require meson >= 0.54.
|
||||
* Use `meson.override_dependency()`.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* `fcft_kerning()` did not scale the returned kerning distances with
|
||||
the font's pixel size fixup multiplier.
|
||||
|
||||
|
||||
## 1.1.7
|
||||
|
||||
### Fixed
|
||||
|
||||
* LCD RGB/BGR modes were reversed
|
33
fcft/PKGBUILD
Normal file
33
fcft/PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
|
||||
pkgname=fcft
|
||||
pkgver=2.4.4 # Don’t forget to update CHANGELOG.md
|
||||
pkgrel=1
|
||||
pkgdesc="Simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman."
|
||||
arch=('x86_64' 'aarch64')
|
||||
url=https://codeberg.org/dnkl/${pkgname}
|
||||
license=(mit)
|
||||
depends=('freetype2' 'fontconfig' 'pixman' 'harfbuzz')
|
||||
makedepends=('meson' 'ninja' 'scdoc' 'tllist')
|
||||
checkdepends=('check' 'ttf-dejavu')
|
||||
changelog=CHANGELOG.md
|
||||
source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz)
|
||||
sha256sums=('dabf5d83bf464c493fdd3a0baa69dc549ba08633299f0197d20707ae875a59ce')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
|
||||
meson --prefix=/usr --buildtype=release -Dtext-shaping=enabled . build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgname}
|
||||
ninja -C build test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
DESTDIR="${pkgdir}/" ninja -C build install
|
||||
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -Dm 644 unicode/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.unicode"
|
||||
}
|
22
feedbackd/.SRCINFO
Normal file
22
feedbackd/.SRCINFO
Normal file
@ -0,0 +1,22 @@
|
||||
pkgbase = feedbackd
|
||||
pkgdesc = A daemon to provide haptic feedback on events
|
||||
pkgver = 0.0.0+git20210426
|
||||
pkgrel = 1
|
||||
url = https://source.puri.sm/Librem5/feedbackd
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
arch = armv7h
|
||||
arch = aarch64
|
||||
license = GPL3
|
||||
makedepends = gobject-introspection
|
||||
makedepends = meson
|
||||
makedepends = vala
|
||||
depends = dconf
|
||||
depends = gsound
|
||||
depends = json-glib
|
||||
depends = libgudev
|
||||
source = https://source.puri.sm/Librem5/feedbackd/-/archive/v0.0.0+git20210426/feedbackd-v0.0.0+git20210426.tar.gz
|
||||
sha256sums = 3e9ec7d521ff0dcbfff15708678650068ac744fad93e21959484226cd882916d
|
||||
|
||||
pkgname = feedbackd
|
||||
|
7
feedbackd/.gitignore
vendored
Normal file
7
feedbackd/.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
pkg/
|
||||
src/
|
||||
*.tar
|
||||
*.tar.bz2
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tar.zstd
|
12
feedbackd/.gitrepo
Normal file
12
feedbackd/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/feedbackd.git
|
||||
branch = master
|
||||
commit = 58ad151f98c7c2c7a3b4c2fb5d51319ab1a98f6b
|
||||
parent = 0c5ddfaba48193bd342f80bf5b935a760cdc1d6e
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
36
feedbackd/PKGBUILD
Normal file
36
feedbackd/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Maintainer: Philip Goto <philip.goto@gmail.com>
|
||||
# Contributor: Sam Whited <sam@samwhited.com>
|
||||
|
||||
pkgname=feedbackd
|
||||
pkgver=0.0.0+git20210426
|
||||
pkgrel=1
|
||||
pkgdesc="A daemon to provide haptic feedback on events"
|
||||
url="https://source.puri.sm/Librem5/feedbackd"
|
||||
license=(GPL3)
|
||||
arch=(i686 x86_64 armv7h aarch64)
|
||||
depends=(
|
||||
dconf
|
||||
gsound
|
||||
json-glib
|
||||
libgudev
|
||||
)
|
||||
makedepends=(
|
||||
gobject-introspection
|
||||
meson
|
||||
vala
|
||||
)
|
||||
source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
|
||||
sha256sums=('3e9ec7d521ff0dcbfff15708678650068ac744fad93e21959484226cd882916d')
|
||||
|
||||
build() {
|
||||
arch-meson "${pkgname}-v${pkgver}" build -Dgtk_doc=true -Dman=true
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build --print-errorlogs
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="${pkgdir}" meson install -C build
|
||||
}
|
12
foot-terminfo/.SRCINFO
Normal file
12
foot-terminfo/.SRCINFO
Normal file
@ -0,0 +1,12 @@
|
||||
pkgbase = foot-terminfo
|
||||
pkgdesc = Terminfo files for the foot terminal emulator
|
||||
pkgver = 1.8.2
|
||||
pkgrel = 1
|
||||
url = https://codeberg.org/dnkl/foot
|
||||
arch = any
|
||||
license = mit
|
||||
makedepends = ncurses
|
||||
source = foot-1.8.2.tar.gz::https://codeberg.org/dnkl/foot/archive/1.8.2.tar.gz
|
||||
sha256sums = 50cf5b9f3cc1ebaafa62255eea22395e8267cce21e119bc6f7ecacf11f15dada
|
||||
|
||||
pkgname = foot-terminfo
|
12
foot-terminfo/.gitrepo
Normal file
12
foot-terminfo/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/foot-terminfo.git
|
||||
branch = master
|
||||
commit = e37aa851043bdbbdab7ca71f886c769a6d4cdded
|
||||
parent = 340462ac70c0d35b916e4dee1db7774f3d50ad9f
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
23
foot-terminfo/PKGBUILD
Normal file
23
foot-terminfo/PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
||||
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
|
||||
pkgdesc="Terminfo files for the foot terminal emulator"
|
||||
pkgname=foot-terminfo
|
||||
pkgver=1.8.2
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url=https://codeberg.org/dnkl/foot
|
||||
license=(mit)
|
||||
makedepends=('ncurses')
|
||||
source=(foot-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz)
|
||||
sha256sums=('50cf5b9f3cc1ebaafa62255eea22395e8267cce21e119bc6f7ecacf11f15dada')
|
||||
|
||||
build() {
|
||||
cd foot
|
||||
mkdir -p build
|
||||
tic -x -o build -e foot,foot-direct foot.info
|
||||
}
|
||||
|
||||
package() {
|
||||
cd foot
|
||||
install -dm 755 "${pkgdir}/usr/share/terminfo/f/"
|
||||
cp build/f/* "${pkgdir}/usr/share/terminfo/f/"
|
||||
}
|
31
foot/.SRCINFO
Normal file
31
foot/.SRCINFO
Normal file
@ -0,0 +1,31 @@
|
||||
pkgbase = foot
|
||||
pkgdesc = Wayland terminal emulator - fast, lightweight and minimalistic
|
||||
pkgver = 1.8.2
|
||||
pkgrel = 1
|
||||
url = https://codeberg.org/dnkl/foot
|
||||
changelog = CHANGELOG.md
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = mit
|
||||
checkdepends = check
|
||||
makedepends = meson
|
||||
makedepends = ninja
|
||||
makedepends = scdoc
|
||||
makedepends = python
|
||||
makedepends = ncurses
|
||||
makedepends = wayland-protocols
|
||||
makedepends = tllist
|
||||
depends = libxkbcommon
|
||||
depends = wayland
|
||||
depends = pixman
|
||||
depends = fontconfig
|
||||
depends = libutf8proc
|
||||
depends = fcft
|
||||
depends = foot-terminfo
|
||||
optdepends = libnotify: desktop notifications
|
||||
optdepends = xdg-utils: URI launching
|
||||
optdepends = bash-completion: bash completions for foot itself
|
||||
source = foot-1.8.2.tar.gz::https://codeberg.org/dnkl/foot/archive/1.8.2.tar.gz
|
||||
sha256sums = 50cf5b9f3cc1ebaafa62255eea22395e8267cce21e119bc6f7ecacf11f15dada
|
||||
|
||||
pkgname = foot
|
12
foot/.gitrepo
Normal file
12
foot/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/foot.git
|
||||
branch = master
|
||||
commit = 6108099f58351064185f52509ac9fd6f3fd8050f
|
||||
parent = bcdc51dd43112f472537ce3007e45f47310ae12c
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
1345
foot/CHANGELOG.md
Normal file
1345
foot/CHANGELOG.md
Normal file
File diff suppressed because it is too large
Load Diff
106
foot/PKGBUILD
Normal file
106
foot/PKGBUILD
Normal file
@ -0,0 +1,106 @@
|
||||
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
|
||||
pkgdesc="Wayland terminal emulator - fast, lightweight and minimalistic"
|
||||
pkgname=foot
|
||||
pkgver=1.8.2 # Don’t forget to update CHANGELOG.md
|
||||
pkgrel=1
|
||||
arch=('x86_64' 'aarch64')
|
||||
url=https://codeberg.org/dnkl/foot
|
||||
license=(mit)
|
||||
changelog=CHANGELOG.md
|
||||
depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'libutf8proc' 'fcft' 'foot-terminfo')
|
||||
makedepends=('meson' 'ninja' 'scdoc' 'python' 'ncurses' 'wayland-protocols' 'tllist') # ‘llvm’, for PGO with clang
|
||||
checkdepends=('check')
|
||||
optdepends=('libnotify: desktop notifications'
|
||||
'xdg-utils: URI launching'
|
||||
'bash-completion: bash completions for foot itself')
|
||||
source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz)
|
||||
sha256sums=('50cf5b9f3cc1ebaafa62255eea22395e8267cce21e119bc6f7ecacf11f15dada')
|
||||
|
||||
build() {
|
||||
cd foot
|
||||
|
||||
local compiler=other
|
||||
local do_pgo=no
|
||||
|
||||
# makepkg uses -O2 by default, but we *really* want -O3
|
||||
CFLAGS+=" -O3"
|
||||
|
||||
# Figure out which compiler we're using, and whether or not to do PGO
|
||||
case $(${CC-cc} --version) in
|
||||
*GCC*)
|
||||
compiler=gcc
|
||||
do_pgo=yes
|
||||
;;
|
||||
|
||||
*clang*)
|
||||
compiler=clang
|
||||
|
||||
# We need llvm to be able to manage the profiling data
|
||||
if command -v llvm-profdata > /dev/null; then
|
||||
do_pgo=yes
|
||||
|
||||
# Meson adds -fprofile-correction, which Clang doesn't
|
||||
# understand
|
||||
CFLAGS+=" -Wno-ignored-optimization-argument"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
meson \
|
||||
--prefix=/usr \
|
||||
--buildtype=release \
|
||||
--wrap-mode=nodownload \
|
||||
-Db_lto=true \
|
||||
-Dterminfo-install-location=disabled \
|
||||
. build
|
||||
|
||||
if [[ ${do_pgo} == yes ]]; then
|
||||
find -name "*.gcda" -delete
|
||||
meson configure -Db_pgo=generate build
|
||||
ninja -C build
|
||||
|
||||
local script_options="--scroll --scroll-region --colors-regular --colors-bright --colors-256 --colors-rgb --attr-bold --attr-italic --attr-underline --sixel"
|
||||
|
||||
local tmp_file=$(mktemp)
|
||||
|
||||
if [[ -v WAYLAND_DISPLAY ]]; then
|
||||
# TODO: remove the sleep in the next release (with SIGWINCH
|
||||
# fixes in generate-alt-random-writes.py)
|
||||
build/footclient --version
|
||||
build/foot \
|
||||
--config /dev/null \
|
||||
--term=xterm \
|
||||
sh -c "sleep 2 && ./scripts/generate-alt-random-writes.py ${script_options} ${tmp_file} && cat ${tmp_file}"
|
||||
else
|
||||
build/footclient --version
|
||||
build/foot --version
|
||||
./scripts/generate-alt-random-writes.py \
|
||||
--rows=67 \
|
||||
--cols=135 \
|
||||
${script_options} \
|
||||
${tmp_file}
|
||||
build/pgo ${tmp_file} ${tmp_file} ${tmp_file}
|
||||
fi
|
||||
|
||||
rm "${tmp_file}"
|
||||
|
||||
if [[ ${compiler} == clang ]]; then
|
||||
llvm-profdata merge default_*profraw --output=build/default.profdata
|
||||
fi
|
||||
|
||||
meson configure -Db_pgo=use build
|
||||
fi
|
||||
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd foot
|
||||
ninja -C build test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd foot
|
||||
DESTDIR="${pkgdir}/" ninja -C build install
|
||||
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
23
neovim-qt-git/.SRCINFO
Normal file
23
neovim-qt-git/.SRCINFO
Normal file
@ -0,0 +1,23 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Thu Sep 14 06:17:53 UTC 2017
|
||||
pkgbase = neovim-qt-git
|
||||
pkgdesc = A Qt gui for Neovim (Neovim RPC and GUI using Qt5).
|
||||
pkgver = v0.2.8.r0.g6e54e82
|
||||
pkgrel = 1
|
||||
url = https://github.com/equalsraf/neovim-qt
|
||||
install = neovim-qt-git.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
depends = neovim
|
||||
depends = qt5-base
|
||||
depends = msgpack-c
|
||||
depends = libxkbcommon-x11
|
||||
conflicts = neovim-qt
|
||||
source = neovim-qt-git::git+https://github.com/equalsraf/neovim-qt.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = neovim-qt-git
|
||||
|
12
neovim-qt-git/.gitrepo
Normal file
12
neovim-qt-git/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/neovim-qt-git.git
|
||||
branch = master
|
||||
commit = 767875bc74d6d58ac011cdb097982492d87dddeb
|
||||
parent = 594dca0d0b7758921e4c4c8f36a8de6a88626f59
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
67
neovim-qt-git/PKGBUILD
Normal file
67
neovim-qt-git/PKGBUILD
Normal file
@ -0,0 +1,67 @@
|
||||
# Maintainer: Aaron Abbott <aabmass at gmail dot com>
|
||||
pkgname=neovim-qt-git
|
||||
pkgver=v0.2.8.r0.g6e54e82
|
||||
pkgrel=1
|
||||
pkgdesc="A Qt gui for Neovim (Neovim RPC and GUI using Qt5)."
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/equalsraf/neovim-qt"
|
||||
license=('custom')
|
||||
groups=()
|
||||
# not sure which qt5 dependency to add
|
||||
depends=('neovim' 'qt5-base' 'msgpack-c' 'libxkbcommon-x11')
|
||||
makedepends=('git' 'cmake')
|
||||
provides=()
|
||||
conflicts=('neovim-qt')
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=neovim-qt-git.install
|
||||
source=("${pkgname}::git+${url}.git")
|
||||
noextract=()
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
( set -o pipefail
|
||||
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
)
|
||||
}
|
||||
|
||||
build() {
|
||||
mkdir -p "${pkgname}/build"
|
||||
cd "${pkgname}/build"
|
||||
|
||||
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release \
|
||||
-DUSE_SYSTEM_MSGPACK=ON -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
|
||||
make ${MAKEFLAGS}
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}/build"
|
||||
|
||||
## cmake isn't configured to install anything, do it on our own
|
||||
# install the binaries and libs
|
||||
install -D -m755 bin/nvim-qt "${pkgdir}/usr/bin/nvim-qt"
|
||||
install -D -m644 lib/libneovim-qt.a "${pkgdir}/usr/lib/libneovim-qt.a"
|
||||
|
||||
## install any plugins packaged with nvim-qt
|
||||
# need to cd so find outputs regular paths
|
||||
cd ../src/gui/runtime
|
||||
|
||||
# find .vim and .txt files and install them into pkgdir
|
||||
find . -type f -regex ".*\.\(vim\|txt\)" \
|
||||
-exec install -D -m644 {} ${pkgdir}/usr/share/nvim/runtime/{} \;
|
||||
|
||||
# go back to the previous dir
|
||||
cd -
|
||||
|
||||
## other files to install
|
||||
# install the custom license
|
||||
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
# install desktop files
|
||||
install -D -m644 ../src/gui/nvim-qt.desktop "${pkgdir}"/usr/share/applications/nvim-qt.desktop
|
||||
install -D -m644 ../third-party/neovim.png "${pkgdir}"/usr/share/pixmaps/nvim-qt.png
|
||||
}
|
17
neovim-qt-git/neovim-qt-git.install
Normal file
17
neovim-qt-git/neovim-qt-git.install
Normal file
@ -0,0 +1,17 @@
|
||||
post_install() {
|
||||
echo -n ":: Updating nvim help tags..."
|
||||
|
||||
# updates the nvim help tags index to include the doc files that were
|
||||
# just installed with neovim-qt-git, e.g. nvim_gui_shim.txt
|
||||
/usr/bin/nvim --noplugin -u NONE -U NONE \
|
||||
--cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
21
squeekboard/.SRCINFO
Normal file
21
squeekboard/.SRCINFO
Normal file
@ -0,0 +1,21 @@
|
||||
pkgbase = squeekboard
|
||||
pkgdesc = Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone
|
||||
pkgver = 1.14.0
|
||||
pkgrel = 1
|
||||
url = https://source.puri.sm/Librem5/squeekboard
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = GPL3
|
||||
makedepends = pkg-config
|
||||
makedepends = meson
|
||||
makedepends = intltool
|
||||
makedepends = rust
|
||||
makedepends = gtk-doc
|
||||
depends = feedbackd
|
||||
depends = gnome-desktop
|
||||
depends = python
|
||||
source = https://source.puri.sm/Librem5/squeekboard/-/archive/v1.14.0/squeekboard-v1.14.0.tar.gz
|
||||
sha256sums = cc83ade8d507d7651e15c07ddf749450f72bdff0d650598b45f3395e47ddda38
|
||||
|
||||
pkgname = squeekboard
|
||||
|
12
squeekboard/.gitrepo
Normal file
12
squeekboard/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/squeekboard.git
|
||||
branch = master
|
||||
commit = 0056374bcaa07da733681740cbde7d7394cb38ca
|
||||
parent = 96ec7cfe755ef2058a8c7db0e4081e3c6f7fc9c4
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
36
squeekboard/PKGBUILD
Normal file
36
squeekboard/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Maintainer: Philip Goto <philip.goto@gmail.com>
|
||||
|
||||
pkgname=squeekboard
|
||||
pkgver=1.14.0
|
||||
pkgrel=1
|
||||
pkgdesc='Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone'
|
||||
url='https://source.puri.sm/Librem5/squeekboard'
|
||||
license=(GPL3)
|
||||
arch=(x86_64 aarch64)
|
||||
depends=(
|
||||
feedbackd
|
||||
gnome-desktop
|
||||
python
|
||||
)
|
||||
makedepends=(
|
||||
pkg-config
|
||||
meson
|
||||
intltool
|
||||
rust
|
||||
gtk-doc
|
||||
)
|
||||
source=("${url}/-/archive/v${pkgver}/squeekboard-v${pkgver}.tar.gz")
|
||||
sha256sums=('cc83ade8d507d7651e15c07ddf749450f72bdff0d650598b45f3395e47ddda38')
|
||||
|
||||
build() {
|
||||
arch-meson "squeekboard-v${pkgver}" build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build --print-errorlogs
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="${pkgdir}" meson install -C build
|
||||
}
|
16
tllist/.SRCINFO
Normal file
16
tllist/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
||||
pkgbase = tllist
|
||||
pkgdesc = A typed linked list C header file only library
|
||||
pkgver = 1.0.5
|
||||
pkgrel = 2
|
||||
url = https://codeberg.org/dnkl/tllist
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = meson
|
||||
makedepends = ninja
|
||||
source = tllist-1.0.5.tar.gz::https://codeberg.org/dnkl/tllist/archive/1.0.5.tar.gz
|
||||
sha512sums = e8d55a727de56956c6823297e92ba4656292096ece7d22f3d8834b86811ede9b2fdca580bea55e0beda35322f418140357770592d85c0c07ea09c1642c7ff1e9
|
||||
|
||||
pkgname = tllist
|
||||
|
7
tllist/.gitignore
vendored
Normal file
7
tllist/.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# Whitelist
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
|
||||
# Blacklist
|
||||
*
|
||||
|
12
tllist/.gitrepo
Normal file
12
tllist/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/tllist.git
|
||||
branch = master
|
||||
commit = 4272b4fdaac169d9251aa740d62e5825c28b5a71
|
||||
parent = 2e56cc4855bd374e39848abc629fd6a9604371a8
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
23
tllist/PKGBUILD
Normal file
23
tllist/PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
||||
# Maintainer: lmartinez
|
||||
pkgname=tllist
|
||||
pkgver=1.0.5
|
||||
pkgrel=2
|
||||
pkgdesc="A typed linked list C header file only library"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://codeberg.org/dnkl/tllist"
|
||||
license=('MIT')
|
||||
makedepends=('git' 'meson' 'ninja')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
||||
sha512sums=('e8d55a727de56956c6823297e92ba4656292096ece7d22f3d8834b86811ede9b2fdca580bea55e0beda35322f418140357770592d85c0c07ea09c1642c7ff1e9')
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
meson --prefix=/usr --buildtype=release build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
DESTDIR="$pkgdir/" ninja -C build install
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
@ -1,19 +1,23 @@
|
||||
pkgbase = ydotool
|
||||
pkgdesc = Generic command-line automation tool (no X!)
|
||||
pkgver = 0.2.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/ReimuNotMoe/ydotool
|
||||
install = ydotool.install
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
arch = aarch64
|
||||
license = AGPL3
|
||||
makedepends = cmake
|
||||
makedepends = ninja
|
||||
makedepends = boost
|
||||
makedepends = scdoc
|
||||
depends = libevdevplus
|
||||
depends = libuinputplus
|
||||
depends = boost-libs
|
||||
source = https://github.com/ReimuNotMoe/ydotool/archive/v0.2.0.tar.gz
|
||||
source = https://github.com/ReimuNotMoe/ydotool/pull/96.patch
|
||||
source = 80-uinput.rules
|
||||
sha256sums = 2311b003d2ff383f3348f17101f0df74f56616d530d66d0a014a52ba85a5dcf1
|
||||
sha256sums = f462b5f62306a5431e5aa39d1a8ba670300f7304a15cc720af5ded65193eaeda
|
||||
sha256sums = e092f5e7e474aec6c980c458046d0ff11b18750b53de2bf0a0aba1ca26e6d58e
|
||||
|
||||
pkgname = ydotool
|
||||
|
||||
|
2
ydotool/.gitignore
vendored
2
ydotool/.gitignore
vendored
@ -1,4 +1,6 @@
|
||||
*
|
||||
!80-uinput.rules
|
||||
!ydotool.install
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.gitignore
|
||||
|
@ -6,7 +6,7 @@
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/ydotool
|
||||
branch = master
|
||||
commit = 35ccdc8fd314177d829a3a558cd285da6dbc0125
|
||||
parent = 8ba772bacca6ab58a787e573552067bb957f5f3e
|
||||
commit = 3d582f978636ffcd1e98be5a6a0f476a41863f41
|
||||
parent = 2384d984319aab21ca7ccbca3699a68f8513e226
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
||||
|
3
ydotool/80-uinput.rules
Normal file
3
ydotool/80-uinput.rules
Normal file
@ -0,0 +1,3 @@
|
||||
## ydotoold fix
|
||||
## https://github.com/ReimuNotMoe/ydotool/issues/25#issuecomment-535842993
|
||||
KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput"
|
@ -2,38 +2,39 @@
|
||||
|
||||
pkgname=ydotool
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Generic command-line automation tool (no X!)"
|
||||
arch=('x86_64')
|
||||
depends=('libevdevplus' 'libuinputplus' 'boost-libs')
|
||||
makedepends=('cmake' 'ninja' 'boost' 'scdoc')
|
||||
arch=('x86_64' 'aarch64')
|
||||
depends=('libevdevplus' 'libuinputplus')
|
||||
makedepends=('cmake' 'ninja' 'scdoc')
|
||||
url="https://github.com/ReimuNotMoe/ydotool"
|
||||
license=('MIT')
|
||||
source=("$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('2311b003d2ff383f3348f17101f0df74f56616d530d66d0a014a52ba85a5dcf1')
|
||||
license=('AGPL3')
|
||||
source=("$url/archive/v$pkgver.tar.gz"
|
||||
"$url/pull/96.patch"
|
||||
"80-uinput.rules")
|
||||
sha256sums=('2311b003d2ff383f3348f17101f0df74f56616d530d66d0a014a52ba85a5dcf1'
|
||||
'f462b5f62306a5431e5aa39d1a8ba670300f7304a15cc720af5ded65193eaeda'
|
||||
'e092f5e7e474aec6c980c458046d0ff11b18750b53de2bf0a0aba1ca26e6d58e')
|
||||
install=ydotool.install
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
patch -sp1 -i ../96.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_MANDIR=/usr/share/man \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCXXOPTS_ENABLE_INSTALL=OFF \
|
||||
-G Ninja \
|
||||
-S "$pkgname-$pkgver" -B build
|
||||
ninja -C build
|
||||
|
||||
scdoc < "$pkgname-$pkgver"/manpage/ydotool.1.scd > "build/ydotool.1"
|
||||
scdoc < "$pkgname-$pkgver"/manpage/ydotoold.8.scd > "build/ydotoold.8"
|
||||
}
|
||||
|
||||
package() {
|
||||
#TODO: install is broken upstream
|
||||
# DESTDIR="$pkgdir" ninja -C build install
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
|
||||
install -Dm755 build/ydotool "$pkgdir/usr/bin/ydotool"
|
||||
install -Dm755 build/ydotoold "$pkgdir/usr/bin/ydotoold"
|
||||
|
||||
install -Dm644 build/ydotool.1 "$pkgdir/usr/share/man/man1/ydotool.1"
|
||||
install -Dm644 build/ydotoold.8 "$pkgdir/usr/share/man/man8/ydotoold.8"
|
||||
|
||||
install -Dm644 "$pkgname-$pkgver"/Daemon/ydotool.service "$pkgdir/usr/lib/systemd/user/ydotool.service"
|
||||
install -Dm644 80-uinput.rules "$pkgdir/etc/udev/rules.d/80-uinput.rules"
|
||||
}
|
||||
|
8
ydotool/ydotool.install
Normal file
8
ydotool/ydotool.install
Normal file
@ -0,0 +1,8 @@
|
||||
post_install() {
|
||||
echo 'Make sure your user is in the `input` group by running the following command:'
|
||||
echo ' $ usermod -aG input $USER'
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user