chore(imageglass): bump to 10.0.6.906
This commit is contained in:
+4
-6
@@ -1,6 +1,6 @@
|
|||||||
pkgbase = imageglass
|
pkgbase = imageglass
|
||||||
pkgdesc = lightweight, versatile image viewer
|
pkgdesc = A Fast, Seamless Photo Viewer
|
||||||
pkgver = 10.0.0.314_beta_1
|
pkgver = 10.0.6.906
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://imageglass.org
|
url = https://imageglass.org
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@@ -13,9 +13,7 @@ pkgbase = imageglass
|
|||||||
depends = libgomp
|
depends = libgomp
|
||||||
options = !strip
|
options = !strip
|
||||||
options = !debug
|
options = !debug
|
||||||
source = imageglass::git+https://github.com/d2phap/ImageGlass.git#tag=10.0.0.314-beta-1
|
source = imageglass::git+https://github.com/d2phap/ImageGlass.git#tag=10.0.6.906
|
||||||
source = imageglass.desktop
|
sha256sums = SKIP
|
||||||
sha256sums = 72c1473abea880eaa50de0435a0a9a1d0ac12ed6c14cbf6467ae6c1c62844926
|
|
||||||
sha256sums = b31814a355395b002b8bd2dedc9107f5c288a56998df6e9894379900b6a7c560
|
|
||||||
|
|
||||||
pkgname = imageglass
|
pkgname = imageglass
|
||||||
|
|||||||
+16
-12
@@ -1,9 +1,10 @@
|
|||||||
|
# Maintainer: Dominykas Svetikas <[email protected]>
|
||||||
# Maintainer: ludwinahesse
|
# Maintainer: ludwinahesse
|
||||||
pkgname="imageglass"
|
pkgname="imageglass"
|
||||||
_pkgver="10.0.0.314-beta-1"
|
_pkgver="10.0.6.906"
|
||||||
pkgver=${_pkgver//-/_}
|
pkgver=${_pkgver//-/_}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="lightweight, versatile image viewer"
|
pkgdesc="A Fast, Seamless Photo Viewer"
|
||||||
url="https://imageglass.org"
|
url="https://imageglass.org"
|
||||||
license=('GPL-3.0-only')
|
license=('GPL-3.0-only')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -24,12 +25,10 @@ _pkgsrc="$pkgname-$pkgver"
|
|||||||
_pkgext="tar.gz"
|
_pkgext="tar.gz"
|
||||||
source=(
|
source=(
|
||||||
"${pkgname}"::"git+https://github.com/d2phap/ImageGlass.git#tag=$_pkgver"
|
"${pkgname}"::"git+https://github.com/d2phap/ImageGlass.git#tag=$_pkgver"
|
||||||
'imageglass.desktop'
|
|
||||||
)
|
)
|
||||||
sha256sums=('72c1473abea880eaa50de0435a0a9a1d0ac12ed6c14cbf6467ae6c1c62844926'
|
sha256sums=('SKIP')
|
||||||
'b31814a355395b002b8bd2dedc9107f5c288a56998df6e9894379900b6a7c560')
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/${pkgname}/v10/"
|
cd "$srcdir/${pkgname}/source/"
|
||||||
dotnet publish ImageGlass.Linux/ImageGlass.Linux.csproj \
|
dotnet publish ImageGlass.Linux/ImageGlass.Linux.csproj \
|
||||||
-c Release \
|
-c Release \
|
||||||
-r linux-x64 \
|
-r linux-x64 \
|
||||||
@@ -42,16 +41,21 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/${pkgname}/v10/artifacts/publish/linux-x64"
|
cd "$srcdir/${pkgname}/source/artifacts/publish/linux-x64"
|
||||||
for file in ImageGlass libHarfBuzzSharp.so libSkiaSharp.so Magick.Native-Q8-OpenMP-x64.dll.so; do
|
for file in ImageGlass libHarfBuzzSharp.so libSkiaSharp.so Magick.Native-Q16-HDRI-OpenMP-x64.dll.so; do
|
||||||
install -Dm755 "$file" "$pkgdir/usr/lib/$pkgname/$file"
|
install -Dm755 "$file" "$pkgdir/usr/lib/$pkgname/$file"
|
||||||
done
|
done
|
||||||
install -dm755 "$pkgdir/usr/bin"
|
install -dm755 "$pkgdir/usr/bin"
|
||||||
ln -s "/usr/lib/$pkgname/ImageGlass" "$pkgdir/usr/bin/$pkgname"
|
ln -s "/usr/lib/$pkgname/ImageGlass" "$pkgdir/usr/bin/$pkgname"
|
||||||
# copy resources
|
# copy resources
|
||||||
cp -r "$srcdir/${pkgname}/v10/assets/resources/"* "$pkgdir/usr/lib/$pkgname/"
|
cp -r "$srcdir/${pkgname}/source/__assets/__app/"* "$pkgdir/usr/lib/$pkgname/"
|
||||||
|
|
||||||
# install desktop file and icon
|
# install desktop file and icon
|
||||||
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
install -Dm644 "$srcdir/${pkgname}/source/__assets/linux/flatpak/io.github.d2phap.imageglass.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||||
install -Dm644 "$srcdir/${pkgname}/v10/assets/Logo.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
|
install -Dm644 "$srcdir/${pkgname}/source/__assets/logo_c.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
|
||||||
install -Dm644 "$srcdir/${pkgname}/v10/assets/Logo512.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname/$pkgname.png"
|
install -Dm644 "$srcdir/${pkgname}/source/__assets/logo_c_512.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname/$pkgname.png"
|
||||||
|
|
||||||
|
# Update the icon
|
||||||
|
sed -i "s|Icon=.*|Icon=imageglass|" \
|
||||||
|
"${pkgdir}/usr/share/applications/$pkgname.desktop"
|
||||||
}
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=ImageGlass
|
|
||||||
Comment=A lightweight, versatile image viewer
|
|
||||||
Exec=imageglass %F
|
|
||||||
Icon=imageglass
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=Graphics;Viewer;
|
|
||||||
MimeType=image/jpeg;image/png;image/gif;image/bmp;image/tiff;image/svg+xml;image/webp;image/avif;image/heic;image/heif;image/x-icon;image/vnd.microsoft.icon;image/x-tga;image/x-xcf;image/x-xbitmap;image/x-portable-pixmap;image/x-portable-graymap;image/x-portable-bitmap;image/x-portable-anymap;image/x-exr;image/x-radiance;image/x-dds;image/x-adobe-dng;image/x-canon-cr2;image/x-canon-cr3;image/x-canon-crw;image/x-nikon-nef;image/x-nikon-nrw;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-panasonic-raw;image/x-panasonic-rw2;image/x-olympus-orf;image/x-fuji-raf;image/x-kodak-dcr;image/x-pentax-pef;image/x-samsung-srw;image/vnd.adobe.photoshop;
|
|
||||||
StartupWMClass=ImageGlass
|
|
||||||
Reference in New Issue
Block a user