aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gdcd
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-13 17:27:52 +0800
committerreg <reg@FreeBSD.org>2000-10-13 17:27:52 +0800
commit889704897b0583826615c7cb2bb34550b68c29e7 (patch)
treec70e28a85cb1b632f71dca3711ab357cdfe9785c /audio/gdcd
parent7803aa2009844f22378f24f387d1b54853dc023f (diff)
downloadfreebsd-ports-gnome-889704897b0583826615c7cb2bb34550b68c29e7.tar.gz
freebsd-ports-gnome-889704897b0583826615c7cb2bb34550b68c29e7.tar.zst
freebsd-ports-gnome-889704897b0583826615c7cb2bb34550b68c29e7.zip
Make this port use GNOME.
Diffstat (limited to 'audio/gdcd')
-rw-r--r--audio/gdcd/Makefile5
-rw-r--r--audio/gdcd/files/patch-ae10
-rw-r--r--audio/gdcd/pkg-plist25
3 files changed, 23 insertions, 17 deletions
diff --git a/audio/gdcd/Makefile b/audio/gdcd/Makefile
index ed44e1023249..0434cac7090d 100644
--- a/audio/gdcd/Makefile
+++ b/audio/gdcd/Makefile
@@ -12,11 +12,10 @@ MASTER_SITES= http://cdcd.undergrid.net/gdcd/source_archive/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio \
- gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio
USE_X_PREFIX= yes
-USE_GTK= yes
+USE_GNOME= yes
USE_AUTOMAKE= yes
AUTOMAKE= automake -a -i
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/audio/gdcd/files/patch-ae b/audio/gdcd/files/patch-ae
index b4ed42b9522f..19c6d80d99f5 100644
--- a/audio/gdcd/files/patch-ae
+++ b/audio/gdcd/files/patch-ae
@@ -24,7 +24,15 @@
AC_PATH_PROG(LIBART_CONFIG,libart-config,no)
if test x$LIBART_CONFIG != xno; then
-@@ -67,7 +59,7 @@
+@@ -60,14 +52,14 @@
+ AC_SUBST(GNOME_CFLAGS)
+
+ AC_CHECK_LIB(gdk_pixbuf, gdk_pixbuf_new_from_file, GDKPIXBUF_LIBS="-lgdk_pixbuf";IMLIB_LIBS="", GDKPIXBUF_LIBS="",$GTK_LIBS $GNOME_LIBS $LIBART_LIBS)
+-if test "$GDKPIXBUF_LIBS" == ""; then
++if test "$GDKPIXBUF_LIBS" = ""; then
+ AC_CHECK_LIB(gdk_imlib, gdk_imlib_load_image, IMLIB_LIBS="-lgdk_imlib"; AC_DEFINE(IMLIB_IMAGING), AC_MSG_ERROR(Couldn't locate GdkPixbuf or Imlib), $GTK_LIBS)
+ fi
+
AC_SUBST(GDKPIXBUF_LIBS)
AC_SUBST(IMLIB_LIBS)
diff --git a/audio/gdcd/pkg-plist b/audio/gdcd/pkg-plist
index b8846303a9d2..248d21568bca 100644
--- a/audio/gdcd/pkg-plist
+++ b/audio/gdcd/pkg-plist
@@ -1,14 +1,13 @@
bin/gdcd
-share/pixmaps/gdcd/blues.png
-share/pixmaps/gdcd/data.png
-share/pixmaps/gdcd/folk.png
-share/pixmaps/gdcd/jazz.png
-share/pixmaps/gdcd/misc.png
-share/pixmaps/gdcd/newage.png
-share/pixmaps/gdcd/nodisc.png
-share/pixmaps/gdcd/reggae.png
-share/pixmaps/gdcd/rock.png
-share/pixmaps/gdcd/soundtrack.png
-share/pixmaps/gdcd/unknown.png
-@dirrm share/pixmaps/gdcd
-@unexec rmdir %d/share/pixmaps 2>/dev/null || true
+share/gnome/pixmaps/gdcd/blues.png
+share/gnome/pixmaps/gdcd/data.png
+share/gnome/pixmaps/gdcd/folk.png
+share/gnome/pixmaps/gdcd/jazz.png
+share/gnome/pixmaps/gdcd/misc.png
+share/gnome/pixmaps/gdcd/newage.png
+share/gnome/pixmaps/gdcd/nodisc.png
+share/gnome/pixmaps/gdcd/reggae.png
+share/gnome/pixmaps/gdcd/rock.png
+share/gnome/pixmaps/gdcd/soundtrack.png
+share/gnome/pixmaps/gdcd/unknown.png
+@dirrm share/gnome/pixmaps/gdcd