mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-27 13:58:27 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9fc0de895d | |||
| 4afd5633e3 | |||
| d69ac2eb52 | |||
| ad12642875 |
@@ -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 = "astra.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
%global appid dev.astramusic.astra
|
||||
%global ver 0.6.1-beta
|
||||
|
||||
Name: astra
|
||||
%electronmeta -D
|
||||
Version: %(echo %ver | sed 's/-/~/')
|
||||
Release: 1%?dist
|
||||
Summary: A desktop music player for people who still have a music library
|
||||
License: GPL-3.0-only AND %electron_license
|
||||
URL: https://astramusic.dev
|
||||
Source0: https://github.com/Boof2015/astra/archive/refs/tags/v%ver.tar.gz
|
||||
BuildRequires: nodejs-npm nodejs-packaging
|
||||
|
||||
%description
|
||||
Audiophile music player with gapless playback, parametric EQ, AutoEQ import, and real-time DSP visualizers.
|
||||
|
||||
%prep
|
||||
%autosetup -n %name-%ver
|
||||
|
||||
%build
|
||||
%npm_build -BV -M production
|
||||
# HACK: temporary fix for %%npm_build not echoing that into the file
|
||||
echo "$WEBAPP_BUILD_TOOL" > ../webapp-tool.txt
|
||||
%__nodejs ./scripts/build/writeAppBuildMetadata.cjs
|
||||
|
||||
%install
|
||||
mv ./dist/*.AppImage dist/%name.%["%_arch" == "x86_64" ? "x86_64" : "arm64"].AppImage
|
||||
%electron_install -I -D
|
||||
|
||||
%terra_appstream
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%_bindir/%name
|
||||
%_libdir/%name
|
||||
%_appsdir/%name.desktop
|
||||
%_metainfodir/%appid.metainfo.xml
|
||||
%_hicolordir/*/apps/%name.png
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("Boof2015/astra"));
|
||||
Reference in New Issue
Block a user