-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new patches for new static build params
git-svn-id: https://xpra.org/svn/Xpra/trunk@3548 3bb7dfac-3a0b-4e04-842a-767bc560f471
- Loading branch information
Showing
7 changed files
with
97 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Description: Build dec_avcodec as a static library. | ||
Author: Arthur Huillet <[email protected]> | ||
Author: Antoine Martin <[email protected]> | ||
Forwarded: not-needed | ||
|
||
--- a/setup.py (revision 3545) | ||
+++ b/setup.py (working copy) | ||
@@ -947,7 +947,11 @@ | ||
|
||
toggle_packages(dec_avcodec_ENABLED, "xpra.codecs.dec_avcodec") | ||
if dec_avcodec_ENABLED: | ||
- avcodec_pkgconfig = pkgconfig("libavcodec") | ||
+ avcodec_pkgconfig = {'include_dirs': ["/usr/local/include"], | ||
+ 'library_dirs': ["/usr/local/lib"], | ||
+ 'extra_link_args': ["-Wl,-soname,x264lib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", | ||
+ "-lavcodec", "-lavutil", "-Wl,-Bdynamic"] | ||
+ } | ||
cython_add(Extension("xpra.codecs.dec_avcodec.decoder", | ||
["xpra/codecs/dec_avcodec/decoder.pyx", "xpra/codecs/dec_avcodec/dec_avcodec.c"], | ||
**avcodec_pkgconfig), min_version=(0, 16)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Description: Build csc_swscale as a static library. | ||
Author: Arthur Huillet <[email protected]> | ||
Author: Antoine Martin <[email protected]> | ||
Forwarded: not-needed | ||
|
||
--- a/setup.py (revision 3545) | ||
+++ b/setup.py (working copy) | ||
@@ -954,7 +954,11 @@ | ||
|
||
toggle_packages(csc_swscale_ENABLED, "xpra.codecs.csc_swscale") | ||
if csc_swscale_ENABLED: | ||
- swscale_pkgconfig = pkgconfig("libswscale") | ||
+ swscale_pkgconfig = {'include_dirs': ["/usr/local/include"], | ||
+ 'library_dirs': ["/usr/local/lib"], | ||
+ 'extra_link_args': ["-Wl,-soname,x264lib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", | ||
+ "-lswscale", "-Wl,-Bdynamic"] | ||
+ } | ||
cython_add(Extension("xpra.codecs.csc_swscale.colorspace_converter", | ||
["xpra/codecs/csc_swscale/colorspace_converter.pyx", "xpra/codecs/csc_swscale/csc_swscale.c"], | ||
**swscale_pkgconfig), min_version=(0, 16)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Description: Build dec_avcodec as a static library. | ||
Author: Arthur Huillet <[email protected]> | ||
Author: Antoine Martin <[email protected]> | ||
Forwarded: not-needed | ||
|
||
--- a/setup.py (revision 3545) | ||
+++ b/setup.py (working copy) | ||
@@ -947,7 +947,11 @@ | ||
|
||
toggle_packages(dec_avcodec_ENABLED, "xpra.codecs.dec_avcodec") | ||
if dec_avcodec_ENABLED: | ||
- avcodec_pkgconfig = pkgconfig("libavcodec") | ||
+ avcodec_pkgconfig = {'include_dirs': ["/usr/local/include"], | ||
+ 'library_dirs': ["/usr/local/lib"], | ||
+ 'extra_link_args': ["-Wl,-soname,x264lib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", | ||
+ "-lavcodec", "-lavutil", "-Wl,-Bdynamic"] | ||
+ } | ||
cython_add(Extension("xpra.codecs.dec_avcodec.decoder", | ||
["xpra/codecs/dec_avcodec/decoder.pyx", "xpra/codecs/dec_avcodec/dec_avcodec.c"], | ||
**avcodec_pkgconfig), min_version=(0, 16)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Description: Build csc_swscale as a static library. | ||
Author: Arthur Huillet <[email protected]> | ||
Author: Antoine Martin <[email protected]> | ||
Forwarded: not-needed | ||
|
||
--- a/setup.py (revision 3545) | ||
+++ b/setup.py (working copy) | ||
@@ -954,7 +954,11 @@ | ||
|
||
toggle_packages(csc_swscale_ENABLED, "xpra.codecs.csc_swscale") | ||
if csc_swscale_ENABLED: | ||
- swscale_pkgconfig = pkgconfig("libswscale") | ||
+ swscale_pkgconfig = {'include_dirs': ["/usr/local/include"], | ||
+ 'library_dirs': ["/usr/local/lib"], | ||
+ 'extra_link_args': ["-Wl,-soname,x264lib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", | ||
+ "-lswscale", "-Wl,-Bdynamic"] | ||
+ } | ||
cython_add(Extension("xpra.codecs.csc_swscale.colorspace_converter", | ||
["xpra/codecs/csc_swscale/colorspace_converter.pyx", "xpra/codecs/csc_swscale/csc_swscale.c"], | ||
**swscale_pkgconfig), min_version=(0, 16)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters