mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Use new syntax for LIB_DEPENDS
- Added LICENSE - Convert to USES=tar:bzip2 - Added USES=desktop-file-utils - Strip binaries - Pet portlint Submitted by: bar
This commit is contained in:
parent
a64024d559
commit
80d04433cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349157
2 changed files with 37 additions and 28 deletions
|
@ -9,14 +9,15 @@ MASTER_SITES= http://distfiles.audacious-media-player.org/
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= A media player based on BMP and XMMS
|
COMMENT= A media player based on BMP and XMMS
|
||||||
|
|
||||||
LIB_DEPENDS= mcs:${PORTSDIR}/devel/libmcs \
|
LICENSE= GPLv3
|
||||||
mowgli:${PORTSDIR}/devel/libmowgli \
|
|
||||||
xml2:${PORTSDIR}/textproc/libxml2
|
LIB_DEPENDS= libmcs.so:${PORTSDIR}/devel/libmcs \
|
||||||
|
libmowgli.so:${PORTSDIR}/devel/libmowgli \
|
||||||
|
libxml2.so:${PORTSDIR}/textproc/libxml2
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USES= pkgconfig gmake
|
USES= pkgconfig gmake tar:bzip2 desktop-file-utils
|
||||||
USE_XORG= x11 sm
|
USE_XORG= x11 sm
|
||||||
USE_BZIP2= yes
|
|
||||||
USE_GNOME= gtk30
|
USE_GNOME= gtk30
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
|
@ -24,17 +25,16 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
CONFIGURE_ARGS= --disable-chardet --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
CONFIGURE_ARGS= --disable-chardet --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
||||||
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= DBUS GNOME ICONV NLS EXECINFO SSE2 CHARSET
|
OPTIONS_DEFINE= DBUS GNOME ICONV NLS EXECINFO SSE2 CHARSET
|
||||||
OPTIONS_DEFAULT= DBUS ICONV NLS EXECINFO SSE2 CHARSET
|
OPTIONS_DEFAULT=DBUS ICONV NLS EXECINFO SSE2 CHARSET
|
||||||
CHARSET_DESC= Build with automatic charset detection
|
CHARSET_DESC= Build with automatic charset detection
|
||||||
EXECINFO_DESC= Build with libexecinfo support
|
EXECINFO_DESC= Build with libexecinfo support
|
||||||
SSE2_DESC=Build with SSE2 instruction set
|
SSE2_DESC= Build with SSE2 instruction set
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDBUS}
|
.if ${PORT_OPTIONS:MDBUS}
|
||||||
LIB_DEPENDS+= dbus-glib:${PORTSDIR}/devel/dbus-glib
|
LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
|
||||||
CONFIGURE_ARGS+=--enable-dbus
|
CONFIGURE_ARGS+=--enable-dbus
|
||||||
PLIST_SUB+= WITH_DBUS=""
|
PLIST_SUB+= WITH_DBUS=""
|
||||||
.else
|
.else
|
||||||
|
@ -43,7 +43,7 @@ PLIST_SUB+= WITH_DBUS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MEXECINFO} || exists(${LOCALBASE}/lib/libexecinfo.so)
|
.if ${PORT_OPTIONS:MEXECINFO} || exists(${LOCALBASE}/lib/libexecinfo.so)
|
||||||
LIB_DEPENDS+= execinfo:${PORTSDIR}/devel/libexecinfo
|
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MGNOME}
|
.if ${PORT_OPTIONS:MGNOME}
|
||||||
|
@ -69,7 +69,7 @@ CONFIGURE_ARGS+=--disable-sse2
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MCHARSET}
|
.if ${PORT_OPTIONS:MCHARSET}
|
||||||
LIB_DEPENDS+= guess:${PORTSDIR}/textproc/libguess
|
LIB_DEPENDS+= libguess.so:${PORTSDIR}/textproc/libguess
|
||||||
CONFIGURE_ARGS+=--enable-chardet
|
CONFIGURE_ARGS+=--enable-chardet
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--disable-chardet
|
CONFIGURE_ARGS+=--disable-chardet
|
||||||
|
@ -86,11 +86,11 @@ post-patch:
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if defined(WITH_GNOME)
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/audtool
|
||||||
@${ECHO_MSG} ""
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/audacious
|
||||||
@${ECHO_MSG} "You have installed audacious with gconf support."
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudclient.so.2.0.0
|
||||||
@${ECHO_MSG} "ALL PRESETS will be stored in the gconf database."
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudcore.so.1.0.0
|
||||||
@${ECHO_MSG} ""
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudgui.so.1.0.0
|
||||||
.endif
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudtag.so.1.0.0
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -47,6 +47,8 @@ lib/libaudtag.so.1
|
||||||
lib/libaudtag.so.1.0.0
|
lib/libaudtag.so.1.0.0
|
||||||
libdata/pkgconfig/audacious.pc
|
libdata/pkgconfig/audacious.pc
|
||||||
libdata/pkgconfig/audclient.pc
|
libdata/pkgconfig/audclient.pc
|
||||||
|
man/man1/audacious.1.gz
|
||||||
|
man/man1/audtool.1.gz
|
||||||
share/applications/audacious.desktop
|
share/applications/audacious.desktop
|
||||||
%%DATADIR%%/AUTHORS
|
%%DATADIR%%/AUTHORS
|
||||||
%%DATADIR%%/COPYING
|
%%DATADIR%%/COPYING
|
||||||
|
@ -64,9 +66,10 @@ share/applications/audacious.desktop
|
||||||
share/icons/hicolor/48x48/apps/audacious.png
|
share/icons/hicolor/48x48/apps/audacious.png
|
||||||
share/icons/hicolor/scalable/apps/audacious.svg
|
share/icons/hicolor/scalable/apps/audacious.svg
|
||||||
%%NLS%%share/locale/ast/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/ast/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%share/locale/bg/LC_MESSAGES/audacious.mo
|
|
||||||
%%NLS%%share/locale/be/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/be/LC_MESSAGES/audacious.mo
|
||||||
|
%%NLS%%share/locale/bg/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%share/locale/ca/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/ca/LC_MESSAGES/audacious.mo
|
||||||
|
%%NLS%%share/locale/cmn/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%share/locale/cs/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/cs/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%share/locale/da/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/da/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%share/locale/de/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/de/LC_MESSAGES/audacious.mo
|
||||||
|
@ -109,24 +112,30 @@ share/icons/hicolor/scalable/apps/audacious.svg
|
||||||
%%NLS%%share/locale/vi/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/vi/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/zh_CN/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/audacious.mo
|
%%NLS%%share/locale/zh_TW/LC_MESSAGES/audacious.mo
|
||||||
%%NLS%%@dirrmtry share/locale/ky/LC_MESSAGES
|
|
||||||
%%NLS%%@dirrmtry share/locale/ky
|
|
||||||
%%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES
|
%%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES
|
||||||
%%NLS%%@dirrmtry share/locale/sr@latin
|
%%NLS%%@dirrmtry share/locale/sr@latin
|
||||||
|
%%NLS%%@dirrmtry share/locale/si/LC_MESSAGES
|
||||||
|
%%NLS%%@dirrmtry share/locale/si
|
||||||
|
%%NLS%%@dirrmtry share/locale/ml_IN/LC_MESSAGES
|
||||||
|
%%NLS%%@dirrmtry share/locale/ml_IN
|
||||||
|
%%NLS%%@dirrmtry share/locale/ky/LC_MESSAGES
|
||||||
|
%%NLS%%@dirrmtry share/locale/ky
|
||||||
%%NLS%%@dirrmtry share/locale/id_ID/LC_MESSAGES
|
%%NLS%%@dirrmtry share/locale/id_ID/LC_MESSAGES
|
||||||
%%NLS%%@dirrmtry share/locale/id_ID
|
%%NLS%%@dirrmtry share/locale/id_ID
|
||||||
%%NLS%%@dirrmtry share/locale/es_AR/LC_MESSAGES
|
%%NLS%%@dirrmtry share/locale/es_AR/LC_MESSAGES
|
||||||
%%NLS%%@dirrmtry share/locale/es_AR
|
%%NLS%%@dirrmtry share/locale/es_AR
|
||||||
|
%%NLS%%@dirrmtry share/locale/cmn/LC_MESSAGES
|
||||||
|
%%NLS%%@dirrmtry share/locale/cmn
|
||||||
%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
|
%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
|
||||||
%%NLS%%@dirrmtry share/locale/ast
|
%%NLS%%@dirrmtry share/locale/ast
|
||||||
%%NLS%%@dirrmtry share/locale/ml_IN/LC_MESSAGES
|
@dirrmtry share/icons/hicolor/scalable/apps
|
||||||
%%NLS%%@dirrmtry share/locale/ml_IN
|
@dirrmtry share/icons/hicolor/scalable
|
||||||
man/man1/audacious.1.gz
|
@dirrmtry share/icons/hicolor/48x48/apps
|
||||||
man/man1/audtool.1.gz
|
@dirrmtry share/icons/hicolor/48x48
|
||||||
|
@dirrmtry share/icons/hicolor
|
||||||
|
@dirrmtry share/icons
|
||||||
@dirrm %%DATADIR%%/images
|
@dirrm %%DATADIR%%/images
|
||||||
@dirrm %%DATADIR%%
|
@dirrm %%DATADIR%%
|
||||||
@dirrm include/libaudgui
|
@dirrm include/libaudgui
|
||||||
@dirrm include/libaudcore
|
@dirrm include/libaudcore
|
||||||
@dirrm include/audacious
|
@dirrm include/audacious
|
||||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
|
||||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue