diff options
-rw-r--r-- | multimedia/cheese/Makefile | 44 | ||||
-rw-r--r-- | multimedia/cheese/distinfo | 3 | ||||
-rw-r--r-- | multimedia/cheese/files/patch-src_cheese-webcam.c | 40 | ||||
-rw-r--r-- | multimedia/cheese/pkg-descr | 5 | ||||
-rw-r--r-- | multimedia/cheese/pkg-plist | 224 |
5 files changed, 316 insertions, 0 deletions
diff --git a/multimedia/cheese/Makefile b/multimedia/cheese/Makefile new file mode 100644 index 000000000..b0d30a6cd --- /dev/null +++ b/multimedia/cheese/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: cheese +# Date created: 13 January 2008 +# Whom: FreeBSD GNOME Team <gnome@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= cheese +PORTVERSION= 2.25.91 +CATEGORIES= multimedia gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A Photobooth-inspired app for taking pictures and videos from webcam + +BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat + +USE_XORG= xxf86vm +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnomehack gnomeprefix intlhack evolutiondataserver librsvg2 \ + gnomedocutils +USE_GETTEXT= yes +USE_GSTREAMER= good +INSTALLS_OMF= yes +INSTALLS_ICONS= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +DOCS= AUTHORS COPYING ChangeLog NEWS README +GCONF_SCHEMAS= cheese.schemas + +.ifndef (NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/multimedia/cheese/distinfo b/multimedia/cheese/distinfo new file mode 100644 index 000000000..26fba5070 --- /dev/null +++ b/multimedia/cheese/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/cheese-2.25.91.tar.bz2) = b4bd1d4726cbac2fc633232ebc873310 +SHA256 (gnome2/cheese-2.25.91.tar.bz2) = 3d20d8225b8e34c674141d4e4fef13d42572275ae35de12060a82b7919581f07 +SIZE (gnome2/cheese-2.25.91.tar.bz2) = 3076961 diff --git a/multimedia/cheese/files/patch-src_cheese-webcam.c b/multimedia/cheese/files/patch-src_cheese-webcam.c new file mode 100644 index 000000000..a0b5afd21 --- /dev/null +++ b/multimedia/cheese/files/patch-src_cheese-webcam.c @@ -0,0 +1,40 @@ +--- src/cheese-webcam.c.orig 2008-09-09 11:59:18.000000000 -0400 ++++ src/cheese-webcam.c 2008-09-09 12:01:14.000000000 -0400 +@@ -301,7 +301,9 @@ cheese_webcam_get_video_devices_from_hal + { + char *device; + char *gstreamer_src, *product_name; ++#ifdef VIDIOC_QUERYCAP + struct v4l2_capability v2cap; ++#endif + struct video_capability v1cap; + + device = libhal_device_get_property_string (hal_ctx, udis[i], "video4linux.device", &error); +@@ -327,7 +329,11 @@ cheese_webcam_get_video_devices_from_hal + libhal_free_string (device); + continue; + } ++#ifdef VIDIOC_QUERYCAP + ok = ioctl (fd, VIDIOC_QUERYCAP, &v2cap); ++#else ++ ok = -1; ++#endif + if (ok < 0) + { + ok = ioctl (fd, VIDIOCGCAP, &v1cap); +@@ -346,6 +352,7 @@ cheese_webcam_get_video_devices_from_hal + } + else + { ++#ifdef VIDIOC_QUERYCAP + guint cap = v2cap.capabilities; + g_print ("Detected v4l2 device: %s\n", v2cap.card); + g_print ("Driver: %s, version: %d\n", v2cap.driver, v2cap.version); +@@ -361,6 +368,7 @@ cheese_webcam_get_video_devices_from_hal + } + gstreamer_src = "v4l2src"; + product_name = (char *) v2cap.card; ++#endif + } + + priv->webcam_devices[priv->num_webcam_devices].hal_udi = g_strdup (udis[i]); diff --git a/multimedia/cheese/pkg-descr b/multimedia/cheese/pkg-descr new file mode 100644 index 000000000..51402b10a --- /dev/null +++ b/multimedia/cheese/pkg-descr @@ -0,0 +1,5 @@ +Cheese is a Photobooth-inspired GNOME application for taking pictures and +videos from a webcam. It also includes fancy graphical effects based on the +gstreamer-backend. + +WWW: http://www.gnome.org/projects/cheese/ diff --git a/multimedia/cheese/pkg-plist b/multimedia/cheese/pkg-plist new file mode 100644 index 000000000..b2dae6ed5 --- /dev/null +++ b/multimedia/cheese/pkg-plist @@ -0,0 +1,224 @@ +bin/cheese +libexec/cheese/cheese-bugreport.sh +share/applications/cheese.desktop +%%DATADIR%%/cheese-prefs.ui +%%DATADIR%%/cheese-ui.xml +%%DATADIR%%/cheese.ui +%%DATADIR%%/effects/Hulk.png +%%DATADIR%%/effects/Mauve.png +%%DATADIR%%/effects/NoirBlanc.png +%%DATADIR%%/effects/Saturation.png +%%DATADIR%%/effects/dicetv.png +%%DATADIR%%/effects/edgetv.png +%%DATADIR%%/effects/identity.png +%%DATADIR%%/effects/shagadelictv.png +%%DATADIR%%/effects/vertigotv.png +%%DATADIR%%/effects/videoflip_h.png +%%DATADIR%%/effects/videoflip_v.png +%%DATADIR%%/effects/warptv.png +%%DATADIR%%/gtkrc +%%DATADIR%%/icons/hicolor/16x16/actions/browse-webcam-effects.png +%%DATADIR%%/icons/hicolor/22x22/actions/browse-webcam-effects.png +%%DATADIR%%/icons/hicolor/24x24/actions/browse-webcam-effects.png +%%DATADIR%%/icons/hicolor/32x32/actions/browse-webcam-effects.png +%%DATADIR%%/icons/hicolor/48x48/actions/browse-webcam-effects.png +%%DATADIR%%/icons/hicolor/scalable/actions/browse-webcam-effects.svg +%%DATADIR%%/pixmaps/camera-icon.svg +%%DATADIR%%/pixmaps/cheese-1.svg +%%DATADIR%%/pixmaps/cheese-2.svg +%%DATADIR%%/pixmaps/cheese-3.svg +%%DATADIR%%/pixmaps/thumbnail-frame.png +%%DATADIR%%/sounds/shutter0.ogg +%%DATADIR%%/sounds/shutter1.ogg +%%DATADIR%%/sounds/shutter2.ogg +%%DATADIR%%/sounds/shutter3.ogg +%%DATADIR%%/sounds/shutter4.ogg +share/dbus-1/services/org.gnome.Cheese.service +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +share/gnome/help/cheese/C/cheese.xml +share/gnome/help/cheese/C/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/C/figures/cheese-screenshot.jpg +share/gnome/help/cheese/C/legal.xml +share/gnome/help/cheese/ca/cheese.xml +share/gnome/help/cheese/ca/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/ca/figures/cheese-screenshot.jpg +share/gnome/help/cheese/de/cheese.xml +share/gnome/help/cheese/de/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/de/figures/cheese-screenshot.jpg +share/gnome/help/cheese/el/cheese.xml +share/gnome/help/cheese/el/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/el/figures/cheese-screenshot.jpg +share/gnome/help/cheese/es/cheese.xml +share/gnome/help/cheese/es/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/es/figures/cheese-screenshot.jpg +share/gnome/help/cheese/fr/cheese.xml +share/gnome/help/cheese/fr/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/fr/figures/cheese-screenshot.jpg +share/gnome/help/cheese/nl/cheese.xml +share/gnome/help/cheese/nl/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/nl/figures/cheese-screenshot.jpg +share/gnome/help/cheese/oc/cheese.xml +share/gnome/help/cheese/oc/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/oc/figures/cheese-screenshot.jpg +share/gnome/help/cheese/pt_BR/cheese.xml +share/gnome/help/cheese/pt_BR/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/pt_BR/figures/cheese-screenshot.jpg +share/gnome/help/cheese/ru/cheese.xml +share/gnome/help/cheese/ru/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/ru/figures/cheese-screenshot.jpg +share/gnome/help/cheese/sv/cheese.xml +share/gnome/help/cheese/sv/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/sv/figures/cheese-screenshot.jpg +share/gnome/help/cheese/th/cheese.xml +share/gnome/help/cheese/th/figures/cheese-effects-screenshot.jpg +share/gnome/help/cheese/th/figures/cheese-screenshot.jpg +share/icons/hicolor/16x16/apps/cheese.png +share/icons/hicolor/22x22/apps/cheese.png +share/icons/hicolor/24x24/apps/cheese.png +share/icons/hicolor/32x32/apps/cheese.png +share/icons/hicolor/48x48/apps/cheese.png +share/icons/hicolor/scalable/apps/cheese.svg +share/locale/ar/LC_MESSAGES/cheese.mo +share/locale/be@latin/LC_MESSAGES/cheese.mo +share/locale/bg/LC_MESSAGES/cheese.mo +share/locale/bn_IN/LC_MESSAGES/cheese.mo +share/locale/ca/LC_MESSAGES/cheese.mo +share/locale/cs/LC_MESSAGES/cheese.mo +share/locale/da/LC_MESSAGES/cheese.mo +share/locale/de/LC_MESSAGES/cheese.mo +share/locale/dz/LC_MESSAGES/cheese.mo +share/locale/el/LC_MESSAGES/cheese.mo +share/locale/en_GB/LC_MESSAGES/cheese.mo +share/locale/es/LC_MESSAGES/cheese.mo +share/locale/et/LC_MESSAGES/cheese.mo +share/locale/eu/LC_MESSAGES/cheese.mo +share/locale/fi/LC_MESSAGES/cheese.mo +share/locale/fr/LC_MESSAGES/cheese.mo +share/locale/ga/LC_MESSAGES/cheese.mo +share/locale/gl/LC_MESSAGES/cheese.mo +share/locale/gu/LC_MESSAGES/cheese.mo +share/locale/he/LC_MESSAGES/cheese.mo +share/locale/hi/LC_MESSAGES/cheese.mo +share/locale/hr/LC_MESSAGES/cheese.mo +share/locale/hu/LC_MESSAGES/cheese.mo +share/locale/it/LC_MESSAGES/cheese.mo +share/locale/ja/LC_MESSAGES/cheese.mo +share/locale/kn/LC_MESSAGES/cheese.mo +share/locale/ko/LC_MESSAGES/cheese.mo +share/locale/ku/LC_MESSAGES/cheese.mo +share/locale/lt/LC_MESSAGES/cheese.mo +share/locale/lv/LC_MESSAGES/cheese.mo +share/locale/mk/LC_MESSAGES/cheese.mo +share/locale/ml/LC_MESSAGES/cheese.mo +share/locale/mr/LC_MESSAGES/cheese.mo +share/locale/nb/LC_MESSAGES/cheese.mo +share/locale/nl/LC_MESSAGES/cheese.mo +share/locale/nn/LC_MESSAGES/cheese.mo +share/locale/oc/LC_MESSAGES/cheese.mo +share/locale/or/LC_MESSAGES/cheese.mo +share/locale/pa/LC_MESSAGES/cheese.mo +share/locale/pl/LC_MESSAGES/cheese.mo +share/locale/ps/LC_MESSAGES/cheese.mo +share/locale/pt/LC_MESSAGES/cheese.mo +share/locale/pt_BR/LC_MESSAGES/cheese.mo +share/locale/ro/LC_MESSAGES/cheese.mo +share/locale/ru/LC_MESSAGES/cheese.mo +share/locale/sl/LC_MESSAGES/cheese.mo +share/locale/sq/LC_MESSAGES/cheese.mo +share/locale/sr/LC_MESSAGES/cheese.mo +share/locale/sr@latin/LC_MESSAGES/cheese.mo +share/locale/sv/LC_MESSAGES/cheese.mo +share/locale/ta/LC_MESSAGES/cheese.mo +share/locale/te/LC_MESSAGES/cheese.mo +share/locale/th/LC_MESSAGES/cheese.mo +share/locale/tr/LC_MESSAGES/cheese.mo +share/locale/uk/LC_MESSAGES/cheese.mo +share/locale/vi/LC_MESSAGES/cheese.mo +share/locale/zh_CN/LC_MESSAGES/cheese.mo +share/locale/zh_HK/LC_MESSAGES/cheese.mo +share/locale/zh_TW/LC_MESSAGES/cheese.mo +share/omf/cheese/cheese-C.omf +share/omf/cheese/cheese-ca.omf +share/omf/cheese/cheese-de.omf +share/omf/cheese/cheese-el.omf +share/omf/cheese/cheese-es.omf +share/omf/cheese/cheese-fr.omf +share/omf/cheese/cheese-nl.omf +share/omf/cheese/cheese-oc.omf +share/omf/cheese/cheese-pt_BR.omf +share/omf/cheese/cheese-ru.omf +share/omf/cheese/cheese-sv.omf +share/omf/cheese/cheese-th.omf +@dirrm share/omf/cheese +@dirrm share/gnome/help/cheese/th/figures +@dirrm share/gnome/help/cheese/th +@dirrm share/gnome/help/cheese/sv/figures +@dirrm share/gnome/help/cheese/sv +@dirrm share/gnome/help/cheese/ru/figures +@dirrm share/gnome/help/cheese/ru +@dirrm share/gnome/help/cheese/pt_BR/figures +@dirrm share/gnome/help/cheese/pt_BR +@dirrm share/gnome/help/cheese/oc/figures +@dirrm share/gnome/help/cheese/oc +@dirrm share/gnome/help/cheese/nl/figures +@dirrm share/gnome/help/cheese/nl +@dirrm share/gnome/help/cheese/fr/figures +@dirrm share/gnome/help/cheese/fr +@dirrm share/gnome/help/cheese/es/figures +@dirrm share/gnome/help/cheese/es +@dirrm share/gnome/help/cheese/el/figures +@dirrm share/gnome/help/cheese/el +@dirrm share/gnome/help/cheese/de/figures +@dirrm share/gnome/help/cheese/de +@dirrm share/gnome/help/cheese/ca/figures +@dirrm share/gnome/help/cheese/ca +@dirrm share/gnome/help/cheese/C/figures +@dirrm share/gnome/help/cheese/C +@dirrm share/gnome/help/cheese +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%%/icons/hicolor/scalable/actions +@dirrm %%DATADIR%%/icons/hicolor/scalable +@dirrm %%DATADIR%%/icons/hicolor/48x48/actions +@dirrm %%DATADIR%%/icons/hicolor/48x48 +@dirrm %%DATADIR%%/icons/hicolor/32x32/actions +@dirrm %%DATADIR%%/icons/hicolor/32x32 +@dirrm %%DATADIR%%/icons/hicolor/24x24/actions +@dirrm %%DATADIR%%/icons/hicolor/24x24 +@dirrm %%DATADIR%%/icons/hicolor/22x22/actions +@dirrm %%DATADIR%%/icons/hicolor/22x22 +@dirrm %%DATADIR%%/icons/hicolor/16x16/actions +@dirrm %%DATADIR%%/icons/hicolor/16x16 +@dirrm %%DATADIR%%/icons/hicolor +@dirrm %%DATADIR%%/icons +@dirrm %%DATADIR%%/effects +@dirrm %%DATADIR%% +@dirrmtry share/applications +@dirrm libexec/cheese +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/ps/LC_MESSAGES +@dirrmtry share/locale/ps +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/lv/LC_MESSAGES +@dirrmtry share/locale/lv +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin |