wok annotate pavucontrol/receipt @ rev 25441

Up chkrootkit (0.55)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 10:24:23 2022 +0000 (2022-09-02)
parents 057c6366ef59
children 73f36875e5a7
rev   line source
mojo@17980 1 # SliTaz package receipt.
mojo@17980 2
mojo@17980 3 PACKAGE="pavucontrol"
mojo@17981 4 VERSION="3.0"
mojo@17980 5 CATEGORY="multimedia"
mojo@17980 6 SHORT_DESC="A GTK volume control for PulseAudio"
mojo@17980 7 MAINTAINER="mojo@slitaz.org"
mojo@17980 8 LICENSE="LGPL2.1 GPL2 MIT"
mojo@17980 9 WEB_SITE="http://freedesktop.org/software/pulseaudio/pavucontrol"
mojo@17980 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
mojo@17980 11 WGET_URL="$WEB_SITE/$TARBALL"
mojo@17980 12
mojo@17980 13 DEPENDS="gnome-icon-theme libcanberra gtkmm libsigc++"
mojo@17980 14 BUILD_DEPENDS="intltool lynx libcanberra-dev gtkmm-dev libsigc++-dev \
mojo@17980 15 pulseaudio-dev libglade-dev libglademm-dev libltdl"
mojo@17980 16
pascal@24425 17 # What is the latest version available today?
pascal@24425 18 current_version()
pascal@24425 19 {
pascal@24425 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 22 }
pascal@24425 23
mojo@17980 24 # Rules to configure and make the package.
mojo@17980 25 compile_rules()
mojo@17980 26 {
mojo@17980 27 ./configure $CONFIGURE_ARGS --disable-gtk3 \
mojo@17980 28 && make && make install
mojo@17980 29 }
mojo@17980 30
mojo@17980 31 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@17980 32 genpkg_rules()
mojo@17980 33 {
mojo@17980 34 cp -a $install/* $fs
mojo@17980 35 }