mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Add recipe for libnsgif and remove old stuff.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION="Libnsgif is a decoding library for the GIF image file format"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libnsgif-0.0.3-src.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd libnsgif-0.0.3
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libnsgif-0.0.3
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2003 - 2012 The NetSurf Developers"
|
||||
@@ -1,21 +0,0 @@
|
||||
DESCRIPTION="Libnsgif is a decoding library for the GIF image file format"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
|
||||
SRC_URI="git://git.netsurf-browser.org/libnsgif.git"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-util/buildsystem >= 0.0.1"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd libnsgif-0.1.0-HEAD
|
||||
make PREFIX=/boot/common
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libnsgif-0.1.0-HEAD
|
||||
make install PREFIX=/boot/common
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2004 Richard Wilson, 2008 - 2013 Sean Fox"
|
||||
42
media-libs/libnsgif/libnsgif-0.1.1.recipe
Normal file
42
media-libs/libnsgif/libnsgif-0.1.1.recipe
Normal file
@@ -0,0 +1,42 @@
|
||||
DESCRIPTION="Libnsgif is a decoding library for GIF image file format"
|
||||
SUMMARY="A decoding library for GIF images"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libnsgif-0.1.1-src.tar.gz"
|
||||
CHECKSUM_SHA256="d450ea0a9da234486e997248b30a86524f75f1021ca67017b5597423cf6c0a15"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
PROVIDES="
|
||||
libnsgif = $portVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
netsurf_buildsystem
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCHES="libnsgif-0.1.1.patchset"
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install
|
||||
|
||||
prepareInstalledDevelLib libnsgif
|
||||
fixPkgconfig libnsgif
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2006 Richard Wilson, 2008 - 2013 Sean Fox"
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsgif_devel = $portVersion
|
||||
devel:libnsgif = $portVersion
|
||||
"
|
||||
35
media-libs/libnsgif/patches/libnsgif-0.1.1.patchset
Normal file
35
media-libs/libnsgif/patches/libnsgif-0.1.1.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From 70d5d372e5534a2d1f58025ea8a7d92fae60ad56 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Mon, 9 Jun 2014 21:28:28 +0200
|
||||
Subject: Fix paths for Haiku port.
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 099477d..ccff0e9 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -29,7 +29,7 @@ endif
|
||||
include $(NSBUILD)/Makefile.top
|
||||
|
||||
# Extra installation rules
|
||||
-I := /include
|
||||
+I := /$(INCLUDEDIR)
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsgif.h
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
|
||||
diff --git a/libnsgif.pc.in b/libnsgif.pc.in
|
||||
index 3d85e6a..0255bf9 100644
|
||||
--- a/libnsgif.pc.in
|
||||
+++ b/libnsgif.pc.in
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=PREFIX
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/LIBDIR
|
||||
-includedir=${prefix}/include
|
||||
+includedir=${prefix}/INCLUDEDIR
|
||||
|
||||
Name: libnsgif
|
||||
Description: Provides gif loading and conversion
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user