wok-next view retro-gtk/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 | f48456621a9d |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="retro-gtk"
4 VERSION="0.14.0"
5 CATEGORY="gnome"
6 SHORT_DESC="Toolkit to write GTK+3 based Libretro frontends"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://gitlab.gnome.org/GNOME/retro-gtk"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="meson ninja libepoxy-dev glib-dev gtk3-dev pulseaudio-dev \
15 gobject-introspection-dev vala"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 meson-wrapper build &&
20 ninja -C build &&
21 DESTDIR=$install ninja -C build install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 retro-gtk)
27 copy @std
28 DEPENDS="cairo gdk-pixbuf glib gtk3 libepoxy pulseaudio"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="retro-gtk glib-dev"
33 ;;
34 esac
35 }