wok-current annotate desktop-file-utils/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (2 weeks ago)
parents bd8ebca6ea25
children
rev   line source
pankso@3150 1 # SliTaz package receipt.
pankso@3150 2
pankso@3150 3 PACKAGE="desktop-file-utils"
Hans-G?nter@24474 4 VERSION="0.26"
al@19540 5 CATEGORY="system-tools"
Hans-G?nter@22732 6 SHORT_DESC="Utilities for .desktop files (update-desktop-database)."
pankso@3150 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19540 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
Hans-G?nter@22732 10
monghitri@13971 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19540 12 WGET_URL="https://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL"
pankso@3150 13
shann@25596 14 DEPENDS="glib glibc-base pcre"
shann@25596 15 BUILD_DEPENDS="glib-dev meson pkg-config"
Hans-G?nter@22732 16
al@19540 17 SPLIT="desktop-file-utils-extra"
pascal@15000 18
shann@25728 19 HOST_ARCH="i486 x86_64"
shann@25728 20
pascal@24069 21 current_version()
pascal@24069 22 {
pascal@24069 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24069 24 sed '/utils-/!d;s|.*utils-||;s|.tar.*||' | sed '$!d'
pascal@24069 25 }
pascal@24069 26
pankso@3150 27 # Rules to configure and make the package.
pankso@3150 28 compile_rules()
pankso@3150 29 {
Hans-G?nter@24474 30 meson _build \
Hans-G?nter@24474 31 --prefix=/usr &&
Hans-G?nter@24474 32 ninja -C _build &&
Hans-G?nter@24474 33 ninja -C _build install
pankso@3150 34 }
pankso@3150 35
pankso@3150 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3150 37 genpkg_rules()
pankso@3150 38 {
al@19540 39 cook_copy_files update-desktop-database
pankso@3150 40 }