wok-next diff rage/receipt @ rev 20638

Update Enlightenment stack
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 28 17:31:01 2018 +0300 (2018-04-28)
parents 9a488e19da38
children d5aab818505e
line diff
     1.1 --- a/rage/receipt	Fri Apr 27 15:12:17 2018 +0300
     1.2 +++ b/rage/receipt	Sat Apr 28 17:31:01 2018 +0300
     1.3 @@ -1,46 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="rage"
     1.8 -VERSION="55225"
     1.9 +VERSION="0.3.0"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="E17 rage media center."
    1.12 +SHORT_DESC="Enlightenment media center"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 -WEB_SITE="http://www.enlightenment.org/"
    1.16 -WGET_URL="subversion|http://svn.enlightenment.org/svn/e/trunk/$PACKAGE"
    1.17 -BRANCH="$VERSION"
    1.18 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -TAGS="mp3 ogg video e17 audio music"
    1.20 +WEB_SITE="https://www.enlightenment.org/"
    1.21  
    1.22 -DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl"
    1.23 -BUILD_DEPENDS="shared-mime-info eet-dev evas-dev ecore-dev embryo-dev edje-dev \
    1.24 -emotion-dev emotion eina-dev curl-dev openssl-dev libtool jpeg-dev expat-dev \
    1.25 -glib-dev"
    1.26 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.27 +WGET_URL="https://download.enlightenment.org/rel/apps/rage/$TARBALL"
    1.28  
    1.29 -# Handle cross compilation
    1.30 -case "$ARCH" in
    1.31 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS subversion autoconf automake" ;;
    1.32 -esac
    1.33 +BUILD_DEPENDS="meson ninja efl-dev curl-dev"
    1.34  
    1.35 -# Rules to configure and make the package.
    1.36 -compile_rules()
    1.37 -{
    1.38 -	./autogen.sh \
    1.39 -		--prefix=/usr \
    1.40 -		$CONFIGURE_ARGS &&
    1.41 -	make && make install
    1.42 +COOKOPTS="skip-log-errors"
    1.43 +
    1.44 +compile_rules() {
    1.45 +	mkdir build
    1.46 +	cd    build
    1.47 +
    1.48 +	meson-wrapper .. &&
    1.49 +	ninja &&
    1.50 +	ninja install || return 1
    1.51 +
    1.52 +	cook_pick_docs README
    1.53  }
    1.54  
    1.55 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.56 -genpkg_rules()
    1.57 -{
    1.58 -	mkdir -p $fs/usr/share/doc/rage
    1.59 -	cp -a $install/usr/bin $fs/usr
    1.60 -	cp -a $install/usr/share $fs/usr
    1.61 -	cp $src/README $fs/usr/share/doc/rage
    1.62 -	cat > $fs/usr/share/rage/example.volumes << EOT
    1.63 -/home/user/Images
    1.64 -/home/user/Music
    1.65 -/home/user/Videos
    1.66 -EOT
    1.67 +genpkg_rules() {
    1.68 +	copy @std
    1.69 +	DEPENDS="efl"
    1.70 +	TAGS="mp3 ogg video e17 audio music"
    1.71  }