mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-27 13:58:27 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4723fff850 | |||
| fc213ab1bd | |||
| e05b9d5a61 |
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "golang-github-equicord-equilotl.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
# Generated by go2rpm 1.19.0
|
||||
%bcond check 1
|
||||
%bcond bootstrap 0
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# https://github.com/Equicord/Equilotl
|
||||
%global goipath github.com/Equicord/Equilotl
|
||||
Version: 2.2.6
|
||||
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
A cross platform gui/cli app for installing Equicord.}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs README.md
|
||||
|
||||
Name: equilotl
|
||||
Release: %autorelease
|
||||
Summary: A cross platform gui app for installing Equicord
|
||||
|
||||
License: GPL-3.0-only
|
||||
URL: %{gourl}
|
||||
Source: %{gosource}
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: pkg-config libGL-devel libXxf86vm-devel gcc-c++
|
||||
BuildRequires: wayland-devel libxkbcommon-devel wayland-protocols-devel extra-cmake-modules
|
||||
BuildRequires: libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel
|
||||
RemovePathPostFixes: .wayland
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%package cli
|
||||
Summary: A cross platform cli app for installing Equicord
|
||||
RemovePathPostFixes: .cli
|
||||
%description cli %{common_description}
|
||||
|
||||
%package x11
|
||||
Summary: A cross platform gui (X11) app for installing Equicord
|
||||
RemovePathPostFixes: .x11
|
||||
%description x11 %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep -A
|
||||
%autopatch -p1
|
||||
|
||||
%if %{without bootstrap}
|
||||
%build
|
||||
%define gomodulesmode GO111MODULE=on
|
||||
export GO_BUILDTAGS="wayland"
|
||||
%gobuild -o %{gobuilddir}/bin/Equilotl.wayland equilotl
|
||||
export GO_BUILDTAGS=""
|
||||
%gobuild -o %{gobuilddir}/bin/Equilotl.x11 equilotl
|
||||
export GO_BUILDTAGS="cli"
|
||||
%gobuild -o %{gobuilddir}/bin/Equilotl.cli equilotl
|
||||
%endif
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
%if %{without bootstrap}
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/Equilotl.wayland
|
||||
|
||||
%files cli
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/Equilotl.cli
|
||||
|
||||
%files x11
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/Equilotl.x11
|
||||
%endif
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
* Sat Jun 27 2026 madonuko <mado@fyralabs.com> - 2.2.6-1
|
||||
- Initial package
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("Equicord/Equilotl"));
|
||||
@@ -52,7 +52,7 @@
|
||||
%global fontdescription %{expand:
|
||||
Versatile typeface for code, from code.}
|
||||
|
||||
Version: 34.6.3
|
||||
Version: 34.7.0
|
||||
Release: 1%{?dist}
|
||||
Packager: Cappy Ishihara <cappy@fyralabs.com>
|
||||
Summary: Versatile typeface for code, from code.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Disabled because compiled without debug
|
||||
|
||||
%global goipath github.com/XTLS/Xray-core
|
||||
Version: 26.6.22
|
||||
Version: 26.6.27
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs README.md SECURITY.md CODE_OF_CONDUCT.md
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5
|
||||
%global commit da247eb378287b435fa2963bfaee634bda96caac
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20260627
|
||||
%global ver 1.0
|
||||
%global modulename xpad-noone
|
||||
%global debug_package %{nil}
|
||||
@@ -10,14 +10,11 @@ This is the original upstream xpad driver from the Linux kernel with support for
|
||||
|
||||
Name: %{modulename}-kmod
|
||||
Version: %{ver}^%{commitdate}git.%{shortcommit}
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
Summary: xpad driver with support for XBox One controllers removed
|
||||
URL: https://github.com/medusalix/xpad-noone
|
||||
URL: https://github.com/Jan200101/xpad-noone
|
||||
Source0: %{url}/archive/%{commit}/%{modulename}-%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz
|
||||
# Fix kmod compilation on kernel 6.18+
|
||||
Patch0: https://github.com/medusalix/xpad-noone/pull/8.patch
|
||||
Patch1: https://github.com/medusalix/xpad-noone/pull/9.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: kmodtool
|
||||
BuildRequires: make
|
||||
@@ -37,7 +34,7 @@ Packager: Gilver E. <roachy@fyralabs.com>
|
||||
|
||||
kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
|
||||
|
||||
%autosetup -n %{modulename}-%{commit} -p1
|
||||
%autosetup -c %{modulename}-%{commit}
|
||||
|
||||
for kernel_version in %{?kernel_versions} ; do
|
||||
cp -a %{modulename}-%{commit} _kmod_build_${kernel_version%%___*}
|
||||
@@ -57,5 +54,8 @@ done
|
||||
%{?akmod_install}
|
||||
|
||||
%changelog
|
||||
* Sat Jun 27 2026 Jan200101 <sentrycraft123@gmail.com> - 1.0^20260627git.da247eb-7
|
||||
- Update package to use updated fork
|
||||
|
||||
* Fri Mar 07 2025 Gilver E. <rockgrub@disroot.org>
|
||||
- Initial package
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5
|
||||
%global commit da247eb378287b435fa2963bfaee634bda96caac
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20260627
|
||||
%global ver 1.0
|
||||
%global modulename xpad-noone
|
||||
%global _description %{expand:
|
||||
@@ -8,15 +8,12 @@ This is the original upstream xpad driver from the Linux kernel with support for
|
||||
|
||||
Name: dkms-%{modulename}
|
||||
Version: %{ver}^%{commitdate}git.%{shortcommit}
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
Summary: xpad driver with support for XBox One controllers removed
|
||||
URL: https://github.com/medusalix/xpad-noone
|
||||
URL: https://github.com/Jan200101/xpad-noone
|
||||
Source0: %{url}/archive/%{commit}/%{modulename}-%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz
|
||||
Source1: no-weak-modules.conf
|
||||
# Fix kmod compilation on kernel 6.18+
|
||||
Patch0: https://github.com/medusalix/xpad-noone/pull/8.patch
|
||||
Patch1: https://github.com/medusalix/xpad-noone/pull/9.patch
|
||||
Requires: %{modulename} = %{?epoch:%{epoch}:}%{version}
|
||||
Requires: dkms
|
||||
Conflicts: akmod-%{modulename}
|
||||
@@ -26,7 +23,7 @@ Packager: Gilver E. <roachy@fyralabs.com>
|
||||
%description %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n %{modulename}-%{commit} -p1
|
||||
%autosetup -n %{modulename}-%{commit}
|
||||
|
||||
%build
|
||||
|
||||
@@ -54,5 +51,8 @@ dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || :
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Jun 27 2026 Jan200101 <sentrycraft123@gmail.com> - 1.0^20260627git.da247eb-5
|
||||
- Update package to use updated fork
|
||||
|
||||
* Fri Mar 07 2025 Gilver E. <rockgrub@disroot.org>
|
||||
- Initial package
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
rpm.global("commit", gh_commit("medusalix/xpad-noone"));
|
||||
rpm.global("commit", gh_commit("Jan200101/xpad-noone"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commitdate", date());
|
||||
let html = get(`https://raw.githubusercontent.com/medusalix/xpad-noone/refs/heads/master/dkms.conf`);
|
||||
let html = get(`https://raw.githubusercontent.com/Jan200101/xpad-noone/refs/heads/master/dkms.conf`);
|
||||
let v = find("PACKAGE_VERSION=\"([\\d.]+)\"", html, 1);
|
||||
rpm.global("ver", v);
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5
|
||||
%global commit da247eb378287b435fa2963bfaee634bda96caac
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20260627
|
||||
%global ver 1.0
|
||||
%global _description %{expand:
|
||||
This is the original upstream xpad driver from the Linux kernel with support for XBox One controllers removed. If you are running the xone driver you may have to replace the xpad kernel module with this one to retain the functionality of XBox and XBox 360 controllers.}
|
||||
|
||||
Name: xpad-noone
|
||||
Version: %{ver}^%{commitdate}git.%{shortcommit}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
Summary: xpad driver with support for XBox One controllers removed
|
||||
URL: https://github.com/medusalix/xpad-noone
|
||||
URL: https://github.com/Jan200101/xpad-noone
|
||||
Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
|
||||
BuildRequires: sed
|
||||
BuildRequires: systemd-rpm-macros
|
||||
@@ -48,5 +48,8 @@ install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir}
|
||||
%{_modulesloaddir}/%{name}.conf
|
||||
|
||||
%changelog
|
||||
* Sat Jun 27 2026 Jan200101 <sentrycraft123@gmail.com> - 1.0^20260627git.da247eb-4
|
||||
- Update package to use updated fork
|
||||
|
||||
* Fri Mar 07 2025 Gilver E. <rockgrub@disroot.org>
|
||||
- Initial package
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anda-srpm-macros
|
||||
Version: 0.3.11
|
||||
Version: 0.3.12
|
||||
Release: 1%{?dist}
|
||||
Summary: SRPM macros for extra Fedora packages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user