mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
validate-launcher: restructure filesystem
https://bugzilla.gnome.org/show_bug.cgi?id=739091
This commit is contained in:
parent
eb47b1021f
commit
b0beefacfa
18 changed files with 7 additions and 8 deletions
|
@ -4,6 +4,7 @@ SUBDIRS = \
|
|||
common \
|
||||
data \
|
||||
gst \
|
||||
launcher \
|
||||
tools \
|
||||
pkgconfig \
|
||||
docs \
|
||||
|
|
|
@ -286,9 +286,9 @@ pkgconfig/gst-validate-uninstalled.pc
|
|||
pkgconfig/gst-validate.pc
|
||||
po/Makefile.in
|
||||
tools/Makefile
|
||||
tools/launcher/Makefile
|
||||
tools/launcher/apps/Makefile
|
||||
tools/launcher/apps/validate/Makefile
|
||||
launcher/Makefile
|
||||
launcher/apps/Makefile
|
||||
launcher/apps/validate/Makefile
|
||||
docs/Makefile
|
||||
docs/version.entities
|
||||
docs/validate/Makefile
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
SUBDIRS = \
|
||||
launcher
|
||||
|
||||
bin_PROGRAMS = \
|
||||
gst-validate-@GST_API_VERSION@ \
|
||||
gst-validate-transcoding-@GST_API_VERSION@ \
|
||||
|
|
|
@ -32,10 +32,11 @@ def _in_devel():
|
|||
def _add_gst_launcher_path():
|
||||
if not _in_devel():
|
||||
root = os.path.join(LIBDIR, 'gst-validate-launcher', 'python')
|
||||
sys.path.insert(0, root)
|
||||
else:
|
||||
root = os.path.dirname(__file__)
|
||||
dir_ = os.path.dirname(os.path.abspath(__file__))
|
||||
root = os.path.split(dir_)[0]
|
||||
|
||||
sys.path.insert(0, root)
|
||||
return os.path.join(root, "launcher")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue