Magellan Linux

Contents of /trunk/extras/libjasper/libjasper-1.900.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3675 - (show annotations) (download)
Fri Oct 30 07:58:54 2009 UTC (14 years, 6 months ago) by niro
File size: 1088 byte(s)
auto added: ver bump to 1.900.1-r2
1 # $Id$
2
3 PNAME="libjasper"
4 PVER="1.900.1"
5 PBUILD="r2"
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-7"
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