wok-next view spivak/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | 6a9bc040c7d2 |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="spivak"
4 VERSION="1.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Free and feature-rich karaoke player"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/gyunaev/spivak"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/gyunaev/spivak/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="qt5-dev cld2-dev sqlite3-dev libzip-dev uchardet-dev \
15 gstreamer1-dev gst1-plugins-base-dev"
17 compile_rules() {
18 qmake &&
19 make || return 1
21 install -Dm0755 src/spivak \
22 $install/usr/bin/spivak
23 install -Dm0755 plugins/languagedetector/plugin_langdetect.so \
24 $install/usr/lib/spivak/plugins/plugin_langdetect.so
25 install -Dm0644 packaging/icon.png \
26 $install/usr/share/icons/hicolor/64x64/apps/spivak.png
27 install -Dm0644 packaging/spivak.desktop \
28 $install/usr/share/applications/spivak.desktop
29 }
31 genpkg_rules() {
32 copy @std icons/
33 DEPENDS="bzlib cld2 glib gst1-plugins-base gstreamer1 libatomic libsqlite3 \
34 libzip mesa qt5-base uchardet zlib"
35 }