Skip to content

Commit

Permalink
chore(sync): 39 -> frawhide (#971)
Browse files Browse the repository at this point in the history
* fix: vala-panel-appmenu (#962)

Signed-off-by: madomado <[email protected]>

* fix: rebuild prismlauncher stable against new QT using release bump (#964)

Signed-off-by: madomado <[email protected]>

* feat: add more repology embeds (#965)

Signed-off-by: lleyton <[email protected]>
Signed-off-by: madomado <[email protected]>

* add: prime-run (#966)

* new package: prime-run

* add better metadata

* oop

* apply review suggestions

Signed-off-by: madomado <[email protected]>

* bump: prismlauncher-qt5 prismlauncher

Signed-off-by: madomado <[email protected]>

* fix: fix upload sources step in manual builds (#967)

Signed-off-by: lleyton <[email protected]>
Signed-off-by: madomado <[email protected]>

* fix(osu-lazer): do not strip, since that breaks AppImage (#968)

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
Signed-off-by: lleyton <[email protected]>
Co-authored-by: lleyton <[email protected]>
Co-authored-by: Cappy Ishihara <[email protected]>
Co-authored-by: Raboneko <[email protected]>
  • Loading branch information
4 people authored Mar 9, 2024
1 parent 3038555 commit 183b57e
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ jobs:
terra${{ matrix.version }} anda-build/rpm/rpms/*
- name: Upload source packages to subatomic
if: github.event_name == 'push'
run: |
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[![Repository status](https://repology.org/badge/repository-big/terra_38.svg?header=Terra+38)](https://repology.org/repository/terra_38)
[![Repository status](https://repology.org/badge/repository-big/terra_39.svg?header=Terra+39)](https://repology.org/repository/terra_39)
[![Repository status](https://repology.org/badge/repository-big/terra_40.svg?header=Terra+40)](https://repology.org/repository/terra_40)
[![Repository status](https://repology.org/badge/repository-big/terra_rawhide.svg?header=Terra+Rawhide)](https://repology.org/repository/terra_rawhide)

Terra is a rolling-release Fedora repository for all the software you need.
With Terra, you can install the latest packages knowing that quality and security are assured.
Expand Down
3 changes: 2 additions & 1 deletion anda/games/osu-lazer/osu-lazer.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
%define osuresver 2024.207.0
%global debug_package %{nil}
%define __strip /bin/true

Name: osu-lazer
Version: 2024.302.1
Release: 1%?dist
Release: 2%?dist
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
ExclusiveArch: x86_64
URL: https://osu.ppy.sh/
Expand Down
4 changes: 2 additions & 2 deletions anda/games/prismlauncher-qt5/prismlauncher-qt5.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Name: prismlauncher
%else
Name: prismlauncher-qt5
%endif
Version: 8.0
Release: 1%{?dist}
Version: 8.1
Release: 1%?dist
Summary: Minecraft launcher with ability to manage multiple instances
# see COPYING.md for more information
# each file in the source also contains a SPDX-License-Identifier header that declares its license
Expand Down
4 changes: 2 additions & 2 deletions anda/games/prismlauncher/prismlauncher.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Name: prismlauncher
%else
Name: prismlauncher-qt5
%endif
Version: 8.0
Release: 1%{?dist}
Version: 8.1
Release: 1%?dist
Summary: Minecraft launcher with ability to manage multiple instances
# see COPYING.md for more information
# each file in the source also contains a SPDX-License-Identifier header that declares its license
Expand Down
5 changes: 5 additions & 0 deletions anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ GTK (2, 3) module that exports GtkMenuShells over D-Bus.
%{_datadir}/dbus-1/services/com.canonical.AppMenu.Registrar.service
%{_datadir}/glib-2.0/schemas/org.valapanel.appmenu.gschema.xml
%{_datadir}/vala-panel/applets/org.valapanel.appmenu.plugin
%{_datadir}/vala/vapi/appmenu-glib-translator.*
%{_datadir}/gir-1.0/AppmenuGLibTranslator-%version.gir
%{_includedir}/appmenu-glib-translator/importer.h
%{_libdir}/girepository-1.0/AppmenuGLibTranslator-%version.typelib
%{_libdir}/libappmenu-glib-translator.*

%files -n vala-panel-appmenu-gtk-module
%{_userunitdir}/appmenu-gtk-module.service
Expand Down
6 changes: 6 additions & 0 deletions anda/misc/prime-run/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "prime-run.spec"
}
}
6 changes: 6 additions & 0 deletions anda/misc/prime-run/prime-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
exec "$@"
37 changes: 37 additions & 0 deletions anda/misc/prime-run/prime-run.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Name: prime-run
Version: 1.0.0
Release: 1%{?dist}
Summary: A simple script to run an application with NVIDIA PRIME GPU offloading

License: MIT
URL: https://terra.fyralabs.com
Source0: prime-run.sh

# Bash script
Requires: bash
BuildArch: noarch

%description
A simple Bash script to force an application to run with PRIME GPU offloading. This is useful for
laptops with NVIDIA Optimus technology, where the integrated GPU is switchable alongside the dedicated
NVIDIA GPU. By default, the integrated GPU is used to save power, but this can be overridden for
specific applications using the prime-run script.

%prep


%build


%install
install -Dm755 %{SOURCE0} %{buildroot}%{_bindir}/prime-run


%files
%{_bindir}/prime-run



%changelog
* Sun Mar 03 2024 Cappy Ishihara <[email protected]>
- Initial release

0 comments on commit 183b57e

Please sign in to comment.