pstube icon indicating copy to clipboard operation
pstube copied to clipboard

Your App for F-Droid !!!

Open theScrabi opened this issue 2 years ago • 13 comments

Hei there, I just found this app on flatpak, and kind of like it :) @prateekmedia It would be cool if you would put your app on the F-Droid repository to. This way you could also reach a broader audience :)

theScrabi avatar Jan 13 '22 14:01 theScrabi

Hi @theScrabi, I was very much inspired from your NewPipe app. Although it is awesome but I thought of creating a app that would be similar but Multi-platform.

Also thanks for the suggestion, I will try to upload it to F-droid although I have not done it before.

prateekmedia avatar Jan 13 '22 14:01 prateekmedia

https://gitlab.com/fdroid/rfp/-/issues/2002

prateekmedia avatar Jan 26 '22 19:01 prateekmedia

Yea sure flutter is the future. If i had the time and the resources I would love to have a NewPipe front end completely written in flutter because of the system independence.

theScrabi avatar Feb 01 '22 17:02 theScrabi

We're waiting for Fastlane (example here), otherwise everything is ok to include this app on F-Droid ;)

Poussinou avatar Mar 06 '22 13:03 Poussinou

@prateekmedia in case you're not receiving GitLab notifications: can you please visit your RFP and answer the open questions, so we can proceed? Else the RFP would be closed for inactivity in 4 weeks, which would be a pity.

IzzySoft avatar Jun 03 '22 07:06 IzzySoft

Thanks @prateekmedia – I removed the closure label again. Wish you good progress!

IzzySoft avatar Jun 03 '22 21:06 IzzySoft

Is this still being worked on?

It's been over a year.

SecularSteve avatar May 05 '23 11:05 SecularSteve

@IzzySoft Anything blocked from my side for PsTube, I think you have already marked it as ready on gitlab

prateekmedia avatar May 05 '23 12:05 prateekmedia

I've marked it ready for processing back then. It's still waiting to be picked up. I'm not an Android dev or "experienced packager", and the mix of languages our bot (and also Github here) says is used by the project kept me from trying it myself – but you can open an MR yourself to get things rolling. I could provide you a "skeleton YAML" to start with; if we're lucky it works out straight away, if not it will need some helping hands.

IzzySoft avatar May 08 '23 07:05 IzzySoft

@IzzySoft Please provide the skeleton YAML, I will create a MR

prateekmedia avatar May 08 '23 11:05 prateekmedia

OK, there you go with metadata/com.prateekmedia.pstube.yml. The build block will certainly need some adjustments, and the recipe expects Flutter to be added as a git submodule (always pointing to the Flutter version you need, so changing to a newer Flutter release would not require another MR at F-Droid for adjustments):

AntiFeatures:
  - NonFreeNet
Categories:
  - Multimedia
License: GPL-3.0-or-later
AuthorName: Prateek Sunal
AuthorEmail: [email protected]
AuthorWebSite: https://prateekmedia.github.io/
SourceCode: https://github.com/prateekmedia/pstube
IssueTracker: https://github.com/prateekmedia/pstube/issues
Translation: https://hosted.weblate.org/engage/pstube/
Changelog: https://github.com/prateekmedia/pstube/releases

AutoName: PSTube

RepoType: git
Repo: https://github.com/prateekmedia/pstube

Builds:
  - versionName: 2.6.0
    versionCode: 2
    commit: 2.6.0
    submodules: true
    output: build/app/outputs/flutter-apk/app-release.apk
    rm:
      - .github
      - ios
      - linux
      - macos
      - test
      - web
      - windows
    prebuild:
      - export PUB_CACHE=$(pwd)/.pub-cache
      - .flutter/bin/flutter config --no-analytics
      - .flutter/bin/flutter pub get
    scanignore:
      - .flutter/packages/flutter_tools/gradle/flutter.gradle
      - .flutter/bin/cache
    scandelete:
      - .flutter
      - .pub-cache
    build:
      - export PUB_CACHE=$(pwd)/.pub-cache
      - .flutter/bin/flutter pub global activate intl_utils
      - .flutter/bin/flutter pub global run intl_utils:generate
      - .flutter/bin/flutter build apk --release

AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 2.6.0
CurrentVersionCode: 2

Note this is mostly copy-pasted from other recipes, I'm not that familiar with Flutter…

PS: Your pubspec.yaml indicates versionCode: 2. That was a surprise to me, as there are definitely more than 2 releases available already. I'm puzzled how that matches…

IzzySoft avatar May 08 '23 20:05 IzzySoft

@IzzySoft I don't update versionCode often, but I will once this is on some store.

prateekmedia avatar May 09 '23 10:05 prateekmedia

Well, isn't it in mine? So who currently uses it via that, rarely receives any updates. In fact, at maximum received a single one (when you increased to 2). I strongly suggest you start increasing with each release now :wink:

IzzySoft avatar May 09 '23 12:05 IzzySoft