2 Commits

Author SHA1 Message Date
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 22 additions and 14 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
@@ -30,6 +30,14 @@
<url type="bugtracker">https://github.com/gen2brain/cbconvert/issues</url> <url type="bugtracker">https://github.com/gen2brain/cbconvert/issues</url>
<releases> <releases>
<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
@@ -47,7 +47,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 +59,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 +154,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: 34964e24fb8a81e6a2b7e556de8aa28d5b5fbd5698157f67fb5e7e9ee02330cc
- 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 +361,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