04052a6f9c
prodded by espie@ discussed with espie@ sthen@ landry@
69 lines
2.0 KiB
Makefile
69 lines
2.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2009/12/22 15:08:35 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= GTK+2 subtitles editor
|
|
|
|
V= 0.33.0
|
|
DISTNAME= subtitleeditor-${V}
|
|
PKGNAME= ${DISTNAME}p1
|
|
|
|
CATEGORIES= graphics editors
|
|
|
|
SHARED_LIBS += subtitleeditor 0.0 # .0.0
|
|
|
|
HOMEPAGE= http://home.gna.org/subtitleeditor/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://download.gna.org/subtitleeditor/${V:R}/
|
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 atkmm-1.6 c cairo
|
|
WANTLIB += cairomm-1.0 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
|
WANTLIB += gdkmm-2.4 gio-2.0 giomm-2.4 glade-2.0 glib-2.0 glibmm-2.4
|
|
WANTLIB += glitz gmodule-2.0 gobject-2.0 gstbase-0.10 gstreamer-0.10
|
|
WANTLIB += gthread-2.0 gtk-x11-2.0 gtkmm-2.4 m pango-1.0 pangocairo-1.0
|
|
WANTLIB += pangoft2-1.0 pangomm-1.4 pixman-1 png pthread sigc-2.0
|
|
WANTLIB += stdc++ xml2 z pthread-stubs xcb
|
|
|
|
BUILD_DEPENDS= :gstreamer-plugins-good-*:multimedia/gstreamer-0.10/plugins-good \
|
|
:iso-codes-*:devel/iso-codes
|
|
LIB_DEPENDS= glademm-2.4.>=1::devel/libglademm \
|
|
pcre.>=1:pcre->=6.4p2:devel/pcre \
|
|
enchant.>=4::textproc/enchant \
|
|
gstaudio-0.10,gstinterfaces-0.10,gstvideo-0.10,gstpbutils-0.10::multimedia/gstreamer-0.10/plugins-base \
|
|
xml++-2.6::textproc/libxml++
|
|
RUN_DEPENDS= :gstreamer-plugins-good-*:multimedia/gstreamer-0.10/plugins-good \
|
|
:iso-codes-*:devel/iso-codes \
|
|
:desktop-file-utils-*:devel/desktop-file-utils
|
|
|
|
MODULES= devel/gettext \
|
|
textproc/intltool \
|
|
gcc4
|
|
|
|
MODGCC4_ARCHES= *
|
|
MODGCC4_LANGS= c++
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--disable-static \
|
|
--with-default-video-sink=autovideosink \
|
|
--with-default-audio-sink=autoaudiosink \
|
|
--enable-ccache=no \
|
|
--enable-gl=no
|
|
|
|
.include <bsd.port.mk>
|