wok view pnmixer/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents befd7b264752
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="pnmixer"
4 VERSION="0.7.2"
5 CATEGORY="utilities"
6 SHORT_DESC="System tray sound mixer."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/nicklan/pnmixer/wiki"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/nicklan/$PACKAGE/archive/v$VERSION/$TARBALL"
14 DEPENDS="alsa-lib atk bzlib cairo expat fontconfig freetype gcc-lib-base \
15 gdk-pixbuf glib glibc-base gtk+3 libffi libgio libnotify libpng \
16 libxcb pango pixman xorg-libX11 xorg-libXau xorg-libXcomposite \
17 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
18 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
19 BUILD_DEPENDS="alsa-lib-dev cmake gettext glib-dev gtk+3-dev libnotify-dev \
20 xorg-libX11-dev"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cp $stuff/LINGUAS po/LINGUAS
33 mkdir build
34 cd build
35 cmake .. \
36 -DCMAKE_INSTALL_PREFIX=/usr &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }