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

Alternative ways of getting the PPSSPP Flatpak #19790

Open
aqqlqlql opened this issue Jan 1, 2025 · 5 comments
Open

Alternative ways of getting the PPSSPP Flatpak #19790

aqqlqlql opened this issue Jan 1, 2025 · 5 comments

Comments

@aqqlqlql
Copy link

aqqlqlql commented Jan 1, 2025

There should have other ways of getting the Flatpak if a user wants the Flatpak but doesn't want to or can't use Flathub.

Here are my proposed solutions:

  1. Provide a .flatpak file for installing the stable version and development build on the PPSSPP downloads page.
  2. Host a PPSSPP Flatpak repository with the stable version and development build.
@anr2me
Copy link
Collaborator

anr2me commented Jan 6, 2025

Btw, between Flatpak and AppImage, which one can be used more widely on various distros?

@aqqlqlql
Copy link
Author

aqqlqlql commented Jan 6, 2025

Btw, between Flatpak and AppImage, which one can be used more widely on various distros?

Both are well supported.

@hrydgard
Copy link
Owner

hrydgard commented Jan 6, 2025

@aqqlqlql no idea how to do it, a PR or detailed instructions would be appreciated. It's difficult to keep up with this many platforms...

@anr2me
Copy link
Collaborator

anr2me commented Jan 7, 2025

From Google's AI with "how to build ppsspp flatpak package"

To build a PPSSPP Flatpak package, you need to first download the PPSSPP source code, then use the Flatpak build tools to create the package, which involves setting up a Flatpak manifest file, specifying required dependencies, and compiling the PPSSPP code within a sandboxed environment to create the Flatpak application; you can usually find detailed instructions on how to build Flatpak packages on the PPSSPP GitHub repository or the Flatpak documentation.
Key steps:

Get the PPSSPP source code:
    Clone the PPSSPP repository using Git: git clone https://github.com/hrydgard/ppsspp.git 

Create a Flatpak manifest:

Create a manifest.json file in the PPSSPP directory with details like the application name, description, dependencies, and build instructions. 

Build the Flatpak package:

Use the flatpak build command to compile the PPSSPP code within a Flatpak sandbox, referencing your manifest.json file. 

Important considerations:

Dependencies:
Ensure you have the necessary development tools and libraries installed on your system to build PPSSPP, including compilers, build systems, and any required dependencies specified in the PPSSPP build instructions. 

Permissions and access:
When building a Flatpak, you may need to define which system resources (like file system access) your PPSSPP application needs to function properly.
Flathub submission:
If you want to make your Flatpak package available to others, you can submit it to Flathub, a repository for Flatpak applications.

PS: The manifest/.json file probably like the old one at https://github.com/barthalion/flatpak-ppsspp
Or may be replaced by .yml/.xml file like the new one at https://github.com/flathub/org.ppsspp.PPSSPP

@aqqlqlql
Copy link
Author

aqqlqlql commented Jan 7, 2025

@aqqlqlql no idea how to do it, a PR or detailed instructions would be appreciated. It's difficult to keep up with this many platforms...

See the Flatpak documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants