Skip to content
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ Thumbs.db

# demo project
MyPlasmoid
pkg/deb/prasmoid/debian/prasmoid.config.js

1 change: 1 addition & 0 deletions pkg/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
!*
*.log
prasmoid.config.js
1 change: 1 addition & 0 deletions pkg/aur/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pkg.tar.zst
2 changes: 1 addition & 1 deletion pkg/aur/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pkgctl build
# check package
namcap *.pkg.tar.zst

# upload
# upload - to be run in the git tree for the arch package, not the project's git tree
#git add PKGBUILD .SRCINFO
#git commit -m "something useful"
#git push
1 change: 1 addition & 0 deletions pkg/aur/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ package() {
install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
echo "\033[32m 🡪 Cast a vote :) - https://aur.archlinux.org/packages/prasmoid"
}
# vim:set ts=2 sw=2 et:
4 changes: 1 addition & 3 deletions pkg/flatpak/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
builddir
repo
*.flatpak
.flatpak
.flatpak-builder
*.flatpak*
20 changes: 20 additions & 0 deletions pkg/flatpak/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
set -e

# build
flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo --install builddir io.github.prassamin.prasmoid.yml

# check
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest io.github.prassamin.prasmoid.yml

# test
flatpak run io.github.prassamin.prasmoid --version

# bundle
flatpak build-bundle repo prasmoid-0.0.4.flatpak io.github.prassamin.prasmoid --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo

# upload - to be run in the git tree for the flat package, not the project's git tree
#git add flathub.json io.github.prassamin.prasmoid.metainfo.xml io.github.prassamin.prasmoid.yml
#git commit -m "something useful"
#git push
# then open a pull request - https://docs.flathub.org/docs/for-app-authors/submission
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="console-application">
<id>org.prasmoid.prasmoid</id>
<id>io.github.prassamin.prasmoid</id>

<name>prasmoid</name>
<url type="homepage">https://github.com/PRASSamin/prasmoid</url>
Expand All @@ -20,7 +20,7 @@
</description>

<icon type="remote">https://github.com/PRASSamin/prasmoid/blob/main/logo.svg</icon>
<icon type="stock">org.prasmoid.prasmoid</icon>
<icon type="stock">io.github.prassamin.prasmoid</icon>

<categories>
<category>Development</category>
Expand All @@ -32,6 +32,9 @@
</provides>

<releases>
<release version="v0.0.4" date="2025-09-12">
<url type="details">https://github.com/PRASSamin/prasmoid/releases/download/v0.0.4</url>
</release>
<release version="v0.0.3" date="2025-08-10">
<url type="details">https://github.com/PRASSamin/prasmoid/releases/download/v0.0.3</url>
</release>
Expand Down
42 changes: 42 additions & 0 deletions pkg/flatpak/io.github.prassamin.prasmoid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
id: io.github.prassamin.prasmoid
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk

command: prasmoid

modules:
- name: binary
buildsystem: simple
build-commands:
- install -Dm755 prasmoid /app/bin/prasmoid
sources:
- type: file
url: https://github.com/PRASSamin/prasmoid/releases/download/v0.0.4/prasmoid
sha256: 90b0db543e27c82aa32ad1b67410a37b375a82638b48a3301e774be10e44af93

- name: docs
buildsystem: simple
build-commands:
- mkdir /app/doc
- install -Dm644 *.md /app/doc/
sources:
- type: file
path: ../../README.md
- type: file
path: ../../LICENSE.md

- name: metadata
buildsystem: simple
build-commands:
- install -Dm644 io.github.prassamin.prasmoid.metainfo.xml -t /app/share/metainfo/
- mv logo.svg io.github.prassamin.prasmoid.svg
- install -Dm644 io.github.prassamin.prasmoid.svg -t /app/share/icons/hicolor/scalable/apps/
sources:
- type: file
path: io.github.prassamin.prasmoid.metainfo.xml
- type: file
path: ../../logo.svg

finish-args:
- --filesystem=xdg-documents
44 changes: 0 additions & 44 deletions pkg/flatpak/org.prasmoid.prasmoid.yml

This file was deleted.

1 change: 1 addition & 0 deletions pkg/snap/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ set -e
snapcraft pack

#upload
#snapcraft upload --release=stable prasmoid_v0.0.4_amd64.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="console-application">
<id>org.prasmoid.prasmoid</id>
<id>io.github.prassamin.prasmoid</id>

<name>prasmoid</name>
<url type="homepage">https://github.com/PRASSamin/prasmoid</url>
Expand All @@ -17,7 +17,7 @@
</description>

<icon type="remote">https://github.com/PRASSamin/prasmoid/blob/main/logo.svg</icon>
<icon type="stock">org.prasmoid.prasmoid</icon>
<icon type="stock">io.github.prassamin.prasmoid</icon>

<categories>
<category>Development</category>
Expand Down
12 changes: 5 additions & 7 deletions pkg/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,14 @@ apps:
prasmoid:
command: prasmoid
plugs:
- home #allow r/w in the user's home dir
#remember this if people are having issues writing somewhere else
#install with snap install --devmode --dangerous to allow all the regular's
#user's access

- home #users will not be able to create projects outside of their home folder
parts:
repo:
source: https://github.com/PRASSamin/prasmoid.git
source-tag: v0.0.4
plugin: dump
override-build: |
mv logo.svg org.prasmoid.prasmoid.svg
mv logo.svg io.github.prassamin.prasmoid.svg
craftctl default

binary:
Expand All @@ -37,10 +33,12 @@ parts:
craftctl default
prime:
- prasmoid
build-attributes:
- enable-patchelf

metadata:
plugin: dump
source-type: local
source: .
parse-info:
- org.prasmoid.prasmoid.metainfo.xml
- io.github.prassamin.prasmoid.metainfo.xml
Loading