wok-current diff sakura-gtk3/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sakura-gtk3/receipt	Fri Apr 19 12:48:51 2024 +0000
     1.3 @@ -0,0 +1,52 @@
     1.4 +# SliTaz package receipt
     1.5 +
     1.6 +PACKAGE="sakura-gtk3"
     1.7 +VERSION="3.6.0"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A simple but powerful libvte-based terminal emulator"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://www.pleyades.net/david/projects/sakura"
    1.13 +TARBALL="sakura-$VERSION.tar.bz2"
    1.14 +WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
    1.15 +TAGS="terminal"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +DEPENDS="gtk+3 vte-gtk3 xorg-libXdamage xorg-libXi"
    1.19 +BUILD_DEPENDS="gtk+3-dev vte-gtk3-dev xorg-libXdamage-dev xorg-libXi-dev"
    1.20 +
    1.21 +# Handle cross compilation.
    1.22 +case "$ARCH" in
    1.23 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
    1.24 +esac
    1.25 +
    1.26 +current_version()
    1.27 +{
    1.28 +	wget -O - https://launchpad.net/sakura 2>/dev/null | \
    1.29 +	sed '/Latest version/!d;s|.* is ||;q'
    1.30 +}
    1.31 +
    1.32 +# Rules to configure and make the package.
    1.33 +compile_rules()
    1.34 +{
    1.35 +	#patch -p1 -i $stuff/sakura-icon.patch
    1.36 +	#patch -p1 -i $stuff/ru.po.patch
    1.37 +	#patch -p1 -i $stuff/fr.po.patch
    1.38 +	#patch -p1 -i $stuff/login_shell.patch
    1.39 +
    1.40 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
    1.41 +	sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
    1.42 +	sed -i 's/-u//' CMakeLists.txt &&
    1.43 +	sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
    1.44 +	make &&
    1.45 +	make DESTDIR=$DESTDIR install
    1.46 +	cp -f $stuff/sakura.desktop $install/usr/share/applications
    1.47 +}
    1.48 +
    1.49 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.50 +genpkg_rules()
    1.51 +{
    1.52 +	mkdir -p $fs/usr
    1.53 +	cp -a $install/usr/bin $fs/usr
    1.54 +}
    1.55 +