validate-launcher: restructure filesystem

https://bugzilla.gnome.org/show_bug.cgi?id=739091
This commit is contained in:
Mathieu Duponchelle 2014-10-23 15:21:14 +02:00
parent eb47b1021f
commit b0beefacfa
18 changed files with 7 additions and 8 deletions

View file

@ -4,6 +4,7 @@ SUBDIRS = \
common \
data \
gst \
launcher \
tools \
pkgconfig \
docs \

View file

@ -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

View file

@ -1,6 +1,3 @@
SUBDIRS = \
launcher
bin_PROGRAMS = \
gst-validate-@GST_API_VERSION@ \
gst-validate-transcoding-@GST_API_VERSION@ \

View file

@ -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")