mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-27 13:58:27 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d7c9fcd8ef | |||
| ab4ad5a641 | |||
| ccf1ab2eba | |||
| 160fa5d2d9 | |||
| ef7b9a6958 | |||
| a61b10829e |
@@ -25,7 +25,6 @@ BuildRequires: kf6-kwindowsystem-devel
|
||||
BuildRequires: qt6-qtbase-devel
|
||||
BuildRequires: qt6-qtdeclarative-devel
|
||||
BuildRequires: qt6-qtsvg-devel
|
||||
BuildRequires: cmake(KF6IconThemes)
|
||||
|
||||
Requires: tailscale
|
||||
Requires: kf5-qqc2-desktop-style
|
||||
@@ -43,6 +42,8 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%prep
|
||||
%autosetup -n KTailctl-%{version}
|
||||
cd src/wrapper
|
||||
go mod vendor
|
||||
|
||||
%conf
|
||||
%cmake
|
||||
@@ -57,12 +58,12 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/ktailctl
|
||||
%dnl %{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/*.qml
|
||||
%dnl %{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/*.version
|
||||
%dnl %{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/*.qmltypes
|
||||
%dnl %{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/qmldir
|
||||
%{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/*.qml
|
||||
%{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/*.version
|
||||
%{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/*.qmltypes
|
||||
%{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/qmldir
|
||||
# Exclusive libs that the package needs to run
|
||||
%dnl %{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/libktailctl_components.so
|
||||
%{_libdir}/qt6/qml/org/fkoehler/KTailctl/Components/libktailctl_components.so
|
||||
%{_libdir}/libktailctl_wrapper_logging.so
|
||||
%{_appsdir}/org.fkoehler.KTailctl.desktop
|
||||
%{_scalableiconsdir}/org.fkoehler.KTailctl.svg
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "golang-github-equicord-equilotl.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
# 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
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("Equicord/Equilotl"));
|
||||
Reference in New Issue
Block a user