2012-09-30 06:25:19 +00:00
|
|
|
# Created by: Espen Skoglund <esk@ira.uka.de>
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1999-07-03 19:37:30 +00:00
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= xmms
|
2007-12-22 13:48:45 +00:00
|
|
|
PORTVERSION= 1.2.11
|
2013-10-25 09:02:56 +00:00
|
|
|
PORTREVISION?= 20 # Also chinese/xmms and russian/xmms
|
2003-10-03 11:11:03 +00:00
|
|
|
CATEGORIES+= multimedia audio ipv6
|
2008-09-29 21:13:46 +00:00
|
|
|
MASTER_SITES= http://www.xmms.org/files/1.2.x/ \
|
2012-08-09 04:02:58 +00:00
|
|
|
http://legacy.xmms2.org/ \
|
2008-09-29 21:13:46 +00:00
|
|
|
LOCAL/beech
|
2003-12-04 10:42:51 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
1999-07-03 19:37:30 +00:00
|
|
|
|
2013-10-22 18:50:47 +00:00
|
|
|
MAINTAINER?= ports@FreeBSD.org
|
2007-05-02 12:43:26 +00:00
|
|
|
COMMENT?= X Multimedia System -- An audio player with Winamp GUI
|
1999-07-03 19:37:30 +00:00
|
|
|
|
2013-10-22 10:54:10 +00:00
|
|
|
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
|
2014-03-23 21:00:44 +00:00
|
|
|
EXPIRATION_DATE= 2014-05-01
|
2014-02-23 21:39:02 +00:00
|
|
|
|
2013-10-22 10:54:10 +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
|
2001-06-21 15:34:31 +00:00
|
|
|
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
|
2007-03-20 15:03:11 +00:00
|
|
|
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}" \
|
2001-06-21 15:34:31 +00:00
|
|
|
OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
|
|
|
|
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
|
2011-09-23 22:26:39 +00:00
|
|
|
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
|
2003-12-08 19:10:14 +00:00
|
|
|
|
2007-05-02 12:43:26 +00:00
|
|
|
INPUT_PLUGINS= cdaudio mpg123 tonegen wav
|
|
|
|
OUTPUT_PLUGINS= OSS disk_writer
|
2008-09-29 21:13:46 +00:00
|
|
|
VISUALIZATION_PLUGINS= blur_scope sanalyzer
|
2003-08-17 14:26:38 +00:00
|
|
|
|
2013-10-25 09:02:56 +00:00
|
|
|
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
|
2000-06-21 08:44:23 +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
|
|
|
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
|
2008-01-31 19:29:30 +00:00
|
|
|
.endif
|
2003-10-03 11:11:03 +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
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-09-17 01:51:19 +00:00
|
|
|
.if ${PORT_OPTIONS:MRUSXMMS_PATCHES}
|
2008-01-20 22:42:32 +00:00
|
|
|
ENC_PATCHLEVEL= 41
|
|
|
|
DISTFILES+= RusXMMS2-csa${ENC_PATCHLEVEL}${EXTRACT_SUFX}:enc
|
2009-08-22 00:28:34 +00:00
|
|
|
MASTER_SITES+= SF/rusxmms/rusxmms2/csa41%20%28${PORTVERSION}%29:enc
|
2008-01-20 22:42:32 +00:00
|
|
|
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
|
2008-01-20 22:42:32 +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
|
|
|
USE_AUTOTOOLS= aclocal autoheader libtoolize autoconf automake
|
|
|
|
LIBTOOLIZE_ARGS=--install --force
|
|
|
|
AUTOMAKE_ARGS= --add-missing --force-missing
|
|
|
|
USE_OPENSSL= yes
|
2005-04-21 16:13:54 +00:00
|
|
|
.endif
|
|
|
|
|
2012-09-17 01:51:19 +00:00
|
|
|
.if ${PORT_OPTIONS:MMIKMOD}
|
2001-06-21 15:34:31 +00:00
|
|
|
INPUT_PLUGINS+= mikmod
|
2000-06-21 08:44:23 +00:00
|
|
|
.endif
|
|
|
|
|
2012-09-17 01:51:19 +00:00
|
|
|
.if ${PORT_OPTIONS:MVORBIS}
|
2001-06-21 15:34:31 +00:00
|
|
|
INPUT_PLUGINS+= vorbis
|
2000-11-29 11:22:55 +00:00
|
|
|
.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>
|
|
|
|
|
2002-08-21 16:47:55 +00:00
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
|
|
|
USE_GNOME+= esound
|
2001-06-21 15:34:31 +00:00
|
|
|
OUTPUT_PLUGINS+= esd
|
2000-10-05 07:22:56 +00:00
|
|
|
PLIST_SUB+= ESDPLUGIN:=""
|
2000-06-16 07:45:29 +00:00
|
|
|
.else
|
2002-09-14 19:51:37 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
2000-10-05 07:22:56 +00:00
|
|
|
PLIST_SUB+= ESDPLUGIN:="@comment "
|
2000-06-16 07:45:29 +00:00
|
|
|
.endif
|
1999-11-06 03:11:22 +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
|
|
|
pre-everything::
|
2002-10-22 07:46:10 +00:00
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
2008-01-31 19:29:30 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "You can disable support for esound by defining"
|
|
|
|
@${ECHO_MSG} "WITHOUT_GNOME=esound."
|
|
|
|
@${ECHO_MSG} ""
|
2000-07-31 07:56:10 +00:00
|
|
|
.endif
|
2008-01-31 19:29:30 +00:00
|
|
|
|
2002-08-21 16:47:55 +00:00
|
|
|
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/
|
2008-01-20 22:42:32 +00:00
|
|
|
@${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
|
2008-02-08 07:20:55 +00:00
|
|
|
.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
|
2008-01-20 22:42:32 +00:00
|
|
|
.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/'
|
2010-10-05 19:57:56 +00:00
|
|
|
|
2001-03-29 02:32:02 +00:00
|
|
|
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}
|
2001-03-29 02:32:02 +00:00
|
|
|
|
2000-07-31 07:56:10 +00:00
|
|
|
.include <bsd.port.post.mk>
|