Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mohamed Emad
VLC
Commits
7ef64712
Commit
7ef64712
authored
6 years ago
by
Steve Lhomme
Browse files
Options
Downloads
Patches
Plain Diff
contrib: mfx: fix building for WinStore
parent
dc499445
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/src/mfx/rules.mak
+10
-2
10 additions, 2 deletions
contrib/src/mfx/rules.mak
with
10 additions
and
2 deletions
contrib/src/mfx/rules.mak
+
10
−
2
View file @
7ef64712
# mfx (Media SDK)
mfx_GITURL
:=
https://github.com/lu-zero/mfx_dispatch.git
MFX_GITHASH
:=
b3b0bc9524a8a936fb1b80ca2db45566feb2e868
MFX_GITHASH
:=
612558419be4889ac6d059516457e83c163edcd2
ifeq
($(call need_pkg,"mfx"),)
PKGS_FOUND
+=
mfx
...
...
@@ -10,6 +10,14 @@ ifdef HAVE_WIN32
PKGS
+=
mfx
endif
MFX_CFLAGS
:=
$(
CFLAGS
)
MFX_CXXFLAGS
:=
$(
CFLAGS
)
ifdef
HAVE_WINSTORE
MFX_CFLAGS
+=
-DMEDIASDK_UWP_LOADER
-DMEDIASDK_UWP_PROCTABLE
MFX_CXXFLAGS
+=
-DMEDIASDK_UWP_LOADER
-DMEDIASDK_UWP_PROCTABLE
endif
$(TARBALLS)/mfx-$(MFX_GITHASH).tar.xz
:
$(
call download_git,
$(
mfx_GITURL
)
,,
$(
MFX_GITHASH
))
...
...
@@ -23,6 +31,6 @@ mfx: mfx-$(MFX_GITHASH).tar.xz .sum-mfx
$(
MOVE
)
.mfx
:
mfx
cd
$<
&&
$(
HOSTVARS
)
./configure
$(
HOSTCONF
)
cd
$<
&&
$(
HOSTVARS
)
CFLAGS
=
"
$(
MFX_CFLAGS
)
"
CXXFLAGS
=
"
$(
MFX_CXXFLAGS
)
"
./configure
$(
HOSTCONF
)
cd
$<
&&
$(
MAKE
)
install
touch
$@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment