Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
f9c4e682
Commit
f9c4e682
authored
Jul 18, 2016
by
Hugo Beauzée-Luyssen
Browse files
contribs: Import VLC's SDL rules
parent
a2d1c373
Changes
1
Hide whitespace changes
Inline
Side-by-side
contribs/src/sdl/rules.mak
0 → 100644
View file @
f9c4e682
# SDL
SDL_VERSION
:=
1.2.15
SDL_URL
:=
http://www.libsdl.org/release/SDL-
$(SDL_VERSION)
.tar.gz
#PKGS += sdl
ifeq
($(call need_pkg,"sdl"),)
PKGS_FOUND
+=
sdl
endif
$(TARBALLS)/SDL-$(SDL_VERSION).tar.gz
:
$(
call
download_pkg,
$(SDL_URL)
,sdl
)
.sum-sdl
:
SDL-$(SDL_VERSION).tar.gz
sdl
:
SDL-$(SDL_VERSION).tar.gz .sum-sdl
$(UNPACK)
$(APPLY)
$(SRC)
/sdl/direct_palette_ref.diff
$(MOVE)
SDLCONF
:=
$(HOSTCONF)
\
--disable-audio
\
--enable-video
\
--enable-events
\
--disable-joystick
\
--disable-cdrom
\
--disable-threads
\
--disable-timers
\
--disable-file
\
--disable-assembly
\
--disable-video-x11
\
--disable-video-aalib
\
--disable-video-dga
\
--disable-video-fbcon
\
--disable-video-directfb
\
--disable-video-ggi
\
--disable-video-svga
\
--disable-directx
\
--disable-sdl-dlopen
.sdl
:
sdl
cd
$<
&&
$(HOSTVARS)
./configure
$(SDLCONF)
cd
$<
&&
$(MAKE)
install
touch
$@
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment