ports/contrib (3.7): czkawka: 4.1.0 -> 5.0.0
commit d73f8b774ec4c36e1d60ef59cafda65d5f90a53a Author: Tim Biermann <tbier@posteo.de> Date: Sat Jul 30 12:05:52 2022 +0200 czkawka: 4.1.0 -> 5.0.0 diff --git a/czkawka/.signature b/czkawka/.signature index 19d72eadf..625dc3bcf 100644 --- a/czkawka/.signature +++ b/czkawka/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF33TJ6rPV8tcvWaDScKtEFnVeko5ePmtiDwydX5sDm7KxxvvRUMmNbsHtn1Q38OXaK1k8PxXfCYbu8qsEMiXKkQM= -SHA256 (Pkgfile) = f5cdff16ebee009ad553481105363cbd4b4502c9a8e62eac8513ba303c43be43 +RWSagIOpLGJF34WWTSDiN5+NEXwwNVWzNwlISKPHe+03MlRSjH+mHOrERB4tYeLDrXqoS/V3Wb6+bwbqpNA1LtCCrRfV9kDkHA0= +SHA256 (Pkgfile) = 766afd1114f7735ad641ac463a515625ce2f6f90134fa45e77284942a6970450 SHA256 (.footprint) = fa6683f786d53a26ba307bdfc2a549abd515a3baac6afd9a4cf5ec148a196bef -SHA256 (czkawka-4.1.0.tar.gz) = 3399a2878554692fd00b16226248727bdcf1188d247d584d28ded35800fb42ba +SHA256 (czkawka-5.0.0.tar.gz) = a5fdb2efc82cf9eba76b27f790f13bf6fcbf557ca8afd14d02504f6798a44e01 diff --git a/czkawka/Pkgfile b/czkawka/Pkgfile index e1ca21613..b5d96f808 100644 --- a/czkawka/Pkgfile +++ b/czkawka/Pkgfile @@ -2,10 +2,10 @@ # URL: https://github.com/qarmin/czkawka # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: rust -# Optional: gtk3 +# Optional: gtk4 name=czkawka -version=4.1.0 +version=5.0.0 release=1 source=(https://github.com/qarmin/czkawka/archive/$version/$name-$version.tar.gz) @@ -14,12 +14,21 @@ build() { mkdir "$PKGMK_SOURCE_DIR/rust" || true export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" - cargo update --manifest-path $name-$version/Cargo.toml - cargo build --bin czkawka_cli --release --locked --manifest-path $name-$version/Cargo.toml - prt-get isinst gtk3 && cargo build --bin czkawka_gui --release --locked --manifest-path $name-$version/Cargo.toml - + cargo build --bin czkawka_cli --release --manifest-path $name-$version/Cargo.toml install -Dt $PKG/usr/bin $name-$version/target/release/${name}_cli - prt-get isinst gtk3 && install -Dt $PKG/usr/bin $name-$version/target/release/${name}_gui - prt-get isinst gtk3 && install -Dm644 $SRC/czkawka-$version/pkgs/com.github.qarmin.czkawka.desktop \ - $PKG/usr/share/applications/com.github.qarmin.czkawka.desktop || true + + if prt-get isinst gtk4; then + cargo build --bin czkawka_gui --release --locked --manifest-path $name-$version/Cargo.toml + install -Dm644 $SRC/czkawka-$version/data/com.github.qarmin.czkawka.desktop \ + $PKG/usr/share/applications/com.github.qarmin.czkawka.desktop + install -Dm644 $SRC/czkawka-$version/data/icons/com.github.qarmin.czkawka.svg \ + $PKG/usr/share/icons/hicolor/scalable/apps/com.github.qarmin.czkawka.svg + install -Dm644 $SRC/czkawka-$version/data/icons/com.github.qarmin.czkawka.Devel.svg \ + $PKG/usr/share/icons/hicolor/scalable/apps/com.github.qarmin.czkawka.Devel.svg + install -Dm644 $SRC/czkawka-$version/data/icons/com.github.qarmin.czkawka-symbolic.svg \ + $PKG/usr/share/icons/hicolor/scalable/apps/com.github.qarmin.czkawka-symbolic.svg + install -Dm644 $SRC/czkawka-$version/data/com.github.qarmin.czkawka.metainfo.xml \ + $PKG/usr/share/metainfo/com.github.qarmin.czkawka.metainfo.xml + install -Dt $PKG/usr/bin $name-$version/target/release/${name}_gui + fi }
participants (1)
-
crux@crux.nu