Date: Saturday, September 4, 2021 @ 10:51:54 Author: arojas Revision: 1011025
archrelease: copy trunk to community-x86_64 Added: coolreader/repos/community-x86_64/PKGBUILD (from rev 1011024, coolreader/trunk/PKGBUILD) coolreader/repos/community-x86_64/cr3.appdata.xml (from rev 1011024, coolreader/trunk/cr3.appdata.xml) Deleted: coolreader/repos/community-x86_64/PKGBUILD coolreader/repos/community-x86_64/cr3.appdata.xml -----------------+ PKGBUILD | 77 +++++++++++++++++++++++++----------------------------- cr3.appdata.xml | 60 +++++++++++++++++++++--------------------- 2 files changed, 66 insertions(+), 71 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-04 10:51:40 UTC (rev 1011024) +++ PKGBUILD 2021-09-04 10:51:54 UTC (rev 1011025) @@ -1,41 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Ivan Naumeiko <Ivan.Naumeiko AT gmail DOT com> - -pkgname=coolreader -pkgver=3.2.57 -pkgrel=1 -pkgdesc="Fast and small XML/CSS based eBook reader" -arch=(x86_64) -url="https://github.com/buggins/coolreader" -license=(GPL2) -depends=(hicolor-icon-theme qt5-base fribidi libunibreak) -makedepends=(cmake qt5-tools) -source=(https://github.com/buggins/coolreader/archive/cr$pkgver/$pkgname-$pkgver.tar.gz - cr3.appdata.xml) -sha256sums=('069a9488a9cec20133c2e188b9eec2385e5fa29b523eede7bc381cde0373a0bf' - '9d868cfd61b686b5a398797819367f16d7a65f1f5420441fb34c8d39236f7382') - -prepare() { - [[ -d build ]] || mkdir build - - cd $pkgname-cr$pkgver - sed -i 's|src/desktop/cr3.png DESTINATION share/pixmaps|src/desktop/cr3.png DESTINATION share/icons/hicolor/32x32/apps| - s|src/desktop/cr3.xpm DESTINATION share/pixmaps|src/icons/cr3.png DESTINATION share/icons/hicolor/48x48/apps|' cr3qt/CMakeLists.txt -} - -build() { - cd build - cmake -G "Unix Makefiles" ../$pkgname-cr$pkgver/ \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DGUI=QT5 \ - -DMAX_IMAGE_SCALE_MUL=2 \ - -DDOC_DATA_COMPRESSION_LEVEL=3 \ - -DDOC_BUFFER_SIZE=0x140000 - make -} - -package() { - cd build - make DESTDIR="$pkgdir" install - install -Dm644 ../cr3.appdata.xml "$pkgdir/usr/share/metainfo/cr3.appdata.xml" -} Copied: coolreader/repos/community-x86_64/PKGBUILD (from rev 1011024, coolreader/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-04 10:51:54 UTC (rev 1011025) @@ -0,0 +1,36 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Ivan Naumeiko <Ivan.Naumeiko AT gmail DOT com> + +pkgname=coolreader +pkgver=3.2.58 +pkgrel=1 +pkgdesc='Fast and small XML/CSS based eBook reader' +arch=('x86_64') +url='https://github.com/buggins/coolreader' +license=('GPL2') +depends=('fribidi' 'hicolor-icon-theme' 'libunibreak' 'qt5-base') +makedepends=('cmake' 'ninja' 'qt5-tools') +source=("https://github.com/buggins/coolreader/archive/cr$pkgver/$pkgname-$pkgver.tar.gz" + 'cr3.appdata.xml') +sha256sums=('fbf927c55262d67afd9934ccdfb3c4f035cd1168ad5a5278742d9143d1602066' + '9d868cfd61b686b5a398797819367f16d7a65f1f5420441fb34c8d39236f7382') + +prepare() { + sed -i 's|src/desktop/cr3.png DESTINATION share/pixmaps|src/desktop/cr3.png DESTINATION share/icons/hicolor/32x32/apps| + s|src/desktop/cr3.xpm DESTINATION share/pixmaps|src/icons/cr3.png DESTINATION share/icons/hicolor/48x48/apps|' $pkgname-cr$pkgver/cr3qt/CMakeLists.txt +} + +build() { + cmake -S $pkgname-cr$pkgver -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DGUI=QT5 \ + -DMAX_IMAGE_SCALE_MUL=2 \ + -DDOC_DATA_COMPRESSION_LEVEL=3 \ + -DDOC_BUFFER_SIZE=0x140000 + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + install -Dm644 cr3.appdata.xml "$pkgdir/usr/share/metainfo/cr3.appdata.xml" +} Deleted: cr3.appdata.xml =================================================================== --- cr3.appdata.xml 2021-09-04 10:51:40 UTC (rev 1011024) +++ cr3.appdata.xml 2021-09-04 10:51:54 UTC (rev 1011025) @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<component type="desktop-application"> - <id>cr3.desktop</id> - <name>CoolReader</name> - <project_license>GPL-2.0</project_license> - <metadata_license>CC0-1.0</metadata_license> - <summary> - Cross platform open source e-book reader - </summary> - <description> - <p> - CoolReader is fast and small cross-platform XML/CSS based eBook reader - for desktops and handheld devices. Supported formats: FB2, TXT, RTF, - DOC, TCR, HTML, EPUB, CHM, PDB, MOBI. - </p> - <p> - Supports table of contents, search, bookmarks. - </p> - <p> - Supports window and fullscreen modes, paperbook-like pages or scroll view. - Book formatting is customizable using CSS files. - </p> - </description> - <url type="homepage">https://github.com/buggins/coolreader</url> - <screenshots> - <screenshot type="default"> - <image>https://gist.github.com/avsej/eaea5ae3d5ed045261e9f36d2c9964b5/raw/d251fab97400a8d708c01d51018ca7925e75e971/screenshot-2019-02-24_10-09-26.1550992166.png</image> - </screenshot> - </screenshots> -</component> Copied: coolreader/repos/community-x86_64/cr3.appdata.xml (from rev 1011024, coolreader/trunk/cr3.appdata.xml) =================================================================== --- cr3.appdata.xml (rev 0) +++ cr3.appdata.xml 2021-09-04 10:51:54 UTC (rev 1011025) @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="desktop-application"> + <id>cr3.desktop</id> + <name>CoolReader</name> + <project_license>GPL-2.0</project_license> + <metadata_license>CC0-1.0</metadata_license> + <summary> + Cross platform open source e-book reader + </summary> + <description> + <p> + CoolReader is fast and small cross-platform XML/CSS based eBook reader + for desktops and handheld devices. Supported formats: FB2, TXT, RTF, + DOC, TCR, HTML, EPUB, CHM, PDB, MOBI. + </p> + <p> + Supports table of contents, search, bookmarks. + </p> + <p> + Supports window and fullscreen modes, paperbook-like pages or scroll view. + Book formatting is customizable using CSS files. + </p> + </description> + <url type="homepage">https://github.com/buggins/coolreader</url> + <screenshots> + <screenshot type="default"> + <image>https://gist.github.com/avsej/eaea5ae3d5ed045261e9f36d2c9964b5/raw/d251fab97400a8d708c01d51018ca7925e75e971/screenshot-2019-02-24_10-09-26.1550992166.png</image> + </screenshot> + </screenshots> +</component>