1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add acme, a tool to make multimedia keys useful.

This commit is contained in:
Joe Marcus Clarke 2003-02-07 18:48:09 +00:00
parent 8c129f11e2
commit c9f850e0f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75037
7 changed files with 110 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# $FreeBSD$
#
SUBDIR += acme
SUBDIR += avifile
SUBDIR += dvdrip
SUBDIR += ffmpeg

38
multimedia/acme/Makefile Normal file
View File

@ -0,0 +1,38 @@
# New ports collection makefile for: acme
# Date created: 15 November 2002
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= acme
PORTVERSION= 2.0.2
CATEGORIES= multimedia gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= gob2:${PORTSDIR}/devel/gob2
LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
wnck-1.9:${PORTSDIR}/x11-toolkits/libwnck
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/acme.c
.include <bsd.port.mk>

1
multimedia/acme/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (gnome2/acme-2.0.2.tar.bz2) = 988bb35cf81cd011749ae76ce4288998

View File

@ -0,0 +1,15 @@
--- src/acme.c.orig Sun Jan 19 06:43:45 2003
+++ src/acme.c Mon Jan 27 18:09:38 2003
@@ -201,10 +201,10 @@
if ((soundfile == NULL) || (strcmp (soundfile, "") == 0))
return;
- if (g_file_test ("/usr/bin/esdplay",
+ if (g_file_test ("%%LOCALBASE%%/bin/esdplay",
(G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))
{
- command = g_strdup_printf ("/usr/bin/esdplay %s",
+ command = g_strdup_printf ("%%LOCALBASE%%/bin/esdplay %s",
soundfile);
} else if (g_file_test ("/usr/bin/play",
(G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))

View File

@ -0,0 +1 @@
Tool to make multimedia keys work on laptops

View File

@ -0,0 +1,3 @@
This is ACME, a small tool for your laptops. It makes the small multimedia
buttons on these things actually do something. It currently only fully supports
Apple laptops (iBooks and Powerbooks), and should work on other systems as well.

51
multimedia/acme/pkg-plist Normal file
View File

@ -0,0 +1,51 @@
bin/acme
bin/acme-properties
etc/gconf/gconf.xml.defaults/apps/acme/%gconf.xml
etc/gconf/gconf.xml.defaults/schemas/apps/acme/%gconf.xml
etc/gconf/schemas/acme.schemas
share/gnome/acme/acme-16.png
share/gnome/acme/acme-48.png
share/gnome/acme/acme-brightness.png
share/gnome/acme/acme-eject.png
share/gnome/acme/acme-properties.glade
share/gnome/acme/acme.glade
share/gnome/acme/gnome-speakernotes-muted.png
share/gnome/acme/gnome-speakernotes.png
share/gnome/control-center-2.0/capplets/acme.desktop
share/locale/am/LC_MESSAGES/acme.mo
share/locale/bg/LC_MESSAGES/acme.mo
share/locale/ca/LC_MESSAGES/acme.mo
share/locale/cs/LC_MESSAGES/acme.mo
share/locale/de/LC_MESSAGES/acme.mo
share/locale/da/LC_MESSAGES/acme.mo
share/locale/el/LC_MESSAGES/acme.mo
share/locale/es/LC_MESSAGES/acme.mo
share/locale/fi/LC_MESSAGES/acme.mo
share/locale/fr/LC_MESSAGES/acme.mo
share/locale/he/LC_MESSAGES/acme.mo
share/locale/hu/LC_MESSAGES/acme.mo
share/locale/it/LC_MESSAGES/acme.mo
share/locale/ja/LC_MESSAGES/acme.mo
share/locale/ko/LC_MESSAGES/acme.mo
share/locale/lv/LC_MESSAGES/acme.mo
share/locale/mk/LC_MESSAGES/acme.mo
share/locale/mn/LC_MESSAGES/acme.mo
share/locale/ms/LC_MESSAGES/acme.mo
share/locale/nl/LC_MESSAGES/acme.mo
share/locale/no/LC_MESSAGES/acme.mo
share/locale/pl/LC_MESSAGES/acme.mo
share/locale/pt/LC_MESSAGES/acme.mo
share/locale/pt_BR/LC_MESSAGES/acme.mo
share/locale/ro/LC_MESSAGES/acme.mo
share/locale/ru/LC_MESSAGES/acme.mo
share/locale/sk/LC_MESSAGES/acme.mo
share/locale/sl/LC_MESSAGES/acme.mo
share/locale/sq/LC_MESSAGES/acme.mo
share/locale/sv/LC_MESSAGES/acme.mo
share/locale/uk/LC_MESSAGES/acme.mo
share/locale/vi/LC_MESSAGES/acme.mo
share/locale/zh_CN/LC_MESSAGES/acme.mo
share/locale/zh_TW/LC_MESSAGES/acme.mo
@dirrm share/gnome/acme
@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/acme
@dirrm etc/gconf/gconf.xml.defaults/apps/acme