Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
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
VideoLAN
VLC
Commits
f8ba1a11
Commit
f8ba1a11
authored
18 years ago
by
Olivier Aubert
Browse files
Options
Downloads
Patches
Plain Diff
mediacontrol-python: try to fix r16794
parent
4c5ad8e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bindings/mediacontrol-python/Makefile.am
+1
-1
1 addition, 1 deletion
bindings/mediacontrol-python/Makefile.am
bindings/mediacontrol-python/setup.py
+6
-8
6 additions, 8 deletions
bindings/mediacontrol-python/setup.py
with
7 additions
and
9 deletions
bindings/mediacontrol-python/Makefile.am
+
1
−
1
View file @
f8ba1a11
...
...
@@ -16,7 +16,7 @@ else
endif
all
:
top_
srcdir
=
"
$(
top_
srcdir
)
"
top_builddir
=
"
$(
top_builddir
)
"
python
"
$(
srcdir
)
/setup.py"
build
$(
COMPILERARG
)
"--build-base=
$(
top_builddir
)
/bindings/mediacontrol-python"
"--build-temp=
$(
top_builddir
)
/bindings/mediacontrol-python"
srcdir
=
"
$(
srcdir
)
"
top_builddir
=
"
$(
top_builddir
)
"
python
"
$(
srcdir
)
/setup.py"
build
$(
COMPILERARG
)
"--build-base=
$(
top_builddir
)
/bindings/mediacontrol-python"
"--build-temp=
$(
top_builddir
)
/bindings/mediacontrol-python"
# FIXME: python setup.py install does not have any option to install from a different build directory
# so this will not work in a separate builddir
...
...
This diff is collapsed.
Click to expand it.
bindings/mediacontrol-python/setup.py
+
6
−
8
View file @
f8ba1a11
...
...
@@ -14,17 +14,15 @@ if not top_builddir:
os
.
environ
[
'
top_builddir
'
]
=
top_builddir
try
:
top_
srcdir
=
os
.
environ
[
'
top_
srcdir
'
]
srcdir
=
os
.
environ
[
'
srcdir
'
]
except
KeyError
:
# Note: same as above
srcdir
=
None
if
not
top_srcdir
:
top_srcdir
=
os
.
path
.
join
(
'
..
'
,
'
..
'
)
os
.
environ
[
'
top_srcdir
'
]
=
top_srcdir
if
not
srcdir
:
srcdir
=
'
.
'
vlclib
=
"
-L
"
+
os
.
path
.
join
(
top_builddir
,
'
src
'
)
+
"
-lvlc
"
vlclib
=
"
-lvlc
"
picflag
=
''
srcdir
=
os
.
path
.
join
(
top_srcdir
,
'
bindings
'
,
'
mediacontrol-python
'
)
def
get_vlcconfig
():
vlcconfig
=
None
...
...
@@ -79,12 +77,12 @@ source_files = [ 'vlc_module.c' ]
vlclocal
=
Extension
(
'
vlc
'
,
sources
=
[
os
.
path
.
join
(
srcdir
,
f
)
for
f
in
source_files
],
include_dirs
=
[
top_builddir
,
os
.
path
.
join
(
top_
srcdir
,
'
include
'
),
os
.
path
.
join
(
srcdir
,
'
..
'
,
'
..
'
,
'
include
'
),
srcdir
,
'
/usr/win32/include
'
],
extra_objects
=
[
vlclib
],
extra_compile_args
=
get_cflags
(),
extra_link_args
=
[
'
-L
'
+
top_builddir
]
+
get_ldflags
(),
extra_link_args
=
[
'
-L
'
+
os
.
path
.
join
(
top_builddir
,
'
src
'
)
]
+
get_ldflags
(),
)
setup
(
name
=
'
VLC Bindings
'
,
...
...
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