chore(sync): 39 -> 38 (#954)

This commit is contained in:
madomado
2024-02-20 05:49:50 +08:00
committed by GitHub
parent 56f93ab26d
commit b0a1d682a2
44 changed files with 537 additions and 95 deletions
@@ -6,8 +6,8 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary-openasar
Version: 0.0.276
Release: 1%{?dist}
Version: 0.0.282
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
URL: https://github.com/GooseMod/OpenAsar
+2 -2
View File
@@ -6,8 +6,8 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary
Version: 0.0.276
Release: 1%{?dist}
Version: 0.0.282
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: discord.com
Source0: https://dl-canary.discordapp.net/apps/linux/%{version}/discord-canary-%{version}.tar.gz
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-openasar
Version: 0.0.42
Version: 0.0.43
Release: 1%{?dist}
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
@@ -6,8 +6,8 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-ptb-openasar
Version: 0.0.67
Release: 1%{?dist}
Version: 0.0.69
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
URL: https://github.com/GooseMod/OpenAsar
+2 -2
View File
@@ -6,8 +6,8 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-ptb
Version: 0.0.67
Release: 1%{?dist}
Version: 0.0.69
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers.
URL: https://discord.com
Source0: https://dl-ptb.discordapp.net/apps/linux/%{version}/discord-ptb-%{version}.tar.gz
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord
Version: 0.0.42
Version: 0.0.43
Release: 1%{?dist}
Summary: Free Voice and Text Chat for Gamers
URL: https://discord.com
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "feishin.spec"
}
}
+70
View File
@@ -0,0 +1,70 @@
%define debug_package %nil
%global _build_id_links none
# Exclude private libraries
%global __requires_exclude libffmpeg.so
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: feishin
Version: 0.5.3
Release: 1%?dist
Summary: A modern self-hosted music player
License: GPL-3.0
URL: https://github.com/jeffvli/feishin
Source0: %url/archive/refs/tags/v%version.tar.gz
Requires: fuse mpv
BuildRequires: nodejs-npm jq libxcrypt-compat
%description
%summary.
%prep
%autosetup
cat package.json | jq '.author += { "email": "jeffvictorli@gmail.com" }' | jq '.build.linux += { "maintainer": "mado@fyralabs.com", "vendor": "Fyra Labs Terra" }' > a
mv a package.json
cat package.json
cat<<EOF > feishin.desktop
[Desktop Entry]
Type=Application
Name=Feishin
Comment=Rewrite of Sonixd
Exec=/usr/bin/feishin
Icon=feishin
Terminal=false
Categories=Network;Audio;Music
Keywords=Music;Jellyfin;Audio;Stream;Sonixd
EOF
%build
npm i --legacy-peer-deps update-browserslist-db@latest
npm audit fix --force
npx update-browserslist-db@latest
npm run build
%ifarch x86_64
%define a linux
%elifarch aarch64
%define a arm64
%endif
npx electron-builder --linux dir --%a
%install
mkdir -p %buildroot%_datadir/{pixmaps,applications} %buildroot%_bindir
mv release/build/*-unpacked %buildroot%_datadir/feishin
install -Dm644 assets/icons/icon.png %buildroot%_datadir/pixmaps/feishin.png
ln -s %_datadir/feishin/feishin %buildroot%_bindir/feishin
install -Dm644 feishin.desktop %buildroot%_datadir/applications/
%files
%doc README.md CHANGELOG.md
%license LICENSE
%_bindir/feishin
%_datadir/feishin/
%_datadir/applications/feishin.desktop
%_datadir/pixmaps/feishin.png
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("jeffvli/feishin"));
+8
View File
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "mpv-nightly.spec"
}
labels {
nightly = "1"
}
}
+230
View File
@@ -0,0 +1,230 @@
%global commit 443c2487d7dd1039e297abad6398135b3c463018
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 240218
%global ver 0.37.0
Name: mpv-nightly
Version: %ver^%commit_date.%shortcommit
Release: 1%{?dist}
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Summary: Movie player playing most video formats and DVDs
URL: https://mpv.io/
Source0: https://github.com/mpv-player/mpv/archive/%commit/mpv-%commit.tar.gz
Conflicts: mpv
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: libappstream-glib
BuildRequires: libatomic
BuildRequires: meson
BuildRequires: python3-docutils
BuildRequires: perl(Encode)
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(Math::BigRat)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(caca)
BuildRequires: pkgconfig(dvdnav)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(ffnvcodec)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libarchive) >= 3.4.0
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libavcodec) >= 59.27.100
BuildRequires: pkgconfig(libavdevice) >= 58.13.100
BuildRequires: pkgconfig(libavfilter) >= 7.110.100
BuildRequires: pkgconfig(libavformat) >= 59.24.100
BuildRequires: pkgconfig(libavutil) >= 57.24.100
BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.19
BuildRequires: pkgconfig(libplacebo) >= 6.338.0
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libswresample) >= 3.9.100
BuildRequires: pkgconfig(libswscale) >= 5.9.100
BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(lua-5.1)
BuildRequires: pkgconfig(mujs)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(rubberband)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(shaderc)
BuildRequires: pkgconfig(uchardet) >= 0.0.5
BuildRequires: pkgconfig(vapoursynth)
BuildRequires: pkgconfig(vdpau)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xpresent)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(zimg) >= 2.9
BuildRequires: pkgconfig(zlib)
Requires: hicolor-icon-theme
Provides: mplayer-backend
Recommends: (yt-dlp or youtube-dl)
Suggests: yt-dlp
%description
Mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
of video file formats, audio and video codecs, and subtitle types. Special
input URL types are available to read input from a variety of sources other
than disk files. Depending on platform, a variety of different video and audio
output methods are supported.
Mpv has an OpenGL, Vulkan, and D3D11 based video output that is capable of many
features loved by videophiles, such as video scaling with popular high quality
algorithms, color management, frame timing, interpolation, HDR, and more.
While mpv strives for minimalism and provides no real GUI, it has a small
controller on top of the video for basic control.
Mpv can leverage most hardware decoding APIs on all platforms. Hardware
decoding can be enabled at runtime on demand.
Powerful scripting capabilities can make the player do almost anything. There
is a large selection of user scripts on the wiki.
A straightforward C API was designed from the ground up to make mpv usable as
a library and facilitate easy integration into other applications.
%package libs
Summary: Dynamic library for Mpv frontends
%description libs
This package contains the dynamic library libmpv, which provides access to Mpv.
%package devel
Summary: Development package for libmpv
Provides: mpv-libs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: mpv-nightly-libs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: mpv-libs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: mpv-nightly-libs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Requires: mpv-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: mpv-nightly-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
This package contains development header files and libraries for Mpv.
%prep
%autosetup -p1 -n mpv-%commit
sed -e "s|/usr/local/etc|%{_sysconfdir}/mpv|" -i etc/mpv.conf
%build
%meson --auto-features=auto \
-Dalsa=enabled \
-Dbuild-date=false \
-Dcaca=enabled \
-Dcdda=enabled \
-Dcplayer=true \
-Dcplugins=enabled \
-Dcuda-hwaccel=enabled \
-Dcuda-interop=enabled \
-Ddmabuf-wayland=enabled \
-Ddrm=enabled \
-Ddvbin=enabled \
-Ddvdnav=enabled \
-Degl-drm=enabled \
-Degl-wayland=enabled \
-Degl-x11=enabled \
-Degl=enabled \
-Dgbm=enabled \
-Dgl-x11=enabled \
-Dgl=enabled \
-Dhtml-build=enabled \
-Diconv=enabled \
-Djack=enabled \
-Djavascript=enabled \
-Djpeg=enabled \
-Dlcms2=enabled \
-Dlibarchive=enabled \
-Dlibavdevice=enabled \
-Dlibbluray=enabled \
-Dlibmpv=true \
-Dlua=enabled \
-Dmanpage-build=enabled \
-Dopenal=enabled \
-Dopensles=disabled \
-Doss-audio=disabled \
-Dpipewire=enabled \
-Dplain-gl=enabled \
-Dpulse=enabled \
-Drubberband=enabled \
-Dsdl2-audio=enabled \
-Dsdl2-gamepad=enabled \
-Dsdl2-video=enabled \
-Dsdl2=enabled \
-Dsndio=disabled \
-Dspirv-cross=disabled \
-Duchardet=enabled \
-Dvaapi-drm=enabled \
-Dvaapi-wayland=enabled \
-Dvaapi-x11=enabled \
-Dvaapi=enabled \
-Dvapoursynth=enabled \
-Dvdpau-gl-x11=enabled \
-Dvdpau=enabled \
-Dvector=enabled \
-Dvulkan-interop=disabled \
-Dvulkan=enabled \
-Dwayland=enabled \
-Dwerror=false \
-Dx11=enabled \
-Dxv=enabled \
-Dzimg=enabled \
-Dzlib=enabled
%meson_build
%install
%meson_install
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/mpv.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/mpv.desktop
%files
%docdir %{_docdir}/mpv/
%license LICENSE.GPL LICENSE.LGPL Copyright
%{_docdir}/mpv/
%{_bindir}/mpv
%{_datadir}/applications/mpv.desktop
%dir %{_datadir}/bash-completion/
%dir %{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/completions/mpv
%{_datadir}/icons/hicolor/*/apps/mpv*.*
%dir %{_datadir}/zsh/
%dir %{_datadir}/zsh/site-functions/
%{_datadir}/zsh/site-functions/_mpv
%{_mandir}/man1/mpv.*
%{_metainfodir}/mpv.metainfo.xml
%dir %{_sysconfdir}/mpv/
%config(noreplace) %{_sysconfdir}/mpv/encoding-profiles.conf
%files libs
%license LICENSE.GPL LICENSE.LGPL Copyright
%{_libdir}/libmpv.so.2{,.*}
%files devel
%{_includedir}/mpv/
%{_libdir}/libmpv.so
%{_libdir}/pkgconfig/mpv.pc
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
if filters.contains("nightly") {
rpm.global("commit", gh_commit("mpv-player/mpv"));
if rpm.changed() {
rpm.global("ver", gh("mpv-player/mpv"));
rpm.global("commit_date", date());
rpm.release();
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
Name: flutter
Version: 3.19.0.0.4.pre
Release: 1%{?dist}
Version: 3.19.0
Release: 1%?dist
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
License: BSD-3-Clause
URL: https://flutter.dev
+6 -1
View File
@@ -1,2 +1,7 @@
let obj = get("https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json").json();
rpm.version(obj.releases[0].version);
for release in obj.releases {
if release.channel == "stable" {
rpm.version(release.version);
break;
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
%define debug_package %{nil}
Name: moby-compose
Version: 2.24.5
Release: 1%{?dist}
Version: 2.24.6
Release: 1%?dist
Summary: Define and run multi-container applications with Docker
License: Apache-2.0
+2 -2
View File
@@ -1,8 +1,8 @@
%define debug_package %{nil}
Name: dart
Version: 3.2.6
Release: 1%{?dist}
Version: 3.3.0
Release: 1%?dist
Summary: The Dart Language
License: BSD-3-Clause
URL: https://dart.dev/
+3 -2
View File
@@ -1,10 +1,11 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global commit ae2cdcebc2d7fbf6e7eac26181baf9a88aa64cf5
%global commit 92c8c6d5f4e5a96b71bf4eca5f6a136410f97d6e
%global ver 2.1.1
%global commit_date 240219
%global debug_package %nil
Name: nim-nighlty
Version: %ver^%commit
Version: %ver^%commit_date.%commit
Release: 1%{?dist}
Summary: Imperative, multi-paradigm, compiled programming language
License: MIT and BSD
+11 -10
View File
@@ -1,12 +1,13 @@
if filters.contains("nightly") {
let comp = get("https://raw.githubusercontent.com/nim-lang/Nim/devel/lib/system/compilation.nim");
let maj = find("\\n\\s*NimMajor.+=\\s*(\\d+)\\n", comp, 1);
let min = find("\\n\\s*NimMinor.+=\\s*(\\d+)\\n", comp, 1);
let pat = find("\\n\\s*NimPatch.+=\\s*(\\d+)\\n", comp, 1);
let v = `${maj}.${min}.${pat}`;
rpm.global("ver", v);
let req = new_req("https://api.github.com/repos/nim-lang/Nim/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
rpm.global("commit", req.get().json().sha);
rpm.release();
rpm.global("commit", gh_commit("nim-lang/Nim"));
if rpm.changed() {
let comp = get("https://raw.githubusercontent.com/nim-lang/Nim/devel/lib/system/compilation.nim");
let maj = find("\\n\\s*NimMajor.+=\\s*(\\d+)\\n", comp, 1);
let min = find("\\n\\s*NimMinor.+=\\s*(\\d+)\\n", comp, 1);
let pat = find("\\n\\s*NimPatch.+=\\s*(\\d+)\\n", comp, 1);
let v = `${maj}.${min}.${pat}`;
rpm.global("ver", v);
rpm.release();
rpm.global("commit_date", date());
}
}
+46 -15
View File
@@ -3,7 +3,7 @@
Name: nim
Version: 2.0.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Imperative, multi-paradigm, compiled programming language
License: MIT and BSD
URL: https://nim-lang.org
@@ -56,30 +56,54 @@ export FCFLAGS="${FCFLAGS} -Ofast"
export PATH="$(pwd):$(pwd)/bin:${PATH}"
mold -run nim c -d:danger koch.nim
mold -run koch boot -d:useLinenoise -t:-fPIE -l:-pie
mold -run koch boot -d:useLinenoise -t:-fPIE -l:-pie -d:release -d:nativeStacktrace -d:useGnuReadline
mold -run koch docs &
(cd lib; mold -run nim c --app:lib -d:danger -d:createNimRtl -t:-fPIE -l:-pie nimrtl.nim) &
(cd lib && nim c --app:lib -d:createNimRtl -d:release nimrtl.nim) &
mold -run koch tools -t:-fPIE -l:-pie &
mold -run nim c -t:-fPIE -l:-pie -d:danger nimsuggest/nimsuggest.nim &
mold -run nim c -t:-fPIE -l:-pie -d:release nimsuggest/nimsuggest.nim &
wait
sed -i '/<link.*fonts.googleapis.com/d' doc/html/*.html
%install
export PATH="$(pwd):$(pwd)/bin:${PATH}"
sh install.sh %{buildroot}usr/bin
mkdir -p %{buildroot}/%{_bindir}
install -Dp -m755 bin/nim{,ble,grep,suggest,pretty} %{buildroot}/%{_bindir}
install -Dp -m644 tools/nim.bash-completion %{buildroot}%{bashcompdir}/nim
mkdir -p %buildroot{%_bindir,%_docdir/%name/html,%_prefix/lib/nim}
install -Dp -m755 bin/nim{,ble,grep,suggest,pretty} %buildroot/%_bindir
install -Dp -m644 dist/nimble/nimble.bash-completion %{buildroot}%{bashcompdir}/nimble
install -Dp -m644 -t%{buildroot}%{_mandir}/man1 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4
# completions
for comp in tools/*.bash-completion; do
install -Dm644 $comp %bashcompdir/$(basename "${comp/.bash-completion}")
done
for comp in tools/*.zsh-completion; do
install -Dm644 $comp %zshcompdir/_$(basename "${comp/.zsh-completion}")
done
mkdir -p %{buildroot}%{_docdir}/%{name}/html %buildroot%_prefix/lib/nim
cp -a doc/html/*.html %{buildroot}%{_docdir}/%{name}/html/
cp -a doc/html/*.html %buildroot%_docdir/%name/html/
cp tools/dochack/dochack.js %{buildroot}%{_docdir}/%{name}/
cp -r lib %buildroot%_prefix/lib/nim/
cp -a lib %buildroot%_prefix/lib/nim
cp -a compiler %buildroot%_prefix/lib/nim
install -Dm644 nim.nimble %buildroot%_prefix/lib/nim/compiler
ls **
ls %buildroot%_prefix/lib/nim/*
install -m755 lib/libnimrtl.so %buildroot%_prefix/lib/libnimrtl.so
install -Dm644 config/* -t %buildroot/etc/nim
install -Dm755 bin/* -t %buildroot%_bindir
install -d %buildroot%_includedir
cp -a %buildroot%_prefix/lib/nim/lib/*.h %buildroot%_includedir
ln -s %_datadir/nim/doc %buildroot%_prefix/lib/nim/doc
ln -s %_prefix/lib/nim %buildroot%_prefix/lib/nim/lib
rm -rf %buildroot/nim || true
rm %buildroot%_bindir/*.bat || true
%check
# export PATH=$PATH:$(realpath ./bin)
@@ -91,19 +115,26 @@ cp -r lib %buildroot%_prefix/lib/nim/
%files
%license copying.txt dist/nimble/license.txt
%doc doc/readme.txt
/etc/nim/
%_bindir/atlas
%_bindir/nim_dbg
%_bindir/nim-gdb
%_bindir/testament
%_prefix/lib/nim/
%_prefix/lib/libnimrtl.so
%{_bindir}/nim{,ble}
%{_mandir}/man1/nim{,ble}.1*
%_prefix/lib/nim/
%_includedir/cycle.h
%_includedir/nimbase.h
%files tools
%license copying.txt
%_prefix/lib/nim/
%{_bindir}/nim{grep,suggest,pretty}
%{_mandir}/man1/nim{grep,suggest}.1*
%%files doc
%files doc
%doc %{_docdir}/nim
%changelog
* Mon Jan 9 2023 windowsboy111 <windowsboy111@fyralabs.com> - 0.8.4
- Initial Package.
%autochangelog
@@ -2,8 +2,8 @@
%global pypi_name protobuf
Name: python-%{pypi_name}
Version: 4.25.2
Release: 1%{?dist}
Version: 4.25.3
Release: 1%?dist
Summary: Protocol Buffers
License: BSD-3-Clause
+2 -2
View File
@@ -1,8 +1,8 @@
%define debug_package %{nil}
Name: python3-ruff
Version: 0.2.1
Release: 1%{?dist}
Version: 0.2.2
Release: 1%?dist
Summary: An extremely fast Python linter, written in Rust
License: MIT
URL: https://beta.ruff.rs/
+1 -1
View File
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: bat-extras
Version: 2023.09.19
Version: 2024.02.12
Release: 1%{?dist}
Summary: Bash scripts that integrate bat with various command line tools
+2 -2
View File
@@ -4,8 +4,8 @@
%global crate gping
Name: rust-gping
Version: 1.16.0
Release: 1%{?dist}
Version: 1.16.1
Release: 1%?dist
Summary: Ping, but with a graph
License: MIT
@@ -1,7 +1,8 @@
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/vala-lang/vala-language-server/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
rpm.global("commit", json(req.get()).sha);
rpm.global("verrel", gh("vala-lang/vala-language-server"));
rpm.release();
rpm.global("commit", gh_commit("vala-lang/vala-language-server"));
if rpm.changed() {
rpm.global("commit_date", date());
rpm.global("verrel", gh("vala-lang/vala-language-server"));
rpm.release();
}
}
@@ -3,14 +3,14 @@
%global commit 3b5fe941bea6ecd5c8fcb84930c40b8582eea165
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date %(date '+%Y%m%d')
%global commit_date 240218
%global snapshot_info %{commit_date}.%{shortcommit}
%global verrel 0.48.7
Name: vala-language-server-nightly
Summary: Language server for the Vala programming language
Version: 0.48.7^%{snapshot_info}
Release: 1%{?dist}
Release: 1%?dist
# The entire source is LGPLv2+, except plugins/gnome-builder/vala_langserv.py, which is GPLv3+.
# It is not installed when the "plugins" meson option is set to false.
# Since GNOME Builder 41, the VLS the plugin has been included.
@@ -1,7 +1,7 @@
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/vala-lang/vala-lint/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = json(req.get()).sha;
rpm.global("commit", sha);
rpm.release();
rpm.global("commit", gh_commit("vala-lang/vala-lint"));
if rpm.changed() {
rpm.global("commit_date", date());
rpm.release();
}
}
@@ -3,13 +3,13 @@
%global commit 8ae2bb65fe66458263d94711ae4ddd978faece00
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date %(date '+%Y%m%d')
%global commit_date 240218
%global snapshot_info %{commit_date}.%{shortcommit}
Name: vala-lint-nightly
Summary: Check Vala code files for code-style errors
Version: 0.1.0^%{snapshot_info}
Release: 1%{?dist}
Release: 1%?dist
License: GPL-2.0-or-later
URL: https://github.com/vala-lang/vala-lint
+5 -4
View File
@@ -1,6 +1,7 @@
if filters.contains("nightly") {
let req = new_req("https://gitlab.gnome.org/api/v4/projects/1551/repository/branches/main");
let sha = json(req.get()).commit.id;
rpm.global("commit", sha);
rpm.release();
rpm.global("commit", gitlab_commit("gitlab.gnome.org", "1551", "main"));
if rpm.changed() {
rpm.global("commit_date", date());
rpm.release();
}
}
@@ -3,16 +3,16 @@
%global priority 90
%global real_name vala
%global commit eba39daa0c342965c0417195a44dd8f4c5944e76
%global commit 933eb2d0e41bb7fdc4fe5fc01a03254965990f3e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git
%global commit_date %(date '+%Y%m%d')
%global commit_date 240218
%global snapshot_info %{commit_date}.%{shortcommit}
Name: vala-nightly
Version: 0.58.0^%{snapshot_info}
Release: 1%{?dist}
Release: 1%?dist
Summary: A modern programming language for GNOME
# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "arrpc.spec"
}
}
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=arRPC Discord RPC daemon
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/arrpc
Restart=on-failure
[Install]
WantedBy=default.target
+53
View File
@@ -0,0 +1,53 @@
%define debug_package %nil
%global commit c6e23e7eb733ad396d3eebc328404cc656fed581
Name: arrpc
Version: 3.3.1
Release: 1%?dist
Summary: Open Discord RPC server for atypical setups
License: MIT
URL: https://arrpc.openasar.dev
Source0: https://github.com/OpenAsar/arrpc/archive/%commit.tar.gz
Source1: arrpc.service
Requires: glibc
BuildRequires: nodejs-npm systemd-rpm-macros
%description
arRPC is an open source implementation of Discord's half-documented local RPC servers for their desktop client.
This open source implementation purely in NodeJS allows it to be used in many places where it is otherwise
impossible to do: Discord web and alternative clients like ArmCord/etc. It opens a simple bridge WebSocket
server which messages the JSON of exactly what to dispatch with in the client with no extra processing needed,
allowing small and simple mods or plugins. arRPC is experimental and a work in progress, so expect bugs, etc.
%prep
%autosetup -n arrpc-%commit
# patch for using esbuild
sed -i -E 's@const server[^\n]+;@async function main() {\0@' src/index.js
sed -i -E 's@server\.on[^\n]+;@\0}\nmain();@' src/index.js
%build
npm i esbuild pkg
npx esbuild --bundle --platform=node --target=node18 --outdir=dist ./src/index.js
npx pkg -t node18-linux-x64 -o arrpc ./dist/index.js
%install
install -D -m755 arrpc %buildroot%_bindir/arrpc
install -D -m644 %SOURCE1 %buildroot%_userunitdir/arrpc.service
%post
%systemd_user_post arrpc.service
%preun
%systemd_user_preun arrpc.service
%postun
%systemd_user_postun_with_restart arrpc.service
%files
%doc README.md
%license LICENSE
%_bindir/arrpc
%_userunitdir/arrpc.service
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
let md = get("https://raw.githubusercontent.com/OpenAsar/arrpc/main/changelog.md");
rpm.version(find("(?m)^## v([\\d.]+)", md, 1));
if rpm.changed() {
rpm.global("commit", gh_commit("OpenAsar/arrpc"));
}
+1 -3
View File
@@ -1,7 +1,5 @@
let o = get("https://gitlab.com/api/v4/projects/25034025/repository/tags").json_arr()[0];
let f = rpm.f;
rpm.version(o.name);
// check if changed
if rpm.f != f {
if rpm.changed() {
rpm.global("commit", o.commit.id);
}
@@ -2,7 +2,7 @@
Name: kwin-system76-scheduler-integration
Version: 0.1
Release: 3%?dist
Release: 4%?dist
Summary: Notify the System76 Scheduler which app has focus so it can be prioritized
License: MIT
URL: https://github.com/maxiberta/kwin-system76-scheduler-integration
@@ -38,6 +38,8 @@ install -Dm644 metadata.desktop %buildroot%_datadir/kservices5/kwin-system76-sch
%preun
%systemd_user_preun com.system76.Scheduler.dbusproxy.service
%postun
%systemd_user_postun_with_restart com.system76.Scheduler.dbusproxy.service
%files
%config %_userunitdir/com.system76.Scheduler.dbusproxy.service
+2 -2
View File
@@ -4,8 +4,8 @@
%define _build_id_links none
Name: sass
Version: 1.70.0
Release: 1%{?dist}
Version: 1.71.0
Release: 1%?dist
Summary: The reference implementation of Sass, written in Dart
License: MIT
URL: https://sass-lang.com/dart-sass
+4 -3
View File
@@ -1,11 +1,12 @@
%global commit 7cb289b6466b662fdf9f7d7ccc9f3c08a7dc0cac
%global commit_date 240219
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global debug_package %{nil}
%define __os_install_post %{nil}
Name: avstplg
Version: %shortcommit
Release: 1%{?dist}
Version: %commit_date.%shortcommit
Release: 1%?dist
License: Apache-2.0
Summary: Set of tools designed to help develop and debug software and firmware on Intel platforms with AudioDSP onboard.
@@ -41,4 +42,4 @@ install -Dm755 avstplg/build/bin/Release/net6.0/avstplg.dll %{buildroot}/%{_libd
%changelog
* Tue Jan 2 2024 infinitebash <terra@infinitebash.com>
- Initial package.
- Initial package.
+6 -5
View File
@@ -1,6 +1,7 @@
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/thesofproject/avsdk/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
rpm.global("commit", json(req.get()).sha);
rpm.release();
}
rpm.global("commit", gh_commit("thesofproject/avsdk"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
Name: limine
Version: 7.0.3
Release: 1%{?dist}
Version: 7.0.5
Release: 1%?dist
Summary: Modern, advanced, portable, multiprotocol bootloader
License: BSD-2-Clause
URL: https://limine-bootloader.org
+2 -1
View File
@@ -1,11 +1,12 @@
%global debug_package %{nil}
%global commit 564c0661a942f7163cb2cfa6cb1b14b4bcff3a30
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 240218
%global patches %{_datadir}/src/nvidia-patch
Name: nvidia-patch
Version: 0^%{shortcommit}
Version: 0^%commit_date.%{shortcommit}
Release: 1%{?dist}
Summary: NVENC and NvFBC patches for NVIDIA drivers
+5 -2
View File
@@ -1,4 +1,7 @@
if filters.contains("nightly") {
rpm.global("commit", get("https://api.github.com/repos/keylase/nvidia-patch/commits/HEAD").json().sha);
rpm.release();
rpm.global("commit", gh_commit("keylase/nvidia-patch"));
if rpm.changed() {
rpm.global("commit_date", date());
rpm.release();
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
%endif
Name: xpadneo
Version: 0.9.5
Version: 0.9.6
Release: 1%{?dist}
Summary: Advanced Linux Driver for Xbox One Wireless Gamepad
Group: System Environment/Kernel
@@ -32,4 +32,4 @@ install -Dm755 build/host/util/ectool %{buildroot}%{_bindir}/ectool
%changelog
* Tue Jan 2 2024 infinitebash <terra@infinitebash.com>
- Initial package.
- Initial package.
+2 -2
View File
@@ -12,8 +12,8 @@
%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so
Name: electron
Version: 28.2.2
Release: 1%{?dist}
Version: 28.2.3
Release: 1%?dist
Summary: Build cross platform desktop apps with web technologies
License: MIT
URL: https://electronjs.org/