diff options
author | obache <obache@pkgsrc.org> | 2012-01-08 05:42:08 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-01-08 05:42:08 +0000 |
commit | 7439696404a86456241fd743298163dcd614fcae (patch) | |
tree | 44224c1b0f6e7e9a41071059a6e7992a1b2213b7 /devel/gmtk | |
parent | 788dca891bfc53dd744278961d447a79a4088c5e (diff) | |
download | pkgsrc-7439696404a86456241fd743298163dcd614fcae.tar.gz |
Import gmtk-1.0.5 as devel/gmtk.
Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer.
Diffstat (limited to 'devel/gmtk')
-rw-r--r-- | devel/gmtk/DESCR | 1 | ||||
-rw-r--r-- | devel/gmtk/Makefile | 32 | ||||
-rw-r--r-- | devel/gmtk/PLIST | 24 | ||||
-rw-r--r-- | devel/gmtk/buildlink3.mk | 27 | ||||
-rw-r--r-- | devel/gmtk/distinfo | 5 | ||||
-rw-r--r-- | devel/gmtk/options.mk | 27 |
6 files changed, 116 insertions, 0 deletions
diff --git a/devel/gmtk/DESCR b/devel/gmtk/DESCR new file mode 100644 index 00000000000..6abf6defe35 --- /dev/null +++ b/devel/gmtk/DESCR @@ -0,0 +1 @@ +Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer. diff --git a/devel/gmtk/Makefile b/devel/gmtk/Makefile new file mode 100644 index 00000000000..aa2e42bf35f --- /dev/null +++ b/devel/gmtk/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/01/08 05:42:08 obache Exp $ +# + +DISTNAME= gmtk-1.0.5 +CATEGORIES= devel +MASTER_SITES= http://gmtk.googlecode.com/files/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://code.google.com/p/gmtk/ +COMMENT= Gnome-mplayer toolkit +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config intltool msgfmt + +PKGCONFIG_OVERRIDE+= src/gmtk.pc.in +PKGCONFIG_OVERRIDE+= src/gmlib.pc.in + +.include "options.mk" + +CONFIGURE_ARGS+= --disable-gtk3 +CONFIGURE_ARGS+= --disable-gsettings +CONFIGURE_ARGS+= --enable-gconf +CONFIGURE_ARGS+= --disable-keystore + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/GConf/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/gmtk/PLIST b/devel/gmtk/PLIST new file mode 100644 index 00000000000..57b88ed8315 --- /dev/null +++ b/devel/gmtk/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/08 05:42:08 obache Exp $ +include/gmtk/gm_audio.h +include/gmtk/gm_common.h +include/gmtk/gm_file.h +include/gmtk/gm_parse.h +include/gmtk/gm_pref_store.h +include/gmtk/gm_strfuncs.h +include/gmtk/gmlib.h +include/gmtk/gmtk.h +include/gmtk/gmtk_audio_meter.h +include/gmtk/gmtk_common.h +include/gmtk/gmtk_media_player.h +include/gmtk/gmtk_media_tracker.h +include/gmtk/gmtk_output_combo_box.h +lib/libgmlib.la +lib/libgmtk.la +lib/pkgconfig/gmlib.pc +lib/pkgconfig/gmtk.pc +share/doc/gmtk/AUTHORS +share/doc/gmtk/COPYING +share/doc/gmtk/ChangeLog +share/doc/gmtk/INSTALL +share/doc/gmtk/NEWS +share/doc/gmtk/README diff --git a/devel/gmtk/buildlink3.mk b/devel/gmtk/buildlink3.mk new file mode 100644 index 00000000000..d07bd160ac8 --- /dev/null +++ b/devel/gmtk/buildlink3.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/01/08 05:42:08 obache Exp $ +# + +BUILDLINK_TREE+= gmtk + +.if !defined(GMTK_BUILDLINK3_MK) +GMTK_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.gmtk+= gmtk>=1.0.5 +BUILDLINK_PKGSRCDIR.gmtk?= ../../devel/gmtk + +pkgbase := gmtk +.include "../../mk/pkg-build-options.mk" + +.if !empty(PKG_BUILD_OPTIONS.gmtk:Mpulseaudio) +.include "../../audio/pulseaudio/buildlink3.mk" +.endif +.if !empty(PKG_BUILD_OPTIONS.gmtk:Malsa) +.include "../../audio/alsa-lib/buildlink3.mk" +.endif + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/GConf/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.endif # GMTK_BUILDLINK3_MK + +BUILDLINK_TREE+= -gmtk diff --git a/devel/gmtk/distinfo b/devel/gmtk/distinfo new file mode 100644 index 00000000000..168dac8ceb4 --- /dev/null +++ b/devel/gmtk/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/01/08 05:42:08 obache Exp $ + +SHA1 (gmtk-1.0.5.tar.gz) = a08083a5d6b2848a354fe62693a6a2522afe38bf +RMD160 (gmtk-1.0.5.tar.gz) = 932065002008b5469777a37688a4f156f58529e2 +Size (gmtk-1.0.5.tar.gz) = 391118 bytes diff --git a/devel/gmtk/options.mk b/devel/gmtk/options.mk new file mode 100644 index 00000000000..de9ae22dd32 --- /dev/null +++ b/devel/gmtk/options.mk @@ -0,0 +1,27 @@ +# $NetBSD: options.mk,v 1.1.1.1 2012/01/08 05:42:08 obache Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gmtk +PKG_SUPPORTED_OPTIONS= alsa pulseaudio +PKG_SUGGESTED_OPTIONS= pulseaudio + +.include "../../mk/bsd.options.mk" + +# +# PulseAudio device and volume support +# +.if !empty(PKG_OPTIONS:Mpulseaudio) +.include "../../audio/pulseaudio/buildlink3.mk" +CONFIGURE_ARGS+= --with-pulseaudio +.else +CONFIGURE_ARGS+= --without-pulseaudio +.endif + +# +# Read volume from alsa devices +# +.if !empty(PKG_OPTIONS:Malsa) +.include "../../audio/alsa-lib/buildlink3.mk" +CONFIGURE_ARGS+= --with-alsa +.else +CONFIGURE_ARGS+= --without-alsa +.endif |