Package Details: libinput-config-git r79.1d649f7-1

Git Clone URL: https://aur.archlinux.org/libinput-config-git.git (read-only, click to copy)
Package Base: libinput-config-git
Description: Configuration system for libinput
Upstream URL: https://gitlab.com/warningnonpotablewater/libinput-config
Licenses: ISC
Conflicts: libinput-config
Provides: libinput-config
Submitter: gabmus
Maintainer: None
Last Packager: eclairevoyant
Votes: 7
Popularity: 0.92
First Submitted: 2021-12-15 09:20 (UTC)
Last Updated: 2023-05-01 19:16 (UTC)

Latest Comments

eclairevoyant commented on 2023-05-01 19:16 (UTC)

Also it's not the 0BSD license, it's the ISC license (which has very similar but distinctly different wording)

eclairevoyant commented on 2023-04-02 17:06 (UTC) (edited on 2023-04-02 17:06 (UTC) by eclairevoyant)

No, the non-glibc option should be kept, because pacman can only consider one package to be the owner of a file, and so if another package wants to touch that file it will conflict with this one. I'd suggest reading the README section "How it works" or better yet the meson.build itself to show why.

Keep in mind the non-glibc option doesn't do anything negative on glibc systems, it just adds compatibility with non-glibc systems.

flipflop97 commented on 2023-04-02 09:12 (UTC) (edited on 2023-04-02 09:12 (UTC) by flipflop97)

I updated the PKGBUILD with the new URL, fixed dependencies, license and arch, and disabled the non-glibc option, since Arch uses glibc anyways and it fixes the warnings spam.

# Maintainer: Gabriele Musco <gabmus@disroot.org>

pkgname=libinput-config-git
pkgver=r79.1d649f7
pkgrel=1
pkgdesc="Configuration system for libinput"
arch=('x86_64')
url="https://gitlab.com/warningnonpotablewater/libinput-config"
license=('BSD')
depends=('glibc' 'libinput')
makedepends=('git' 'meson')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://gitlab.com/warningnonpotablewater/libinput-config.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    # git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    arch-meson "${pkgname%-git}" build
    meson compile -C build
}

check() {
    meson test -C build --print-errorlogs
}

package() {
    install -Dm644 /dev/null "${pkgdir}/etc/ld.so.preload"
    meson install -C build --destdir "${pkgdir}"
    install -Dm644 "${srcdir}/libinput-config/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

eclairevoyant commented on 2023-02-25 02:22 (UTC)

gcc should be removed from and git should be added to makedepends (gcc is part of base-devel group)

Also, the upstream URL has changed to https://gitlab.com/warningnonpotablewater/libinput-config (and the corresponding git source changed accordingly).

@Perfecon Read the "How it works" section of the README for why the non_glibc flag is needed here.

Perfecon commented on 2022-10-29 17:08 (UTC)

Is there a reason why this uses meson configure -Dnon_glibc=true ? The project's README says that this should only be used for non-glibc systems.