wok-next annotate libmpeg2/receipt @ rev 20790

1. update also pinentry-gtk to new version 2. add to both fltk-dev so fltk-config is found 3. I want to force also a build to see if it really builds OKish here (see wok-build)
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 11:23:42 2018 +0000 (2018-06-09)
parents be4a09f51254
children f48456621a9d
rev   line source
al@19818 1 # SliTaz package receipt v2.
jozee@2943 2
jozee@2943 3 PACKAGE="libmpeg2"
jozee@2943 4 VERSION="0.5.1"
jozee@2943 5 CATEGORY="multimedia"
al@19818 6 SHORT_DESC="Decoding MPEG-1 and MPEG-2 video streams"
jozee@2943 7 MAINTAINER="jozee@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
al@19818 9 WEB_SITE="http://libmpeg2.sourceforge.net/"
al@20577 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libmpeg2.html"
al@19818 11
jozee@2943 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19818 13 WGET_URL="http://libmpeg2.sourceforge.net/files/$TARBALL" # no $SF_MIRROR
jozee@2943 14
al@19818 15 BUILD_DEPENDS="gfortran xorg-libX11-dev xorg-libICE-dev xorg-libXext-dev \
al@19818 16 xorg-libSM-dev xorg-libXv-dev"
al@19818 17 SPLIT="libmpeg2-dev"
pascal@14714 18
al@20577 19 compile_rules() {
al@19818 20 sed -i 's/static const/static/' libmpeg2/idct_mmx.c &&
al@19818 21
al@19818 22 ./configure \
al@19818 23 --enable-shared \
al@19818 24 --disable-static \
gokhlayeh@11573 25 $CONFIGURE_ARGS &&
al@20577 26 fix libtool &&
pascal@2964 27 make &&
al@20577 28 make install || return 1
al@19818 29
al@20577 30 cook_pick_docs README doc/libmpeg2.txt
jozee@2943 31 }
jozee@2943 32
al@20577 33 genpkg_rules() {
al@19818 34 case $PACKAGE in
al@19818 35 libmpeg2)
al@19818 36 copy @std
al@19818 37 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXv"
al@19818 38 TAGS="mpeg-1 mpeg-2 decoder"
al@19818 39 ;;
al@19818 40 *-dev)
al@19818 41 copy @dev
al@19818 42 ;;
al@19818 43 esac
jozee@2943 44 }