wok-current view imagination/receipt @ rev 25659

Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author Stanislas Leduc <shann@slitaz.org>
date Sun Feb 18 10:03:28 2024 +0000 (10 months ago)
parents ba7cbdb5749c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="imagination"
4 VERSION="1.0"
5 CATEGORY="graphics"
6 SHORT_DESC="lightweight and simple GTK+ DVD slideshow maker"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://imagination.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="slideshow photo"
14 DEPENDS="gtk+ ffmpeg"
15 BUILD_DEPENDS="intltool ffmpeg gtk+-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/imagination/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*/imagination-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/$PACKAGE/*.so $fs/usr/lib/$PACKAGE
41 cp -a $install/usr/share/$PACKAGE $fs/usr/share
42 cp -a $install/usr/share/icons/hicolor/16x16/apps/* $fs/usr/share/pixmaps
44 }