# HG changeset patch # User Aleksej Bobylev # Date 1478051715 -7200 # Node ID 5149b48c17cd5a06a7dddf504bf0df8f3774aec9 # Parent 1a7f0416f9b15b171292ff8d184d1797ef4a7367 Add picard diff -r 1a7f0416f9b1 -r 5149b48c17cd picard/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/picard/receipt Wed Nov 02 03:55:15 2016 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="picard" +VERSION="1.4.0.5" +# Last v 1.3.2 released on 7 Jan 2015, but project is actively developed +COMMIT="46dbab9" +CATEGORY="utilities" +SHORT_DESC="Picard is a cross-platform music tagger written in Python" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://picard.musicbrainz.org/" +TARBALL="$PACKAGE-$COMMIT.tar.gz" +WGET_URL="https://github.com/metabrainz/picard/archive/$COMMIT.tar.gz" + +DEPENDS="python PyQt-x11-gpl mutagen" +BUILD_DEPENDS="python-dev PyQt-x11-gpl mutagen svgcleaner" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root="$install" + cook_compress_png + find $install -name '*.svg' -exec svgcleaner \{\} \{\} \; +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}