Magellan Linux

Annotation of /trunk/extras/libjasper/libjasper-1.900.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1893 - (hide annotations) (download)
Mon Jun 8 18:54:17 2009 UTC (14 years, 11 months ago) by niro
File size: 1089 byte(s)
auto added: ver bump to 1.900.1-r1
1 niro 1893 # $Id$
2    
3     PNAME="libjasper"
4     PVER="1.900.1"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard."
11     HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/"
12    
13     DEPEND=">= virtual/opengl
14     >= virtual/glut
15     >= media-libs/libjpeg-6b"
16    
17     SDEPEND=">= app-arch/unzip-5"
18    
19     SRCFILE="${PNAME/lib}-${PVER}.zip"
20     SRCDIR="${BUILDDIR}/${PNAME/lib}-${PVER}"
21    
22     sminclude multilib
23    
24     SRC_URI=(
25     http://www.ece.uvic.ca/~mdadams/jasper/software/${SRCFILE}
26     mirror://${PNAME}/${SRCFILE}
27     mirror://${PNAME}/${PNAME}-${PVER}-fixes-20081208.patch
28     )
29    
30     UP2DATE="updatecmd ${HOMEPAGE} | grep ${PNAME/lib}- | sed 's/.*-\(.*\).zip.*/\1/;q'"
31    
32     src_prepare()
33     {
34     # must use mesa as opengl-headers!
35     [[ $(opengl-update --get-implementation) != xorg ]] &&
36     die "please change to xorg opengl-headers: opengl-update xorg"
37    
38     munpack ${SRCFILE} || die
39    
40     # fixes serveral issues
41     mpatch ${PNAME}-${PVER}-fixes-20081208.patch || die
42     }
43    
44     src_compile()
45     {
46     mconfigure --enable-shared --enable-libjpeg --enable-opengl || die
47     mmake || die
48     }

Properties

Name Value
svn:keywords Id