Enable library versioning. An imminent sysutils/conky update will

use audacious' libraries (for its audacious flavor).

USE_GROFF is not needed.

Bump AUTOCONF_VERSION to 2.67.

Clue bat beating from Brad. OK jasper@
This commit is contained in:
dcoppa 2011-04-27 11:44:12 +00:00
parent 18919b55c7
commit 9c4fd16a67
5 changed files with 44 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2011/03/02 14:07:09 shadchin Exp $
# $OpenBSD: Makefile,v 1.25 2011/04/27 11:44:12 dcoppa Exp $
SHARED_ONLY = Yes
@ -6,7 +6,12 @@ COMMENT = gtk+2 media player based on BMP and XMMS
DISTNAME = audacious-2.4.4
SHARED_LIBS = audclient 1.1 # 2.0
REVISION = 0
SHARED_LIBS = audclient 1.1 # 2.0
SHARED_LIBS += audcore 0.0 # 1.0
SHARED_LIBS += audgui 0.0 # 1.0
SHARED_LIBS += audtag 0.0 # 1.0
CATEGORIES = audio multimedia
@ -43,12 +48,15 @@ LIB_DEPENDS = devel/libexecinfo \
x11/dbus \
x11/gtk+2
MAKE_ENV = LIBaudclient_VERSION=${LIBaudclient_VERSION}
MAKE_ENV = LIBaudclient_VERSION=${LIBaudclient_VERSION} \
LIBaudcore_VERSION=${LIBaudcore_VERSION} \
LIBaudgui_VERSION=${LIBaudgui_VERSION} \
LIBaudtag_VERSION=${LIBaudtag_VERSION}
USE_GROFF = Yes
USE_GMAKE = Yes
AUTOCONF_VERSION = 2.61
# Should be 2.68
AUTOCONF_VERSION = 2.67
CONFIGURE_STYLE = autoconf

View File

@ -1,6 +1,12 @@
$OpenBSD: patch-src_libaudcore_Makefile,v 1.1 2010/12/19 18:17:55 shadchin Exp $
--- src/libaudcore/Makefile.orig Sat Dec 4 15:54:33 2010
+++ src/libaudcore/Makefile Sat Dec 4 15:54:46 2010
$OpenBSD: patch-src_libaudcore_Makefile,v 1.2 2011/04/27 11:44:12 dcoppa Exp $
--- src/libaudcore/Makefile.orig Tue Feb 22 18:29:02 2011
+++ src/libaudcore/Makefile Wed Apr 20 13:38:18 2011
@@ -1,4 +1,4 @@
-LIB = ${LIB_PREFIX}audcore${LIB_SUFFIX}
+LIB = ${LIB_PREFIX}audcore${LIB_SUFFIX}.${LIBaudcore_VERSION}
LIB_MAJOR = 1
LIB_MINOR = 0
@@ -43,4 +43,4 @@ includesubdir = libaudcore
CPPFLAGS += -DHAVE_CONFIG_H ${LIB_CPPFLAGS} ${CFLAGS} -I.. -I../..
CFLAGS += ${LIB_CFLAGS} ${GLIB_CFLAGS} ${MOWGLI_CFLAGS}

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-src_libaudgui_Makefile,v 1.1 2011/04/27 11:44:12 dcoppa Exp $
--- src/libaudgui/Makefile.orig Wed Apr 20 13:38:32 2011
+++ src/libaudgui/Makefile Wed Apr 20 13:39:06 2011
@@ -1,4 +1,4 @@
-LIB = ${LIB_PREFIX}audgui${LIB_SUFFIX}
+LIB = ${LIB_PREFIX}audgui${LIB_SUFFIX}.${LIBaudgui_VERSION}
LIB_MAJOR = 1
LIB_MINOR = 0

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-src_libaudtag_Makefile,v 1.1 2011/04/27 11:44:12 dcoppa Exp $
--- src/libaudtag/Makefile.orig Wed Apr 20 15:44:10 2011
+++ src/libaudtag/Makefile Wed Apr 20 15:45:26 2011
@@ -1,4 +1,4 @@
-LIB = ${LIB_PREFIX}audtag${LIB_SUFFIX}
+LIB = ${LIB_PREFIX}audtag${LIB_SUFFIX}.${LIBaudtag_VERSION}
LIB_MAJOR = 1
LIB_MINOR = 0

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2010/12/19 18:17:55 shadchin Exp $
@comment $OpenBSD: PLIST,v 1.10 2011/04/27 11:44:12 dcoppa Exp $
@bin bin/audacious2
@bin bin/audtool2
include/audacious/
@ -48,9 +48,9 @@ include/libaudgui/
include/libaudgui/libaudgui-gtk.h
include/libaudgui/libaudgui.h
@lib lib/libaudclient.so.${LIBaudclient_VERSION}
lib/libaudcore.so
lib/libaudgui.so
lib/libaudtag.so
@lib lib/libaudcore.so.${LIBaudcore_VERSION}
@lib lib/libaudgui.so.${LIBaudgui_VERSION}
@lib lib/libaudtag.so.${LIBaudtag_VERSION}
lib/pkgconfig/audacious.pc
lib/pkgconfig/audclient.pc
@man man/man1/audacious2.1