pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

SDL2: Drop, older than devel/SDL2



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Sep 21 01:49:10 2016 +0200
Changeset:	cf24ec684428cabbfb59e60919dc51a5d355d0b3

Removed Files:
	SDL2/DESCR
	SDL2/Makefile
	SDL2/PLIST
	SDL2/buildlink3.mk
	SDL2/distinfo
	SDL2/options.mk
	SDL2/patches/patch-CMakeLists.txt
	SDL2/patches/patch-src_cpuinfo_SDL_cpuinfo.c

Log Message:
SDL2: Drop, older than devel/SDL2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cf24ec684428cabbfb59e60919dc51a5d355d0b3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 SDL2/DESCR                                   |  14 ----
 SDL2/Makefile                                |  51 ------------
 SDL2/PLIST                                   |  90 ---------------------
 SDL2/buildlink3.mk                           |  36 ---------
 SDL2/distinfo                                |   7 --
 SDL2/options.mk                              | 112 ---------------------------
 SDL2/patches/patch-CMakeLists.txt            |  32 --------
 SDL2/patches/patch-src_cpuinfo_SDL_cpuinfo.c |  15 ----
 8 files changed, 357 deletions(-)

diffs:
diff --git a/SDL2/DESCR b/SDL2/DESCR
deleted file mode 100644
index 63228af..0000000
--- a/SDL2/DESCR
+++ /dev/null
@@ -1,14 +0,0 @@
-Simple DirectMedia Layer is a cross-platform development library designed to
-provide low level access to audio, keyboard, mouse, joystick, and graphics
-hardware via OpenGL and Direct3D. It is used by video playback software,
-emulators, and popular games including Valve's award winning catalog and many
-Humble Bundle games.
-
-SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for
-other platforms may be found in the source code.
-
-SDL is written in C, works natively with C++, and there are bindings available
-for several other languages, including C# and Python.
-
-SDL 2.0 is distributed under the zlib license. This license allows you to use
-SDL freely in any software.
diff --git a/SDL2/Makefile b/SDL2/Makefile
deleted file mode 100644
index ad4ab55..0000000
--- a/SDL2/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# $NetBSD: Makefile,v 1.21 2014/08/29 01:36:58 othyro Exp $
-#
-
-REVISION=	9108
-DISTNAME=	SDL-2.0.3-${REVISION}
-PKGNAME=	${DISTNAME:S/SDL/SDL2/1:S/1-/1./1}
-CATEGORIES=	devel
-MASTER_SITES=	http://www.libsdl.org/tmp/
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://www.libsdl.org/
-COMMENT=	Simple DirectMedia Layer is a cross-platform multimedia library
-LICENSE=	zlib
-
-USE_LANGUAGES=	c c++
-USE_CMAKE=	yes
-USE_TOOLS+=	pkg-config
-
-PKGCONFIG_OVERRIDE+=	sdl2.pc.in
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} != "Linux"
-BUILDLINK_TRANSFORM+=	rm:-ldl
-.endif
-
-SUBST_CLASSES+=		prefix
-SUBST_FILES.prefix=	build/cmake_install.cmake
-SUBST_MESSAGE.prefix=	Fixing PREFIX path.
-SUBST_SED.prefix=	-e "s|/usr/local|${PREFIX}|1"
-SUBST_STAGE.prefix=	pre-install
-
-.include "options.mk"
-
-pre-configure:
-	cd ${WRKSRC} && ${MKDIR} build
-
-do-configure:
-	cd ${WRKSRC}/build && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ..
-
-do-build:
-	cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
-
-do-install:
-	cd ${WRKSRC}/build && ${SETENV} ${INSTALL_ENV} ${MAKE_PROGRAM} ${INSTALL_TARGET}
-
-.include "../../devel/libusb/buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/SDL2/PLIST b/SDL2/PLIST
deleted file mode 100644
index 95a1e3b..0000000
--- a/SDL2/PLIST
+++ /dev/null
@@ -1,90 +0,0 @@
-@comment $NetBSD: PLIST,v 1.9 2014/08/29 01:36:58 othyro Exp $
-bin/sdl2-config
-include/SDL2/SDL.h
-include/SDL2/SDL_assert.h
-include/SDL2/SDL_atomic.h
-include/SDL2/SDL_audio.h
-include/SDL2/SDL_bits.h
-include/SDL2/SDL_blendmode.h
-include/SDL2/SDL_clipboard.h
-include/SDL2/SDL_config.h
-include/SDL2/SDL_config_android.h
-include/SDL2/SDL_config_iphoneos.h
-include/SDL2/SDL_config_macosx.h
-include/SDL2/SDL_config_minimal.h
-include/SDL2/SDL_config_pandora.h
-include/SDL2/SDL_config_psp.h
-include/SDL2/SDL_config_windows.h
-include/SDL2/SDL_config_winrt.h
-include/SDL2/SDL_config_wiz.h
-include/SDL2/SDL_copying.h
-include/SDL2/SDL_cpuinfo.h
-include/SDL2/SDL_egl.h
-include/SDL2/SDL_endian.h
-include/SDL2/SDL_error.h
-include/SDL2/SDL_events.h
-include/SDL2/SDL_filesystem.h
-include/SDL2/SDL_gamecontroller.h
-include/SDL2/SDL_gesture.h
-include/SDL2/SDL_haptic.h
-include/SDL2/SDL_hints.h
-include/SDL2/SDL_joystick.h
-include/SDL2/SDL_keyboard.h
-include/SDL2/SDL_keycode.h
-include/SDL2/SDL_loadso.h
-include/SDL2/SDL_log.h
-include/SDL2/SDL_main.h
-include/SDL2/SDL_messagebox.h
-include/SDL2/SDL_mouse.h
-include/SDL2/SDL_mutex.h
-include/SDL2/SDL_name.h
-include/SDL2/SDL_opengl.h
-include/SDL2/SDL_opengl_glext.h
-include/SDL2/SDL_opengles.h
-include/SDL2/SDL_opengles2.h
-include/SDL2/SDL_opengles2_gl2.h
-include/SDL2/SDL_opengles2_gl2ext.h
-include/SDL2/SDL_opengles2_gl2platform.h
-include/SDL2/SDL_opengles2_khrplatform.h
-include/SDL2/SDL_pixels.h
-include/SDL2/SDL_platform.h
-include/SDL2/SDL_power.h
-include/SDL2/SDL_quit.h
-include/SDL2/SDL_rect.h
-include/SDL2/SDL_render.h
-include/SDL2/SDL_revision.h
-include/SDL2/SDL_rwops.h
-include/SDL2/SDL_scancode.h
-include/SDL2/SDL_shape.h
-include/SDL2/SDL_stdinc.h
-include/SDL2/SDL_surface.h
-include/SDL2/SDL_system.h
-include/SDL2/SDL_syswm.h
-include/SDL2/SDL_test.h
-include/SDL2/SDL_test_assert.h
-include/SDL2/SDL_test_common.h
-include/SDL2/SDL_test_compare.h
-include/SDL2/SDL_test_crc32.h
-include/SDL2/SDL_test_font.h
-include/SDL2/SDL_test_fuzzer.h
-include/SDL2/SDL_test_harness.h
-include/SDL2/SDL_test_images.h
-include/SDL2/SDL_test_log.h
-include/SDL2/SDL_test_md5.h
-include/SDL2/SDL_test_random.h
-include/SDL2/SDL_thread.h
-include/SDL2/SDL_timer.h
-include/SDL2/SDL_touch.h
-include/SDL2/SDL_types.h
-include/SDL2/SDL_version.h
-include/SDL2/SDL_video.h
-include/SDL2/begin_code.h
-include/SDL2/close_code.h
-lib/libSDL2-2.0.so
-lib/libSDL2-2.0.so.0.2.1
-lib/libSDL2-2.0.so.1
-lib/libSDL2.a
-lib/libSDL2.so
-lib/libSDL2main.a
-lib/pkgconfig/sdl2.pc
-share/aclocal/sdl2.m4
diff --git a/SDL2/buildlink3.mk b/SDL2/buildlink3.mk
deleted file mode 100644
index d58c253..0000000
--- a/SDL2/buildlink3.mk
+++ /dev/null
@@ -1,36 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.6 2013/12/29 05:51:35 othyro Exp $
-
-BUILDLINK_TREE+=	SDL2
-
-.if !defined(SDL2_BUILDLINK3_MK)
-SDL2_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.SDL2+=	SDL2>=2.0
-BUILDLINK_PKGSRCDIR.SDL2?=	../../wip/SDL2
-BUILDLINK_INCDIRS.SDL2+=	include/SDL2
-
-pkgbase := SDL2
-.include "../../mk/pkg-build-options.mk"
-
-.if !empty(PKG_BUILD_OPTIONS.SDL2:Mnas)
-.include "../../audio/nas/buildlink3.mk"
-.endif
-
-.if ${OPSYS} != "Darwin"
-.  if !empty(PKG_BUILD_OPTIONS.SDL2:Mopengl)
-.  include "../../graphics/MesaLib/buildlink3.mk"
-.  endif
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.SDL2:Mx11)
-.include "../../x11/xproto/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
-.endif
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
-.endif	# SDL2_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-SDL2
diff --git a/SDL2/distinfo b/SDL2/distinfo
deleted file mode 100644
index 2d7f567..0000000
--- a/SDL2/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.18 2014/08/29 01:36:58 othyro Exp $
-
-SHA1 (SDL-2.0.3-9108.tar.gz) = ee705351f22b4c1fd5cfcb36a0de82bb0fed4a43
-RMD160 (SDL-2.0.3-9108.tar.gz) = ad8b87b4123556477cc268a80a4f7371f4eae7b0
-Size (SDL-2.0.3-9108.tar.gz) = 5950075 bytes
-SHA1 (patch-CMakeLists.txt) = c6e898afa92cbd4e32c7d044671dbe8d07898994
-SHA1 (patch-src_cpuinfo_SDL_cpuinfo.c) = 372e94ecc3fedab0d06463fb2d0a78f82613470c
diff --git a/SDL2/options.mk b/SDL2/options.mk
deleted file mode 100644
index 562a7ed..0000000
--- a/SDL2/options.mk
+++ /dev/null
@@ -1,112 +0,0 @@
-# $NetBSD: options.mk,v 1.6 2013/12/29 05:51:35 othyro Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.SDL2
-PKG_SUPPORTED_OPTIONS=	alsa arts esound nas opengl oss pulseaudio x11 xcursor
-PKG_SUPPORTED_OPTIONS+=	xim xinerama xrandr xrender xscrnsaver
-PKG_SUGGESTED_OPTIONS+=	oss
-
-.if ${OPSYS} == "Darwin"
-PKG_SUGGESTED_OPTIONS+=	opengl
-.else
-PKG_SUGGESTED_OPTIONS+=	x11
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Malsa)
-.include "../../audio/alsa-lib/buildlink3.mk"
-CMAKE_ARGS+=		-DALSA=ON
-.else
-CMAKE_ARGS+=		-DALSA=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Marts)
-.include "../../audio/arts/buildlink3.mk"
-CMAKE_ARGS+=		-DARTS=ON
-.else
-CMAKE_ARGS+=		-DARTS=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mesound)
-.include "../../audio/esound/buildlink3.mk"
-CMAKE_ARGS+=		-DESD=ON
-.else
-CMAKE_ARGS+=		-DESD=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mnas)
-.include "../../audio/nas/buildlink3.mk"
-CMAKE_ARGS+=		-DNAS=ON
-.else
-CMAKE_ARGS+=		-DNAS=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mopengl)
-.  if ${OPSYS} != "Darwin"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.  endif
-CMAKE_ARGS+=		-DVIDEO_OPENGL=ON
-.else
-CMAKE_ARGS+=		-DVIDEO_OPENGL=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Moss)
-CMAKE_ARGS+=		-DOSS=ON
-.else
-CMAKE_ARGS+=		-DOSS=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mpulseaudio)
-.include "../../audio/pulseaudio/buildlink3.mk"
-CMAKE_ARGS+=		-DPULSEAUDIO=ON
-.else
-CMAKE_ARGS+=		-DPULSEAUDIO=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mx11)
-.include "../../x11/libX11/buildlink3.mk"
-.include "../../x11/libXext/buildlink3.mk"
-.include "../../x11/xproto/buildlink3.mk"
-CMAKE_ARGS+=		-DX11_SHARED=ON -DVIDEO_X11=ON
-.else
-CMAKE_ARGS+=		-DX11_SHARED=OFF -DVIDEO_X11=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mxcursor)
-.include "../../x11/libXcursor/buildlink3.mk"
-CMAKE_ARGS+=		-DVIDEO_X11_XCURSOR=ON
-.else
-CMAKE_ARGS+=		-DVIDEO_X11_XCURSOR=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mxim)
-.include "../../x11/libXi/buildlink3.mk"
-CMAKE_ARGS+=		-DVIDEO_X11_XINPUT=ON
-.else
-CMAKE_ARGS+=		-DVIDEO_X11_XINPUT=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mxinerama)
-.include "../../x11/libXinerama/buildlink3.mk"
-CMAKE_ARGS+=		-DVIDEO_X11_XINERAMA=ON
-.else
-CMAKE_ARGS+=		-DVIDEO_X11_XINERAMA=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mxrandr)
-.include "../../x11/libXrandr/buildlink3.mk"
-CMAKE_ARGS+=		-DVIDEO_X11_XRANDR=ON
-.else
-CMAKE_ARGS+=		-DVIDEO_X11_XRANDR=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mxrender)
-.include "../../x11/libXrender/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mxscrnsaver)
-.include "../../x11/libXScrnSaver/buildlink3.mk"
-CMAKE_ARGS+=		-DVIDEO_X11_XSCRNSAVER=ON
-.else
-CMAKE_ARGS+=		-DVIDEO_X11_XSCRNSAVER=OFF
-.endif
diff --git a/SDL2/patches/patch-CMakeLists.txt b/SDL2/patches/patch-CMakeLists.txt
deleted file mode 100644
index b1dcdce..0000000
--- a/SDL2/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2014/03/11 03:47:37 othyro Exp $
-
-Allow in-tree build.
-Handle .dylib extension on Darwin.
-
---- CMakeLists.txt.orig	2014-03-08 04:44:15.000000000 +0000
-+++ CMakeLists.txt
-@@ -1,6 +1,3 @@
--if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
--  message(FATAL_ERROR "Prevented in-tree built. Please create a build directory outside of the SDL source code and call cmake from there")
--endif()
- 
- cmake_minimum_required(VERSION 2.6)
- project(SDL2 C)
-@@ -1283,10 +1280,15 @@ install(FILES ${INCLUDE_FILES} DESTINATI
- 
- if(NOT WINDOWS OR CYGWIN)
-   if(SDL_SHARED)
-+    if(APPLE)
-+      set(SO_EXT "dylib")
-+    else(APPLE)
-+      set(SO_EXT "so")
-+    endif(APPLE)
-     install(CODE "
-       execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
--      \"libSDL2-2.0.so\" \"libSDL2.so\")")
--    install(FILES ${SDL2_BINARY_DIR}/libSDL2.so DESTINATION "lib${LIB_SUFFIX}")
-+      \"libSDL2-2.0.${SO_EXT}\" \"libSDL2.${SO_EXT}\")")
-+    install(FILES ${SDL2_BINARY_DIR}/libSDL2.${SO_EXT} DESTINATION "lib${LIB_SUFFIX}")
-   endif()
-   if(FREEBSD)
-     # FreeBSD uses ${PREFIX}/libdata/pkgconfig
diff --git a/SDL2/patches/patch-src_cpuinfo_SDL_cpuinfo.c b/SDL2/patches/patch-src_cpuinfo_SDL_cpuinfo.c
deleted file mode 100644
index fd0f19c..0000000
--- a/SDL2/patches/patch-src_cpuinfo_SDL_cpuinfo.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_cpuinfo_SDL_cpuinfo.c,v 1.4 2014/03/11 03:47:37 othyro Exp $
-
-Fix building on NetBSD and OpenBSD.
-
---- src/cpuinfo/SDL_cpuinfo.c.orig	2014-03-01 18:07:06.000000000 +0000
-+++ src/cpuinfo/SDL_cpuinfo.c
-@@ -665,7 +665,7 @@ SDL_GetSystemRAM(void)
- #endif
- #ifdef HAVE_SYSCTLBYNAME
-         if (SDL_SystemRAM <= 0) {
--#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__)
- #ifdef HW_REALMEM
-             int mib[2] = {CTL_HW, HW_REALMEM};
- #else


Home | Main Index | Thread Index | Old Index