wok annotate mate-panel/receipt @ rev 25633

wbar: remove imlib2-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 24 10:30:04 2023 +0000 (6 months ago)
parents 73f36875e5a7
children
rev   line source
yuripourre@18078 1 # SliTaz package receipt.
yuripourre@18078 2
yuripourre@18078 3 PACKAGE="mate-panel"
yuripourre@18078 4 VERSION="1.9.1"
yuripourre@18078 5 CATEGORY="utilities"
yuripourre@18078 6 LICENSE="GPL3"
yuripourre@18078 7 SHORT_DESC="Panel where you can run applications and applets using MATE."
yuripourre@18078 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@18078 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25540 10 WEB_SITE="https://www.mate-desktop.org/"
yuripourre@18078 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
yuripourre@18280 12 TAGS="MATE"
yuripourre@18488 13 DEPENDS="gtk+ dconf mate-menus caja libmateweather marco \
yuripourre@18488 14 mate-desktop mate-session-manager"
yuripourre@18078 15 BUILD_DEPENDS="wget dconf-dev autoconf automake libtool itstool \
yuripourre@18078 16 gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \
yuripourre@18078 17 harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \
yuripourre@18078 18 libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \
pascal@19779 19 libmateweather-dev libsoup-dev sqlite-dev libcroco-dev"
yuripourre@18078 20
pascal@25600 21 # What is the latest version available today?
pascal@24055 22 current_version()
pascal@24055 23 {
pascal@24055 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25600 25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 26 }
pascal@24055 27
yuripourre@18078 28 # Rules to configure and make the package.
yuripourre@18078 29 compile_rules()
yuripourre@18078 30 {
al@18741 31 ./autogen.sh \
yuripourre@18078 32 --prefix=/usr \
yuripourre@18079 33 --sysconfdir=/etc \
yuripourre@18079 34 --localstatedir=/var \
yuripourre@18080 35 --disable-introspection\
yuripourre@18079 36 --disable-static \
yuripourre@18078 37 $CONFIGURE_ARGS &&
yuripourre@18078 38 make &&
yuripourre@18078 39 make DESTDIR=$DESTDIR install
yuripourre@18078 40 }
yuripourre@18078 41
yuripourre@18078 42 genpkg_rules()
yuripourre@18078 43 {
yuripourre@18080 44 mkdir -p $fs/usr/lib
yuripourre@18080 45 cp -a $install/usr/bin $fs/usr
yuripourre@18078 46 cp -a $install/usr/share $fs/usr
yuripourre@18080 47 cp -a $install/usr/libexec $fs/usr
yuripourre@18080 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
yuripourre@18488 49 rm -rf $install/usr/share/help
al@18741 50
yuripourre@18489 51 # Autostart
al@18741 52 mkdir -p $fs/etc/xdg/autostart/
yuripourre@18489 53 cp -a $install/usr/share/applications/* $fs/etc/xdg/autostart/
yuripourre@18078 54 }