mirror of
https://github.com/archlinux/aur.git
synced 2025-12-10 08:05:42 +01:00
Initial import of lightningview v2.0.0
This commit is contained in:
commit
a5da49f410
4 changed files with 76 additions and 0 deletions
26
.SRCINFO
Normal file
26
.SRCINFO
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
pkgbase = lightningview
|
||||
pkgdesc = A lightning-fast cross-platform image viewer written in Rust, supporting many raw camera formats.
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/dividebysandwich/LightningView
|
||||
arch = x86_64
|
||||
license = GPL-2.0-or-later
|
||||
makedepends = rust
|
||||
makedepends = cargo
|
||||
depends = hicolor-icon-theme
|
||||
depends = libxkbcommon
|
||||
depends = libx11
|
||||
depends = libxcursor
|
||||
depends = libxrandr
|
||||
depends = libxi
|
||||
depends = fontconfig
|
||||
depends = dbus
|
||||
depends = openssl
|
||||
source = lightningview-2.0.0.tar.gz::https://github.com/dividebysandwich/LightningView/archive/refs/tags/v2.0.0.tar.gz
|
||||
source = lightningview.desktop
|
||||
source = logo_256.png
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = lightningview
|
||||
40
PKGBUILD
Normal file
40
PKGBUILD
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Maintainer: Dividebysandwich <josef.jahn@gmail.com>
|
||||
pkgname=lightningview
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="A lightning-fast cross-platform image viewer written in Rust, supporting many raw camera formats."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/dividebysandwich/LightningView"
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=('hicolor-icon-theme' 'libxkbcommon' 'libx11' 'libxcursor' 'libxrandr' 'libxi' 'fontconfig' 'dbus' 'openssl')
|
||||
makedepends=('rust' 'cargo')
|
||||
source=(
|
||||
"$pkgname-$pkgver.tar.gz::https://github.com/dividebysandwich/LightningView/archive/refs/tags/v$pkgver.tar.gz"
|
||||
"$pkgname.desktop"
|
||||
"logo_256.png"
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
|
||||
build() {
|
||||
cd "LightningView-$pkgver"
|
||||
# --locked ensures we use the versions from Cargo.lock for a reproducible build
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "LightningView-$pkgver"
|
||||
|
||||
# Install the main binary
|
||||
install -Dm755 "target/release/lightningview" "$pkgdir/usr/bin/lightningview"
|
||||
|
||||
# Install the license file
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
|
||||
# Install the .desktop file for application menus
|
||||
install -Dm644 "../$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
|
||||
# Install the application icon
|
||||
install -Dm644 "../logo_256.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
|
||||
}
|
||||
10
lightningview.desktop
Normal file
10
lightningview.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Categories=Graphics;
|
||||
Comment=A fast image viewer
|
||||
Exec=lightningview %f
|
||||
Icon=lightningview
|
||||
Name=LightningView
|
||||
Terminal=false
|
||||
Type=Application
|
||||
MimeType=image/jpeg;image/jpg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/tiff;image/bmp;image/avif;image/svg+xml;image/svg;image/x-png;image/x-tga;image/x-targa;image/x-bmp;image/vnd.microsoft.icon;image/vnd.radiance;image/x‑portable‑bitmap;image/x‑portable‑graymap;image/x‑portable‑pixmap;image/x‑portable‑anymap;image/x-sony-arw;image/x-canon-cr2;image/x-canon-crw;image/x-kodak-dcr;image/x-adobe-dng;image/x-epson-erf;image/x-kodak-k25;image/x-kodak-kdc;image/x-minolta-mrw;image/x-nikon-nef;image/x-olympus-orf;image/x-pentax-pef;image/x-fuji-raf;image/x-panasonic-raw;image/x-sony-sr2;image/x-sony-srf;image/x-sigma-x3f;image/x-samsung-srw;image/x-panasonic-rw2;
|
||||
BIN
logo_256.png
Normal file
BIN
logo_256.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
Loading…
Add table
Reference in a new issue