mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
multimedia/py3-gstreamer1: fix packaging with python 3.5
PR: 204519 With hat: gnome
This commit is contained in:
parent
1f311e6214
commit
d3be24587b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410491
@ -25,8 +25,16 @@ PLIST_SUB= VERSION="${GST_VERSION}"
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LIBS+= -L${LOCALBASE}/lib
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_PYTHON= py3kplist
|
||||
|
||||
PLIST_SUB+= PVERSION=${PYTHON_VER:S/.//}
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3500
|
||||
PYOEXTENSION= pyo
|
||||
.else
|
||||
PYOEXTENSION= opt-1.pyc
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} \
|
||||
PYVER=${PYTHON_VER:S/.//}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,8 +1,8 @@
|
||||
lib/gstreamer-1.0/libgstpythonplugin.so
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gst.cpython-%%PVERSION%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gst.cpython-%%PVERSION%%.pyo
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GstPbutils.cpython-%%PVERSION%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GstPbutils.cpython-%%PVERSION%%.pyo
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gst.cpython-%%PYVER%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gst.cpython-%%PYVER%%.%%PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GstPbutils.cpython-%%PYVER%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GstPbutils.cpython-%%PYVER%%.%%PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/Gst.py
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/GstPbutils.py
|
||||
%%PYTHON_SITELIBDIR%%/gi/overrides/_gi_gst.so
|
||||
|
Loading…
Reference in New Issue
Block a user