Add USES=libtool and USES=python:3

This commit is contained in:
Tijl Coosemans 2014-09-08 13:28:04 +00:00
parent 3f0eb4858c
commit eddcf83a0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367623
2 changed files with 3 additions and 4 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= gstreamer PORTNAME= gstreamer
PORTVERSION= 1.2.1 PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= multimedia python CATEGORIES= multimedia python
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/ MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,14 +16,13 @@ COMMENT= Python bindings for gstreamer
LICENSE= LGPL21 LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake pathfix pkgconfig tar:bzip2 USES= gmake libtool pathfix pkgconfig python:3 tar:bzip2
USE_PYTHON= 3
USE_GNOME= py3gobject3 USE_GNOME= py3gobject3
USE_GSTREAMER1= yes USE_GSTREAMER1= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
PLIST_SUB= VERSION="${GST_VERSION}" PLIST_SUB= VERSION="${GST_VERSION}"
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
PLIST_SUB+= PVERSION=${PYTHON_VER:S/.//} PLIST_SUB+= PVERSION=${PYTHON_VER:S/.//}

View file

@ -4,6 +4,5 @@
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GstPbutils.cpython-%%PVERSION%%.pyo %%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GstPbutils.cpython-%%PVERSION%%.pyo
%%PYTHON_SITELIBDIR%%/gi/overrides/Gst.py %%PYTHON_SITELIBDIR%%/gi/overrides/Gst.py
%%PYTHON_SITELIBDIR%%/gi/overrides/GstPbutils.py %%PYTHON_SITELIBDIR%%/gi/overrides/GstPbutils.py
%%PYTHON_SITELIBDIR%%/gi/overrides/_gi_gst.la
%%PYTHON_SITELIBDIR%%/gi/overrides/_gi_gst.so %%PYTHON_SITELIBDIR%%/gi/overrides/_gi_gst.so
@dirrmtry %%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__ @dirrmtry %%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__