wok annotate xfwm4/receipt @ rev 25044

*/stuff/bootloader.S: fix VCPI case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 02 15:48:36 2022 +0000 (2022-06-02)
parents 17091bc7c301
children 1573884f6aee
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfwm4"
erkan@22421 4 VERSION="4.12.0"
erjo@2075 5 CATEGORY="x-window"
erjo@2075 6 SHORT_DESC="Xfce Window Manager"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@2075 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://www.xfce.org/"
pascal@24972 11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
al@17501 12 TAGS="window-manager"
erjo@2075 13
erjo@9881 14 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
erjo@9881 15 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
pascal@19744 16 libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev xcb-util-dev"
al@17501 17
pascal@24415 18 # What is the latest version available today?
pascal@24415 19 current_version()
pascal@24415 20 {
pascal@24415 21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 24 }
pascal@24415 25
erjo@2075 26 # Rules to configure and make the package.
erjo@2075 27 compile_rules()
erjo@2075 28 {
erjo@2075 29 ./configure --prefix=/usr \
erjo@2075 30 --enable-render \
erjo@2075 31 --enable-startup-notification \
erjo@2075 32 --enable-randr \
erjo@2075 33 --disable-debug \
slaxemulator@8032 34 --disable-static \
erjo@2075 35 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@14829 36 make && make install
erjo@2075 37 }
erjo@2075 38
erjo@2075 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 40 genpkg_rules()
erjo@2075 41 {
erjo@2075 42 mkdir -p $fs/usr \
al@17501 43 $fs/usr/share/locale
al@17501 44
erjo@14829 45 cp -a $install/usr/bin $fs/usr
erjo@14829 46 cp -a $install/usr/share/applications $fs/usr/share
erjo@14829 47 cp -a $install/usr/share/icons $fs/usr/share
erjo@14829 48 cp -a $install/usr/share/themes $fs/usr/share
erjo@14829 49 cp -a $install/usr/share/xfwm4 $fs/usr/share
al@17501 50
erjo@2075 51 # Remove SVG icons
erjo@2075 52 test -d $fs/usr/share/icons/hicolor/scalable \
erjo@2075 53 && rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2075 54 }