SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cinepaint"

# SliTaz package receipt.

PACKAGE="cinepaint"
VERSION="1.3"
CATEGORY="graphics"
SHORT_DESC="For painting and retouching bitmap frames of films."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="MIT GPL LGPL"
TARBALL="$PACKAGE-$VERSION.tgz"
WEB_SITE="https://web.archive.org/web/20220507205351/http://www.cinepaint.org/"
WGET_URL="https://mirror.math.princeton.edu/pub/archlinux/other/$PACKAGE/$TARBALL"

DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \
gutenprint zlib mesa jbigkit openexr"
BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \
python-dev"

current_version()
{
    wget -O - https://sourceforge.net/projects/cinepaint/files/CinePaint/ 2>/dev/null | \
    sed '/CinePaint-/!d;/in32/d;s|.*CinePaint-\(.*\).src.*".*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sh ./autogen.sh
    ./configure \
        --prefix=/usr \
        --enable-gtk2 \
        --disable-print \
        $CONFIGURE_ARGS 2>&1 | grep -v 'ls: argyll-0.60:' &&
    {
        make && make DESTDIR=$DESTDIR install
    } 2>&1 | grep -v "rename 'pygimp/..html':"
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/cinepaint $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/share/cinepaint $fs/usr/share
    cp -a $install/usr/share/pixmaps $fs/usr/share
    cp -a $install/usr/share/applications $fs/usr/share
    cp -a $install/usr/share/fonts $fs/usr/share
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)