1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/multimedia/xmms/Makefile

158 lines
4.5 KiB
Makefile
Raw Normal View History

# Created by: Espen Skoglund <esk@ira.uka.de>
1999-08-25 04:36:31 +00:00
# $FreeBSD$
PORTNAME= xmms
PORTVERSION= 1.2.11
PORTREVISION?= 20 # Also chinese/xmms and russian/xmms
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/ \
http://legacy.xmms2.org/ \
LOCAL/beech
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER?= ports@FreeBSD.org
COMMENT?= X Multimedia System -- An audio player with Winamp GUI
LICENSE= GPLv2
2014-02-23 21:39:02 +00:00
DEPRECATED= Abandonware, please consider using multimedia/audacious instead
2014-03-06 13:11:12 +00:00
FORBIDDEN= Vulnerable: CVE-2007-0653 CVE-2007-0654
EXPIRATION_DATE= 2014-05-01
2014-02-23 21:39:02 +00:00
CONFLICTS?= ru-xmms-[0-9]* zh-xmms-[0-9]*
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
GNU_CONFIGURE= yes
USES= desktop-file-utils pathfix gmake iconv
USE_BZIP2= yes
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
USE_GNOME= gtk12
USE_LDCONFIG= yes
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
USE_XORG= sm x11 xxf86vm
CONFIGURE_ARGS= xmms_cv_newpcm_driver=yes --disable-static
CONFIGURE_ENV= INPUT_PLUGINS="${INPUT_PLUGINS}" \
OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
CPPFLAGS+= -I${LOCALBASE}/include
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
LDFLAGS+= -L${LOCALBASE}/lib
INPUT_PLUGINS= cdaudio mpg123 tonegen wav
OUTPUT_PLUGINS= OSS disk_writer
VISUALIZATION_PLUGINS= blur_scope sanalyzer
OPTIONS_DEFINE= IPV6 MIKMOD NLS SPEC VFILEINFO VORBIS RUSXMMS_PATCHES
OPTIONS_DEFAULT=MIKMOD VORBIS
OPTIONS_DEFINE_i386= SIMD
OPTIONS_DEFAULT_i386= SIMD
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
OPTIONS_SUB= yes
2012-09-17 01:51:19 +00:00
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
IPV6_CONFIGURE_ENABLE= ipv6
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
MIKMOD_CONFIGURE_ENABLE=mikmod
MIKMOD_LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
SIMD_CONFIGURE_ENABLE= simd
SPEC_DESC= Visualization opengl_spectrum
SPEC_CONFIGURE_ENABLE= opengl
SPEC_USE= GL=gl
VFILEINFO_DESC= Enable Extended Vorbis Fileinfo
VFILEINFO_CPPFLAGS= -DALL_VORBIS_TAGS
VORBIS_CONFIGURE_ENABLE=vorbis
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
RUSXMMS_PATCHES_DESC= Patches to handle broken non-Unicode ID3 tags
.if !defined(WITH_DEBUG)
INSTALL_TARGET= install-strip
.endif
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
.include <bsd.port.options.mk>
2012-09-17 01:51:19 +00:00
.if ${PORT_OPTIONS:MRUSXMMS_PATCHES}
ENC_PATCHLEVEL= 41
DISTFILES+= RusXMMS2-csa${ENC_PATCHLEVEL}${EXTRACT_SUFX}:enc
MASTER_SITES+= SF/rusxmms/rusxmms2/csa41%20%28${PORTVERSION}%29:enc
MASTER_SITE_SUBDIR+= rusxmms/:enc
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
LIB_DEPENDS+= librcc.so:${PORTSDIR}/devel/librcc \
librcd.so:${PORTSDIR}/devel/librcd
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
USE_AUTOTOOLS= aclocal autoheader libtoolize autoconf automake
LIBTOOLIZE_ARGS=--install --force
AUTOMAKE_ARGS= --add-missing --force-missing
USE_OPENSSL= yes
.endif
2012-09-17 01:51:19 +00:00
.if ${PORT_OPTIONS:MMIKMOD}
INPUT_PLUGINS+= mikmod
.endif
2012-09-17 01:51:19 +00:00
.if ${PORT_OPTIONS:MVORBIS}
INPUT_PLUGINS+= vorbis
.endif
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
.if ${PORT_OPTIONS:MSPEC}
VISUALIZATION_PLUGINS+= opengl_spectrum
.endif
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mesound}!=""
USE_GNOME+= esound
OUTPUT_PLUGINS+= esd
2000-10-05 07:22:56 +00:00
PLIST_SUB+= ESDPLUGIN:=""
.else
CONFIGURE_ARGS+= --disable-esd
2000-10-05 07:22:56 +00:00
PLIST_SUB+= ESDPLUGIN:="@comment "
.endif
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
pre-everything::
.if ${HAVE_GNOME:Mesound}!=""
@${ECHO_MSG} ""
@${ECHO_MSG} "You can disable support for esound by defining"
@${ECHO_MSG} "WITHOUT_GNOME=esound."
@${ECHO_MSG} ""
.endif
post-patch:
2012-09-17 01:51:19 +00:00
.if ${PORT_OPTIONS:MRUSXMMS_PATCHES}
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
@${REINPLACE_CMD} -e 's/AM_PATH_ALSA.*/have_alsa=no/' \
${WRKSRC}/configure.in
@${REINPLACE_CMD} -e '/libtool/,$$d' \
${WRKSRC}/acinclude.m4 ${WRKSRC}/libxmms/acinclude.m4
@${CP} ${WRKDIR}/RusXMMS2/source/* ${WRKSRC}/libxmms/
@${CAT} ${WRKDIR}/RusXMMS2/3rdparty/mpg123/*.patch | ${PATCH} -s -p1 -d ${WRKSRC}
. for diff in xmms-ds-rusxmms.patch xmms-ds-rusxmms-charset.patch \
xmms-ds-playlist.patch xmms-ds-shade.patch xmms-ds-textbox.patch
@${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/RusXMMS2/patches/${diff}
. endfor
. for diff in xmms-ds-mpg123.patch xmms-ds-mpg123-editor.patch \
xmms-ds-mpg123-editor-keys.patch xmms-ds-vorbis-editor.patch \
xmms-ds-vorbis-editor-keys.patch
@${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/RusXMMS2/patches/plugins/${diff}
. endfor
# If there is no esound installed, the autotools won't find a required macro
.if ${HAVE_GNOME:Mesound}==""
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
@${REINPLACE_CMD} -e '/AM_PATH_ESD/,/have_esd=no/d' \
${WRKSRC}/configure.in
.endif
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
.endif
@${REINPLACE_CMD} -e 's/alsa_found=yes/alsa_found=no/' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,@mkdir_p@,${MKDIR},' \
${WRKSRC}/po/Makefile.in.in
@${FIND} ${WRKSRC} -name '*.s' | ${XARGS} ${REINPLACE_CMD} \
-e 's,/.*,,' -e 's/fist /fists /' -e 's/fistp /fistps /' \
-e '$$s/$$/\${.newline} .section ".note.GNU-stack","",@progbits/'
post-install:
multimedia/xmms: - Add zh-xmms to CONFLICTS. - Convert USE_GNOME=desktopfileutils and USE_GMAKE to USES. - Make USE_GL conditional on the SPEC option. - Make gettext conditional on new NLS option. - Only set USE_AUTOTOOLS for the RUSXMMS_PATCHES option. - Remove LIBS from CONFIGURE_ENV. Set LDFLAGS instead. - Add missing xorg dependencies. - Add xmms_cv_newpcm_driver=yes to CONFIGURE_ARGS. The configure test fails on recent version of FreeBSD but the code it enables is still relevant. Without it you cannot select a different output device. - Remove SUB_FILES. None of the files require substitutions. - Remove IPV6 from OPTIONS_DEFAULT. It's implicit. - Don't exclude SIMD option from amd64. - Use option helpers like OPTIONS_SUB, opt_CONFIGURE_ENABLE, etc. - Install stripped libraries when !defined(WITH_DEBUG). - Use new style LIB_DEPENDS. - Add aclocal, autoheader and libtoolize to USE_AUTOTOOLS to fully regenerate the build infrastructure. This fixes a lot of warnings and allows some patches to be removed. - Add USE_OPENSSL for RUSXMMS_PATCHES option. - Fix the SIMD option on all architectures by removing the post-extract target. - Remove the message about the RUSXMMS_PATCHES option. This is from before there were option dialogs. - Use the same cp command as in the script included with rusxmms instead of INSTALL_DATA. - Remove the ALSA test from configure with REINPLACE_CMD instead of a patch (RUSXMMS_PATCHES case). - Remove old libtool macros from acinclude.m4. Libtoolize adds new macros. - Remove MKDIR_P patching. No longer needed after running aclocal. - Patch configure to disable ALSA (not RUSXMMS_PATCHES case). - Fix po/Makefile.in.in with REINPLACE_CMD instead of a patch. - Fix assembly source code files to support clang: * Remove comments that begin with a single slash. * Replace 'fist' instruction with 'fists' and 'fistp' with 'fistps'. * Append '.section ".note.GNU-stack","",@progbits' to every file to say they don't require an executable stack. These files are compiled with -Wa,--noexecstack which clang supports but the ancient binutils in FreeBSD base does not so without this change xmms runs with an executable stack when compiled with base gcc. - Support staging. - Remove extra-patch-Visualization_Makefile.am. It's not needed when passing VISUALIZATION_PLUGINS to configure. - Rename patch-gcc41 to patch-General-ir-ir.c and modify it to keep the variables static, but mark keepGoing volatile. - Remove patch-aclocal.m4. Not needed when running aclocal. - Remove patch-configure.in. The PTHREAD_LIBS related changes are no longer needed and ALSA change is handled in the Makefile. - Remove patch-ltmain.sh. Not needed with staging. - Remove patch-po-Makefile.in.in. Handled in Makefile. - Remove patch-xmms-config.in. Not 100% sure about this. It doesn't affect xmms itself. Perhaps some plugins need it but I'd rather fix those plugins then. - Add patch-xmms-i18n.h.in. It's needed when NLS option is disabled. - Remove pkg-message.in. All supported versions of FreeBSD have unzip in base. - Rename xmms.desktop.in to xmms.desktop to reflect that it doesn't require substitutions. - Adjust pkg-plist for OPTIONS_SUB, NLS option, staging and USES=desktop-file-utils. chinese/xmms, russian/xmms: - Minor cleanups. PR: ports/183165 Approved by: "Chris Petrik" <c.petrik.sosa@gmail.com> (maintainer)
2013-10-22 08:30:47 +00:00
${MKDIR} ${STAGEDIR}${PREFIX}/share/xmms/Skins
${MKDIR} ${STAGEDIR}${DESKTOPDIR}
${INSTALL_DATA} ${FILESDIR}/xmms.desktop ${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.post.mk>