5 Commits

Author SHA1 Message Date
Milan Nikolic f558b109e5 Update manifest 2023-09-14 16:44:12 +02:00
Milan Nikolic 5922f102be Update manifest 2023-09-14 16:42:34 +02:00
Milan Nikolic f84d2d4333 Update modules 2023-09-14 15:05:49 +02:00
Milan Nikolic 551ab9e137 Change flatpak exec/command name to cbconvert 2023-09-14 15:02:27 +02:00
Milan Nikolic 046cc2c1fd Update modules 2023-09-14 11:51:48 +02:00
3 changed files with 36 additions and 15 deletions
@@ -2,7 +2,7 @@
Name=CBconvert Name=CBconvert
GenericName=A Comic Book converter GenericName=A Comic Book converter
Comment=A comic converter with support for .cb*, .pdf, .xps, .epub, .mobi and directories Comment=A comic converter with support for .cb*, .pdf, .xps, .epub, .mobi and directories
Exec=cbconvert-gui Exec=cbconvert
Icon=io.github.gen2brain.cbconvert Icon=io.github.gen2brain.cbconvert
Terminal=false Terminal=false
Type=Application Type=Application
@@ -29,7 +29,25 @@
<url type="homepage">https://github.com/gen2brain/cbconvert</url> <url type="homepage">https://github.com/gen2brain/cbconvert</url>
<url type="bugtracker">https://github.com/gen2brain/cbconvert/issues</url> <url type="bugtracker">https://github.com/gen2brain/cbconvert/issues</url>
<content_rating type="oars-1.1"/>
<releases> <releases>
<release version="1.0.3" date="2023-09-14" type="stable">
<description>
<ul>
<li>Add content rating</li>
</ul>
</description>
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.3</url>
</release>
<release version="1.0.2" date="2023-09-14" type="stable">
<description>
<ul>
<li>Change flatpak exec/command name to cbconvert</li>
</ul>
</description>
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.2</url>
</release>
<release version="1.0.1" date="2023-09-14" type="stable"> <release version="1.0.1" date="2023-09-14" type="stable">
<description> <description>
<ul> <ul>
@@ -5,7 +5,7 @@ sdk: org.freedesktop.Sdk
sdk-extensions: sdk-extensions:
- org.freedesktop.Sdk.Extension.golang - org.freedesktop.Sdk.Extension.golang
command: cbconvert-gui command: cbconvert
finish-args: finish-args:
- --share=ipc - --share=ipc
@@ -24,7 +24,10 @@ cleanup:
- '/lib/cmake' - '/lib/cmake'
- '/lib/pkgconfig' - '/lib/pkgconfig'
- '/lib/ImageMagick*' - '/lib/ImageMagick*'
- '/share' - '/share/ImageMagick*'
- '/share/doc'
- '/share/man'
- '/share/thumbnailers'
modules: modules:
@@ -47,7 +50,7 @@ modules:
sha256: 7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2 sha256: 7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2
- name: highway - name: highway
buildsystem: cmake buildsystem: cmake-ninja
config-opts: config-opts:
- -DBUILD_SHARED_LIBS=ON - -DBUILD_SHARED_LIBS=ON
- -DHWY_ENABLE_TESTS=OFF - -DHWY_ENABLE_TESTS=OFF
@@ -59,7 +62,7 @@ modules:
sha256: 5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5 sha256: 5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5
- name: libjxl - name: libjxl
buildsystem: cmake buildsystem: cmake-ninja
config-opts: config-opts:
- -DBUILD_SHARED_LIBS=ON - -DBUILD_SHARED_LIBS=ON
- -DJPEGXL_ENABLE_BENCHMARK=OFF - -DJPEGXL_ENABLE_BENCHMARK=OFF
@@ -154,21 +157,15 @@ modules:
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- cp cmd/cbconvert-gui/dist/linux/flatpak/modules.txt cmd/cbconvert-gui/vendor/ - cp cmd/cbconvert-gui/dist/linux/flatpak/modules.txt cmd/cbconvert-gui/vendor/
- cd cmd/cbconvert-gui && $GOROOT/bin/go build -mod=vendor -trimpath -tags "extlib portal" -ldflags "-s -w -X main.appVersion=1.0.1" - cd cmd/cbconvert-gui && $GOROOT/bin/go build -mod=vendor -trimpath -tags "extlib portal" -ldflags "-s -w -X main.appVersion=1.0.2"
- install -Dm00755 cmd/cbconvert-gui/cbconvert-gui $FLATPAK_DEST/bin/cbconvert-gui - install -Dm00755 cmd/cbconvert-gui/cbconvert-gui $FLATPAK_DEST/bin/cbconvert
- install -Dm00644 cmd/cbconvert-gui/dist/linux/cbconvert.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png - install -Dm00644 cmd/cbconvert-gui/dist/linux/cbconvert.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png
- install -Dm00644 cmd/cbconvert-gui/dist/linux/flatpak/$FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop - install -Dm00644 cmd/cbconvert-gui/dist/linux/flatpak/$FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- install -Dm00644 cmd/cbconvert-gui/dist/linux/flatpak/$FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml - install -Dm00644 cmd/cbconvert-gui/dist/linux/flatpak/$FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml
sources: sources:
- type: archive - type: archive
url: https://github.com/gen2brain/cbconvert/archive/refs/tags/v1.0.1.tar.gz url: https://github.com/gen2brain/cbconvert/archive/refs/tags/v1.0.2.tar.gz
sha256: 2ba51b3ef9cddeed8a64da34ee2d7a6cb931e50fb6f9c944c13c59cbcc5f33e2 sha256: 492e1210cd1b3ef2ea95c3df47eb04447a01b7c5507c1db016f759b1f9b3fa9b
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/cbconvert/@v/v1.0.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/cbconvert
sha256: 57e0052fb89a7361e44f844dca0177f31935776f75ff799a3cc233e2260ef055
- type: archive - type: archive
url: https://proxy.golang.org/github.com/chai2010/webp/@v/v1.1.1.zip url: https://proxy.golang.org/github.com/chai2010/webp/@v/v1.1.1.zip
@@ -367,3 +364,9 @@ modules:
strip-components: 3 strip-components: 3
dest: cmd/cbconvert-gui/vendor/gopkg.in/gographics/imagick.v3 dest: cmd/cbconvert-gui/vendor/gopkg.in/gographics/imagick.v3
sha256: ae0a425a2ffcbe92447c5da005deff2c0aac1e25995c443b86ae4bd48861d9e1 sha256: ae0a425a2ffcbe92447c5da005deff2c0aac1e25995c443b86ae4bd48861d9e1
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/cbconvert/@v/v1.0.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/cbconvert
sha256: 116e440f681fb109a2a51b2ae0888435b3702291e71e26ba79da313c070ec13c