Import gmtk, the gnome-mplayer toolkit.
$ cat pkg/DESCR gmtk is a library that is used by gnome-mplayer and gecko-mediaplayer: several common functions and routines formerly in gnome-mplayer and gecko-mediaplayer have been moved to this library. gmtk can be used to build your own media players, as widgets have been created to control mplayer: a simple media player can be built using this library very quickly. Feedback and ok: ajacoutot@, sebastia@
This commit is contained in:
parent
1e0d5f5eb9
commit
812e17dd63
59
x11/gmtk/Makefile
Normal file
59
x11/gmtk/Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/01/05 14:47:10 dcoppa Exp $
|
||||
|
||||
COMMENT = gnome-mplayer toolkit
|
||||
|
||||
DISTNAME = gmtk-1.0.5
|
||||
|
||||
SHARED_LIBS = gmlib 0.0 \
|
||||
gmtk 0.0
|
||||
|
||||
CATEGORIES = x11 devel
|
||||
|
||||
HOMEPAGE = http://gmtk.googlecode.com/
|
||||
|
||||
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = ${HOMEPAGE}/files/
|
||||
|
||||
MODULES = devel/gettext \
|
||||
textproc/intltool
|
||||
|
||||
WANTLIB = GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp \
|
||||
Xext Xfixes Xi Xinerama Xrandr Xrender \
|
||||
Xxf86vm atk-1.0 cairo drm expat ffi \
|
||||
fontconfig freetype gdk-x11-2.0 \
|
||||
gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 \
|
||||
gobject-2.0 gthread-2.0 gtk-x11-2.0 m \
|
||||
pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre \
|
||||
pixman-1 png pthread-stubs stdc++ xcb \
|
||||
xcb-render xcb-shm z
|
||||
|
||||
LIB_DEPENDS = x11/gtk+2
|
||||
|
||||
RUN_DEPENDS = x11/mplayer
|
||||
|
||||
USE_LIBTOOL = yes
|
||||
|
||||
CONFIGURE_STYLE = autoconf
|
||||
AUTOCONF_VERSION = 2.68
|
||||
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include"
|
||||
|
||||
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
||||
--enable-gsettings \
|
||||
--disable-gconf \
|
||||
--disable-gtk3 \
|
||||
--disable-keystore \
|
||||
--with-gio \
|
||||
--without-alsa \
|
||||
--without-pulseaudio
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/gmtk/distinfo
Normal file
5
x11/gmtk/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (gmtk-1.0.5.tar.gz) = 4G6cqNYddJEDQ7s+9DSPfw==
|
||||
RMD160 (gmtk-1.0.5.tar.gz) = kyBlACAItUaXd6N2iKTxVvWFKeI=
|
||||
SHA1 (gmtk-1.0.5.tar.gz) = oICDpdayhIo1T+Ymk6aiUir+OL8=
|
||||
SHA256 (gmtk-1.0.5.tar.gz) = oHEw1icZ6MEkT4QF3ZdEV5jfUgT8Dz8vK2abElEUtGg=
|
||||
SIZE (gmtk-1.0.5.tar.gz) = 391118
|
17
x11/gmtk/patches/patch-config_h_in
Normal file
17
x11/gmtk/patches/patch-config_h_in
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-config_h_in,v 1.1.1.1 2012/01/05 14:47:10 dcoppa Exp $
|
||||
|
||||
Detect if libm should be used and use it if needed
|
||||
(upstream svn revision r77)
|
||||
|
||||
--- config.h.in.orig Thu Jan 5 12:28:52 2012
|
||||
+++ config.h.in Thu Jan 5 12:30:55 2012
|
||||
@@ -69,6 +69,9 @@
|
||||
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
||||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
+/* Define to 1 if you have the `m' library (-lm). */
|
||||
+#undef HAVE_LIBM
|
||||
+
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
15
x11/gmtk/patches/patch-configure_ac
Normal file
15
x11/gmtk/patches/patch-configure_ac
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-configure_ac,v 1.1.1.1 2012/01/05 14:47:10 dcoppa Exp $
|
||||
|
||||
Detect if libm should be used and use it if needed
|
||||
(upstream svn revision r77)
|
||||
|
||||
--- configure.ac.orig Thu Dec 29 15:30:09 2011
|
||||
+++ configure.ac Thu Jan 5 12:28:23 2012
|
||||
@@ -55,6 +55,7 @@ AM_PROG_LIBTOOL
|
||||
PKG_CHECK_MODULES([X11], [x11],[AC_DEFINE([X11_ENABLED],[1],[Define to 1 if X11 support is needed])],[AC_MSG_NOTICE([Compiling without X11 support])])
|
||||
AC_SUBST(X11_LIBS)
|
||||
|
||||
+AC_CHECK_LIB([m],[floor])
|
||||
|
||||
AC_ARG_ENABLE(gtk3,
|
||||
AC_HELP_STRING([--enable-gtk3],[compile using GTK3]),
|
38
x11/gmtk/patches/patch-src_Makefile_in
Normal file
38
x11/gmtk/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,38 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2012/01/05 14:47:10 dcoppa Exp $
|
||||
|
||||
Detect if libm should be used and use it if needed
|
||||
(upstream svn revision r77)
|
||||
|
||||
Add gmlib to the list of referenced libaries
|
||||
(upstream svn revision r79)
|
||||
|
||||
--- src/Makefile.in.orig Thu Jan 5 12:34:28 2012
|
||||
+++ src/Makefile.in Thu Jan 5 12:36:41 2012
|
||||
@@ -75,7 +75,7 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
|
||||
am__DEPENDENCIES_1 =
|
||||
libgmlib_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
||||
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
||||
- $(am__DEPENDENCIES_1)
|
||||
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
||||
am_libgmlib_la_OBJECTS = libgmlib_la-gm_common.lo \
|
||||
libgmlib_la-gm_audio.lo libgmlib_la-gm_file.lo \
|
||||
libgmlib_la-gm_parse.lo libgmlib_la-gm_pref_store.lo \
|
||||
@@ -352,8 +352,9 @@ libgmtk_la_CFLAGS = -fPIC \
|
||||
$(GTK_CFLAGS) \
|
||||
$(ALSA_CFLAGS)
|
||||
|
||||
-libgmtk_la_LDFLAGS =
|
||||
+libgmtk_la_LDFLAGS = -L.libs
|
||||
libgmtk_la_LIBADD = \
|
||||
+ -lgmlib \
|
||||
$(GTK_LIBS) \
|
||||
$(ALSA_LIBS)
|
||||
|
||||
@@ -384,6 +385,7 @@ libgmlib_la_CFLAGS = -fPIC \
|
||||
|
||||
libgmlib_la_LDFLAGS =
|
||||
libgmlib_la_LIBADD = \
|
||||
+ $(LIBS) \
|
||||
$(GLIB_LIBS) \
|
||||
$(GCONF_LIBS) \
|
||||
$(GIO_LIBS) \
|
6
x11/gmtk/pkg/DESCR
Normal file
6
x11/gmtk/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
gmtk is a library that is used by gnome-mplayer and gecko-mediaplayer:
|
||||
several common functions and routines formerly in gnome-mplayer and
|
||||
gecko-mediaplayer have been moved to this library.
|
||||
gmtk can be used to build your own media players, as widgets have
|
||||
been created to control mplayer: a simple media player can be built
|
||||
using this library very quickly.
|
3
x11/gmtk/pkg/PFRAG.shared
Normal file
3
x11/gmtk/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2012/01/05 14:47:10 dcoppa Exp $
|
||||
@lib lib/libgmlib.so.${LIBgmlib_VERSION}
|
||||
@lib lib/libgmtk.so.${LIBgmtk_VERSION}
|
30
x11/gmtk/pkg/PLIST
Normal file
30
x11/gmtk/pkg/PLIST
Normal file
@ -0,0 +1,30 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/01/05 14:47:10 dcoppa Exp $
|
||||
%%SHARED%%
|
||||
include/gmtk/
|
||||
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.a
|
||||
lib/libgmlib.la
|
||||
lib/libgmtk.a
|
||||
lib/libgmtk.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/gmlib.pc
|
||||
lib/pkgconfig/gmtk.pc
|
||||
@comment share/doc/gmtk/
|
||||
@comment share/doc/gmtk/AUTHORS
|
||||
@comment share/doc/gmtk/COPYING
|
||||
@comment share/doc/gmtk/ChangeLog
|
||||
@comment share/doc/gmtk/INSTALL
|
||||
@comment share/doc/gmtk/NEWS
|
||||
@comment share/doc/gmtk/README
|
Loading…
Reference in New Issue
Block a user