Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/0sugar/service.info
blob: aa47581be42556cfb008d501467a343b664cd065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[DEFAULT]
uid       = tuxpaint
summary   = Drawing program designed for young children
license   = GPLv2
homepage  = http://www.tuxpaint.org/

[Service]
category  = Education;Art
icon      = data/images/tuxpaint-icon.svg
requires  = libpaper, librsvg, cairo, fribidi
            sdl, sdl-image, sdl-mixer, sdl-ttf, sdl-pango
            env, ds, shell
binding   = PATH bin
            TUXPAINT_DATA_PREFIX share/tuxpaint
            TUXPAINT_LOCALEDIR share/locale
            TUXPAINT_MAGIC_PREFIX lib/tuxpaint/plugins
recipe    = bin, data

[data]
exclude   = bin/*, lib/*

[bin]
main      = bin/tuxpaint
include   = bin/*, lib/*
arch      = build

[Build]
requires  = libpaper/devel, librsvg/devel, cairo/devel, fribidi/devel, sdl/devel
            sdl-image/devel, sdl-mixer/devel, sdl-ttf/devel, sdl-pango/devel
            env/devel, ds/devel, shell/devel
            pkgconfig, make, gcc-c
exec      = cd "$SRCDIR" &&
            make PREFIX=/ SUGAR=1 OPTFLAGS="$CFLAGS -I$PAPER_PATH/include"
                PAPER_LIB="-L$PAPER_PATH/lib -lpaper" &&
            make PREFIX=/ SUGAR=1 DESTDIR="$DISTDIR" install

[Maintain]
exec      = version=$(echo $(grep ^VER_VERSION Makefile | awk -F= '{print $2}')) &&
            test "$version" &&
            rm -rf .0sugar/tuxpaint-$version &&
            mkdir -p .0sugar/tuxpaint-$version/obj &&
            find . -follow \( -wholename '*/CVS' -o -name .thumbs
                -o -name .cvsignore -o -name 'dummy.o' -o -name 'build'
                -o -name '.#*' -o -name obj -o -name '*.mo' -o -path ./tuxpaint
                -o -name '*.tar.*' -o -name .git -o -name .0sugar \) -prune
                -o -type f
                -exec cp --parents -dp {} .0sugar/tuxpaint-$version/ \; &&
            tar cjpf tuxpaint-$version.tar.bz2 -C .0sugar tuxpaint-$version