1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Remove optional dependency on pygobject

This commit is contained in:
Antoine Brodin 2020-02-19 10:43:42 +00:00
parent 3fa21a701a
commit 2c7895dc92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526502
3 changed files with 4 additions and 24 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libgpod
PORTVERSION= 0.8.3
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@ -20,13 +20,14 @@ USES= compiler:c++11-lang gettext gmake gnome libtool localbase \
pathfix pkgconfig sqlite:3 tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-udev --without-hal \
--without-python \
--with-html-dir="${DOCSDIR:H}"
USE_CSTD= gnu89
USE_GNOME= gdkpixbuf2 gtk20 intltool libxml2
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS IMOBILE PYTHON MONO
OPTIONS_DEFINE= DOCS IMOBILE MONO
OPTIONS_DEFAULT=IMOBILE
OPTIONS_EXCLUDE?= MONO
OPTIONS_SUB= yes
@ -39,14 +40,6 @@ IMOBILE_CONFIGURE_WITH= libimobiledevice
MONO_USE= GNOME=gtksharp20
MONO_CONFIGURE_WITH= mono
PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 \
${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
PYTHON_USE= GNOME=pygobject
PYTHON_USES= python:2.7
PYTHON_CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0"
PYTHON_CONFIGURE_WITH= python
PORTDOCS= ChangeLog NEWS README*
.include <bsd.port.options.mk>

View File

@ -9,6 +9,6 @@ from it without duplicating code.
libgpod supports playlists, smart playlists, playcounts, ratings,
podcasts, cover art, audio and video. Photo support is implemented as
well. Python and Mono bindings are optionally available too.
well. Mono bindings are optionally available too.
WWW: http://www.gtkpod.org/wiki/Libgpod

View File

@ -5,19 +5,6 @@ lib/libgpod.a
lib/libgpod.so
lib/libgpod.so.4
lib/libgpod.so.4.3.2
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/__init__.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/__init__.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/__init__.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/_gpod.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/gpod.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/gpod.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/gpod.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/gtkpod.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/gtkpod.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/gtkpod.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/ipod.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/ipod.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/ipod.pyo
libdata/pkgconfig/libgpod-1.0.pc
%%PORTDOCS%%%%DOCSDIR%%/ch01.html
%%PORTDOCS%%%%DOCSDIR%%/home.png