wok-current rev 25303
updated shared-mime-info and shared-mime-info-dev (1.15 -> 2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 09:08:48 2022 +0100 (2022-07-20) |
parents | 5d3da6d7eabc |
children | 26a755385ece |
files | shared-mime-info-dev/receipt shared-mime-info-lang/receipt shared-mime-info/receipt |
line diff
1.1 --- a/shared-mime-info-dev/receipt Wed Jul 20 08:51:56 2022 +0100 1.2 +++ b/shared-mime-info-dev/receipt Wed Jul 20 09:08:48 2022 +0100 1.3 @@ -1,14 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="shared-mime-info-dev" 1.7 -VERSION="1.15" 1.8 +VERSION="2.2" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Freedesktop shared-mime-info - development files." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info" 1.14 1.15 -DEPENDS="shared-mime-info pkg-config" 1.16 +DEPENDS="pkg-config shared-mime-info" 1.17 WANTED="shared-mime-info" 1.18 1.19 HOST_ARCH="i486 arm" 1.20 @@ -16,6 +16,5 @@ 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p $fs/usr/lib 1.25 - cp -a $install/usr/share/pkgconfig $fs/usr/lib 1.26 + cook_copy_folders pkgconfig 1.27 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/shared-mime-info-lang/receipt Wed Jul 20 09:08:48 2022 +0100 2.3 @@ -0,0 +1,18 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="shared-mime-info-lang" 2.7 +VERSION="2.2" 2.8 +CATEGORY="localization" 2.9 +SHORT_DESC="Freedesktop shared-mime-info - localised messages." 2.10 +MAINTAINER="maintainer@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info" 2.13 + 2.14 +WANTED="shared-mime-info" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + cook_copy_folders locale 2.20 +} 2.21 +
3.1 --- a/shared-mime-info/receipt Wed Jul 20 08:51:56 2022 +0100 3.2 +++ b/shared-mime-info/receipt Wed Jul 20 09:08:48 2022 +0100 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="shared-mime-info" 3.7 -VERSION="1.15" 3.8 +VERSION="2.2" 3.9 CATEGORY="system-tools" 3.10 SHORT_DESC="Core database of common types and the *update-mime-database*." 3.11 MAINTAINER="pankso@slitaz.org" 3.12 @@ -9,10 +9,11 @@ 3.13 WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info" 3.14 3.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.16 -WGET_URL="https://github.com/freedesktop/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz" 3.17 +WGET_URL="https://gitlab.freedesktop.org/xdg/$PACKAGE/-/archive/$VERSION/$TARBALL" 3.18 3.19 +SUGGESTED="shared-mime-info-lang" 3.20 DEPENDS="glib" 3.21 -BUILD_DEPENDS="autoconf automake bash intltool itstool" 3.22 +BUILD_DEPENDS="intltool itstool meson" 3.23 3.24 HOST_ARCH="i486 arm" 3.25 3.26 @@ -30,15 +31,10 @@ 3.27 # Rules to configure and make the package. 3.28 compile_rules() 3.29 { 3.30 - #patch -Np1 -i $stuff/pbm.patch 3.31 - 3.32 - # remove #!/bin/sh from autogen.sh, since bash is required: 3.33 - sed -i '1d' ./autogen.sh 3.34 - 3.35 - bash -c ./autogen.sh && 3.36 - ./configure $CONFIGURE_ARGS && 3.37 - make -j1 && 3.38 - make -j1 DESTDIR=$DESTDIR install 3.39 + meson _build \ 3.40 + --prefix=/usr && 3.41 + ninja -C _build && 3.42 + ninja -C _build install 3.43 } 3.44 3.45 # Rules to gen a SliTaz package suitable for Tazpkg.