wok-next view gtksourceview3/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents d5aab818505e
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtksourceview3"
4 VERSION="3.24.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Extends GTK+3 framework for multiline text editing"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/GtkSourceView"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/gtksourceview.html"
12 TARBALL="gtksourceview-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gtksourceview/${VERSION%.*}/$TARBALL"
15 COOKOPTS="force-arch" # different .vapi
17 BUILD_DEPENDS="glib-dev itstool gtk3-dev libxml2-dev gettext-dev gtk-doc vala \
18 gobject-introspection-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gtksourceview3)
31 copy @std
32 DEPENDS="atk cairo gdk-pixbuf glib gtk3 libxml2 pango"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="gtksourceview3 glib-dev gtk3-dev libxml2-dev"
37 ;;
38 esac
39 }