New package: devil-1.7.8
This commit is contained in:
parent
9fdaf2d2aa
commit
afa993313a
4 changed files with 49 additions and 0 deletions
|
@ -2080,3 +2080,6 @@ libQupZilla.so.1 qupzilla-1.8.6_1
|
|||
libinjeqt.so.0 injeqt-1.0.1_1
|
||||
libgadu.so.3 libgadu-1.12.1_1
|
||||
libhiredis.so.0.13 hiredis-0.13.1_1
|
||||
libIL.so.1 devil-1.7.8_1
|
||||
libILU.so.1 devil-1.7.8_1
|
||||
libILUT.so.1 devil-1.7.8_1
|
||||
|
|
1
srcpkgs/devil-devel
Symbolic link
1
srcpkgs/devil-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
devil
|
1
srcpkgs/devil-examples
Symbolic link
1
srcpkgs/devil-examples
Symbolic link
|
@ -0,0 +1 @@
|
|||
devil
|
44
srcpkgs/devil/template
Normal file
44
srcpkgs/devil/template
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Template file for 'devil'
|
||||
pkgname=devil
|
||||
version=1.7.8
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ILU --enable-ILUT --with-examples"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="lcms-devel libpng-devel libmng-devel jasper-devel
|
||||
libopenexr-devel glew-devel libfreeglut-devel SDL_image-devel"
|
||||
short_desc="Developer's Image Library"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="LGPL-2.1"
|
||||
homepage="http://openil.sourceforge.net/"
|
||||
distfiles="${SOURCEFORGE_SITE}/openil/DevIL-${version}.tar.gz"
|
||||
checksum=682ffa3fc894686156337b8ce473c954bf3f4fb0f3ecac159c73db632d28a8fd
|
||||
|
||||
pre_configure() {
|
||||
# Replace obsolete libpng function names
|
||||
sed -e "s;png_set_gray_1_2_4_to_8;png_set_expand_gray_1_2_4_to_8;" \
|
||||
-i ${wrksrc}/src-IL/src/il_png.c
|
||||
sed -e "s;png_set_gray_1_2_4_to_8;png_set_expand_gray_1_2_4_to_8;" \
|
||||
-i ${wrksrc}/src-IL/src/il_icon.c
|
||||
}
|
||||
|
||||
devil-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmkdir usr/share/doc/devil
|
||||
cp -aR docs/html docs/images ${PKGDESTDIR}/usr/share/doc/devil
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
devil-examples_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - examples"
|
||||
pkg_install() {
|
||||
vmove usr/share/devil/examples
|
||||
cp -aR ${wrksrc}/examples/* ${PKGDESTDIR}/usr/share/devil/examples
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue