Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(sync): frawhide -> f39 #1808

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions anda/apps/envision/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ project pkg {
rpm {
spec = "envision.spec"
}
labels {
nightly = 1
}
}
5 changes: 3 additions & 2 deletions anda/apps/envision/envision.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global commit 56f2e0b0d6378fcf31d43d349c1e5ff57b6eb985
%global commit_date 20240729
%global commit 5eb42335e0ccbf3558b1d285348d7c02906c931d
%global commit_date 20240801
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Name: envision
Expand All @@ -17,6 +17,7 @@ BuildRequires: pkgconfig(vte-2.91-gtk4) >= 0.72.0
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: openssl-devel
BuildRequires: openxr-devel
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
BuildRequires: glib2-devel
Expand Down
5 changes: 5 additions & 0 deletions anda/apps/komikku/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "komikku.spec"
}
}
109 changes: 109 additions & 0 deletions anda/apps/komikku/komikku.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
%global appname Komikku
%global uuid info.febvre.%{appname}
%global gtk4_version 4.14.4
%global libadwaita_version 1.5.1
%global pure_protobuf_version 2.0.0

Name: komikku
Version: 1.51.1
%forgemeta
Release: %autorelease
Summary: A manga reader for GNOME

BuildArch: noarch

License: GPL-3.0-or-later
URL: https://valos.gitlab.io/Komikku
Source0: https://codeberg.org/valos/%{appname}/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz

BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.59.0
BuildRequires: python3-devel >= 3.8
BuildRequires: blueprint-compiler

BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}

Requires: hicolor-icon-theme
Requires: gtk4 >= %{gtk4_version}
Requires: libadwaita >= %{libadwaita_version}
Requires: libnotify
Requires: webkitgtk6.0
Requires: python3-beautifulsoup4
Requires: python3-brotli
Requires: python3-colorthief
Requires: python3-dateparser %dnl >= 1.1.4 | https://bugzilla.redhat.com/show_bug.cgi?id=2115204
Requires: python3-emoji
Requires: python3-gobject
Requires: python3-keyring >= 21.6.0
Requires: python3-lxml
Requires: python3-natsort
Requires: python3-file-magic
Requires: python3-piexif
Requires: python3-pillow
Requires: python3-pillow-heif
Requires: python3-pure-protobuf >= %{pure_protobuf_version}
Requires: python3-rarfile
Requires: python3-requests
Requires: python3-unidecode

%description
Komikku is a manga reader for GNOME. It focuses on providing a clean, intuitive
and adaptive interface.

Keys features

* Online reading from dozens of servers
* Offline reading of downloaded comics
* Categories to organize your library
* RTL, LTR, Vertical and Webtoon reading modes
* Several types of navigation:
* Keyboard arrow keys
* Right and left navigation layout via mouse click or tapping
(touchpad/touch screen)
* Mouse wheel
* 2-fingers swipe gesture (touchpad)
* Swipe gesture (touch screen)
* Automatic update of comics
* Automatic download of new chapters
* Reading history
* Light and dark themes

%prep
%autosetup -n %{name} -p1


%build
%meson
%meson_build


%install
%meson_install
%find_lang %{name}


%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop


%files -f %{name}.lang
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/hicolor/scalable/*/*.svg
%{_datadir}/icons/hicolor/symbolic/*/*.svg
%{_metainfodir}/*.xml
%{python3_sitelib}/%{name}/


%changelog
* Thu Jul 11 2024 Trung Lê <[email protected]> - 1.51.1-0
- Initial RPM package
3 changes: 3 additions & 0 deletions anda/apps/komikku/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
let latest_tag = get("https://codeberg.org/api/v1/repos/valos/Komikku/tags").json_arr()[0].name;
let new_version = find("([\\.\\d]+)", latest_tag, 1);
rpm.version(new_version);
6 changes: 3 additions & 3 deletions anda/apps/mpv/mpv-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global commit e509ec0aaffce74e520702e16e3e21ea0f168940
%global commit dcb4b491b2077be370cf5295ff4021d1e6182817
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240720
%global ver v0.38.0
%global commit_date 20240801
%global ver 0.38.0

Name: mpv-nightly
Version: %ver^%commit_date.%shortcommit
Expand Down
6 changes: 5 additions & 1 deletion anda/apps/mpv/update.rhai
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
if filters.contains("nightly") {
rpm.global("commit", gh_commit("mpv-player/mpv"));
if rpm.changed() {
rpm.global("ver", gh("mpv-player/mpv"));
let v = gh("mpv-player/mpv");
if v.starts_with("v") {
v.crop(1);
}
rpm.global("ver", v);
rpm.global("commit_date", date());
rpm.release();
}
Expand Down
8 changes: 8 additions & 0 deletions anda/devs/flow/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "flow-control-nightly.spec"
}
labels {
nightly = 1
}
}
30 changes: 30 additions & 0 deletions anda/devs/flow/flow-control-nightly.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
%global commit 3400554f57b770760cb4cb58f15963399d13848e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240801

Name: flow-control-nightly
Version: %commit_date.%shortcommit
Release: 1%?dist
Summary: A programmer's text editor
License: MIT
URL: https://github.com/neurocyte/flow
Source0: %url/archive/%commit.tar.gz
BuildRequires: zig
Provides: flow = %version-%release

%description
%summary.

%prep
%autosetup -n flow-%commit

%build
zig build -Doptimize=ReleaseFast --release=fast

%install
install -Dpm755 zig-out/bin/flow %buildroot%_bindir/flow

%files
%doc README.md help.md
%license LICENSE
%_bindir/flow
7 changes: 7 additions & 0 deletions anda/devs/flow/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if filters.contains("nightly") {
rpm.global("commit", gh_commit("neurocyte/flow"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}
}
5 changes: 5 additions & 0 deletions anda/devs/tracy/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "tracy.spec"
}
}
77 changes: 77 additions & 0 deletions anda/devs/tracy/tracy.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
%global _desc Tracy is a real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Name: tracy
Version: 0.11.0
Release: 1%?dist
Summary: A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
License: BSD-3-Clause
URL: https://github.com/wolfpld/tracy
Source0: https://github.com/wolfpld/tracy/archive/refs/tags/v%version.tar.gz
BuildRequires: pkgconfig(egl) pkgconfig(glfw3) pkgconfig(freetype2) pkgconfig(dbus-1) pkgconfig(libunwind) pkgconfig(libdebuginfod) pkgconfig(tbb) pkgconfig(wayland-client) pkgconfig(wayland-protocols) pkgconfig(xkbcommon) pkgconfig(capstone)
BuildRequires: cmake gcc gcc-c++ meson

%description
%_desc

%package devel
Summary: Development files for the tracy package

%description devel
%_desc
This package contains the development files for the tracy package.

%prep
%autosetup -p1

%build
%meson
%meson_build

for project in capture csvexport import-chrome import-fuchsia update profiler
do
pushd $project
%cmake -DDOWNLOAD_CAPSTONE=0
%cmake_build
popd
done

%install
%meson_install

# NOTE: the subprojects don't have install targets so we do it manually
install -Dm755 capture/%__cmake_builddir/tracy-capture %buildroot%_bindir/tracy-capture
install -Dm755 csvexport/%__cmake_builddir/tracy-csvexport %buildroot%_bindir/tracy-csvexport
install -Dm755 import-chrome/%__cmake_builddir/tracy-import-chrome %buildroot%_bindir/tracy-import-chrome
install -Dm755 import-fuchsia/%__cmake_builddir/tracy-import-fuchsia %buildroot%_bindir/tracy-import-fuchsia
install -Dm755 update/%__cmake_builddir/tracy-update %buildroot%_bindir/tracy-update
install -Dm755 profiler/%__cmake_builddir/tracy-profiler %buildroot%_bindir/tracy

install -Dm644 extra/desktop/tracy.desktop %buildroot%_datadir/applications/tracy.desktop
install -Dm644 icon/icon.svg %buildroot%_iconsdir/hicolor/scalable/apps/tracy.svg
install -Dm644 extra/desktop/application-tracy.xml %buildroot%_datadir/mime/packages/application-tracy.xml
install -Dm644 icon/application-tracy.svg %buildroot%_iconsdir/hicolor/scalable/apps/application-tracy.svg

%files
%license LICENSE
%doc README.*
%_bindir/tracy
%_bindir/tracy-capture
%_bindir/tracy-csvexport
%_bindir/tracy-import-chrome
%_bindir/tracy-import-fuchsia
%_bindir/tracy-update
%_libdir/libtracy.so
%_datadir/applications/tracy.desktop
%_datadir/mime/packages/application-tracy.xml
%_iconsdir/hicolor/scalable/apps/tracy.svg
%_iconsdir/hicolor/scalable/apps/application-tracy.svg

%files devel
%_libdir/pkgconfig/tracy.pc
%_includedir/common
%_includedir/tracy
%_includedir/client

%changelog
* Wed Jul 24 2024 Owen Zimmerman <[email protected]> - 0.11-1
- Initial package.
1 change: 1 addition & 0 deletions anda/devs/tracy/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("wolfpld/tracy"));
6 changes: 3 additions & 3 deletions anda/devs/zed/nightly/zed-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global commit 0129d4e2506d5ec5e50ef0968382770b9abec390
%global commit 33d06c4d9603b37885e7ddcc82fa06f4dcd83943
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240619
%global ver 0.142.0
%global commit_date 20240801
%global ver 0.148.0

%bcond_with check

Expand Down
3 changes: 0 additions & 3 deletions anda/devs/zed/preview/update.rhai
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
let releases = "https://api.github.com/repos/zed-industries/zed/releases".get().json_arr();
for release in releases {
if !release.prerelease {
continue;
}
let tag = release.tag_name;
tag.pop(4); // remove the "-pre" suffix
tag.crop(1); // remove "v"
Expand Down
2 changes: 1 addition & 1 deletion anda/devs/zed/preview/zed-preview.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%bcond_with check

%global ver 0.146.2
%global ver 0.147.1
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
# Use Mold as the linker
Expand Down
2 changes: 1 addition & 1 deletion anda/devs/zed/stable/zed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%global app_id dev.zed.Zed

Name: zed
Version: 0.145.1
Version: 0.146.4
Release: 1%?dist
Summary: Zed is a high-performance, multiplayer code editor

Expand Down
4 changes: 2 additions & 2 deletions anda/games/gamescope-session/gamescope-session.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%define debug_package %nil

%global commit 4aa204e6ef332457d277488ffa61959f2dcde470
%global commit 26818c6cd574c74ab9dfd2c89f081f30430e212b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240719
%global commit_date 20240801

Name: gamescope-session
Version: %commit_date.%shortcommit
Expand Down
Loading
Loading