wok-current annotate pnmixer/receipt @ rev 24906

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