diff --git a/libnsfb/Makefile b/libnsfb/Makefile index f8705aa..cad634c 100644 --- a/libnsfb/Makefile +++ b/libnsfb/Makefile @@ -1,16 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnsfb -PKG_REV:=10618 -PKG_VERSION:=r$(PKG_REV) +PKG_VERSION:=0.0.2 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=svn://svn.netsurf-browser.org/trunk/libnsfb -PKG_SOURCE_PROTO:=svn -PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz +PKG_SOURCE_URL:=http://www.netsurf-browser.org/projects/releases/ +PKG_MD5SUM:=f7c1cbf5a7d26750a9d6e0668dd8760c include $(INCLUDE_DIR)/package.mk diff --git a/libnsfb/patches/001-libnsfb.patch b/libnsfb/patches/001-libnsfb.patch index 5ee9133..b26348d 100644 --- a/libnsfb/patches/001-libnsfb.patch +++ b/libnsfb/patches/001-libnsfb.patch @@ -1,10 +1,20 @@ -diff -ur libnsfb.orig/src/surface/Makefile libnsfb/src/surface/Makefile ---- libnsfb.orig/src/surface/Makefile 2010-11-20 13:13:46.000000000 +0300 -+++ libnsfb/src/surface/Makefile 2010-11-20 13:42:01.000000000 +0300 -@@ -1,4 +1,4 @@ +--- a/src/surface/Makefile ++++ b/src/surface/Makefile +@@ -1,16 +1,8 @@ # Sources --DIR_SOURCES := surface.c sdl.c vnc.c able.c ram.c linux.c x.c -+DIR_SOURCES := surface.c sdl.c ram.c linux.c +-DIR_SOURCES := surface.c able.c ram.c linux.c ++DIR_SOURCES := surface.c ram.c linux.c + ifeq ($(NSFB_SDL_AVAILABLE),yes) + DIR_SOURCES := $(DIR_SOURCES) sdl.c + endif + +-ifeq ($(NSFB_XCB_AVAILABLE),yes) +- DIR_SOURCES := $(DIR_SOURCES) x.c +-endif +- +-ifeq ($(NSFB_VNC_AVAILABLE),yes) +- DIR_SOURCES := $(DIR_SOURCES) vnc.c +-endif +- include build/makefiles/Makefile.subdir -Только в libnsfb/src/surface: Makefile~