mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Update to audacious-4.6
Changes: https://audacious-media-player.org/news/64-audacious-4-6-released Upstream dropped autotools support in favor of Meson, allowing us to remove some patches. check_sym reported dynamic export removals, bumped libs accordingly.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Do not forget to sync meta/audacious
|
||||
VERSION = 4.5.1
|
||||
VERSION = 4.6
|
||||
|
||||
CATEGORIES = audio multimedia
|
||||
|
||||
@@ -12,16 +12,15 @@ EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
FIX_EXTRACT_PERMISSIONS = Yes
|
||||
|
||||
BUILD_DEPENDS += devel/gettext,-tools
|
||||
|
||||
MODULES += x11/qt5
|
||||
CONFIGURE_ARGS += --disable-gtk \
|
||||
--enable-qt5
|
||||
MODULES += devel/meson \
|
||||
x11/qt5
|
||||
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_ARGS += -Dgtk=false \
|
||||
-Dqt5=true
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
@@ -3,9 +3,9 @@ COMMENT = graphical audio player which supports lots of formats
|
||||
DISTNAME = audacious-${VERSION}
|
||||
PKGNAME = audacious-player-${VERSION}
|
||||
|
||||
SHARED_LIBS += audcore 5.3
|
||||
SHARED_LIBS += audcore 6.0
|
||||
SHARED_LIBS += audtag 3.0
|
||||
SHARED_LIBS += audqt 1.0
|
||||
SHARED_LIBS += audqt 2.0
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE = Yes
|
||||
@@ -20,8 +20,4 @@ LIB_DEPENDS = x11/qt5/qtsvg
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gtk+4,-guic
|
||||
|
||||
MAKE_ENV = LIBaudcore_VERSION=${LIBaudcore_VERSION} \
|
||||
LIBaudtag_VERSION=${LIBaudtag_VERSION} \
|
||||
LIBaudqt_VERSION=${LIBaudqt_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (audacious-4.5.1.tar.bz2) = cZR0OgpBsdj1gsBxSIt397kXvkfKXhQt12r12B02+c0=
|
||||
SIZE (audacious-4.5.1.tar.bz2) = 642359
|
||||
SHA256 (audacious-4.6.tar.bz2) = A5iKahFORvkdq81NDa4p/K0Z9gKePChzeTjRvVJZed0=
|
||||
SIZE (audacious-4.6.tar.bz2) = 520091
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
Index: src/libaudcore/Makefile
|
||||
--- src/libaudcore/Makefile.orig
|
||||
+++ src/libaudcore/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-SHARED_LIB = ${LIB_PREFIX}audcore${LIB_SUFFIX}
|
||||
+SHARED_LIB = ${LIB_PREFIX}audcore.so.${LIBaudcore_VERSION}
|
||||
LIB_MAJOR = 5
|
||||
LIB_MINOR = 5
|
||||
LIB_PATCH = 0
|
||||
@@ -1,10 +0,0 @@
|
||||
Index: src/libaudqt/Makefile
|
||||
--- src/libaudqt/Makefile.orig
|
||||
+++ src/libaudqt/Makefile
|
||||
@@ -1,4 +1,5 @@
|
||||
-SHARED_LIB = ${LIB_PREFIX}audqt${LIB_SUFFIX}
|
||||
+SHARED_LIB = ${LIB_PREFIX}audqt.so.${LIBaudqt_VERSION}
|
||||
+
|
||||
LIB_MAJOR = 3
|
||||
LIB_MINOR = 0
|
||||
LIB_PATCH = 0
|
||||
@@ -1,9 +0,0 @@
|
||||
Index: src/libaudtag/Makefile
|
||||
--- src/libaudtag/Makefile.orig
|
||||
+++ src/libaudtag/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-SHARED_LIB = ${LIB_PREFIX}audtag${LIB_SUFFIX}
|
||||
+SHARED_LIB = ${LIB_PREFIX}audtag.so.${LIBaudtag_VERSION}
|
||||
LIB_MAJOR = 3
|
||||
LIB_MINOR = 0
|
||||
LIB_PATCH = 0
|
||||
@@ -29,7 +29,6 @@ include/libaudcore/ringbuf.h
|
||||
include/libaudcore/runtime.h
|
||||
include/libaudcore/templates.h
|
||||
include/libaudcore/threads.h
|
||||
include/libaudcore/tinylock.h
|
||||
include/libaudcore/tuple.h
|
||||
include/libaudcore/vfs.h
|
||||
include/libaudcore/vfs_async.h
|
||||
@@ -121,3 +120,5 @@ share/locale/zh_CN/LC_MESSAGES/audacious.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/audacious.mo
|
||||
@tag update-desktop-database
|
||||
@tag gtk-update-icon-cache %D/share/icons/hicolor
|
||||
share/metainfo/
|
||||
share/metainfo/audacious.metainfo.xml
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
COMMENT = input and output plugins for Audacious
|
||||
|
||||
DISTNAME = audacious-plugins-${VERSION}
|
||||
REVISION = 0
|
||||
|
||||
# BSD / GPL
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} FLAC GL Qt5Core Qt5Gui Qt5OpenGL
|
||||
WANTLIB += Qt5Svg Qt5Widgets Qt5X11Extras X11 adplug audcore audqt
|
||||
WANTLIB += audtag avcodec avformat avutil binio cddb cdio cdio_cdda
|
||||
WANTLIB += cue curl faad gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
|
||||
WANTLIB += iconv intl m mms modplug mp3lame mpg123 neon notify
|
||||
WANTLIB += ogg opusfile samplerate sndfile sndio soxr vorbis vorbisenc
|
||||
WANTLIB += vorbisfile wavpack xml2 z
|
||||
WANTLIB += ${COMPILER_LIBCXX} FLAC Qt5Core Qt5Gui Qt5Widgets Qt5X11Extras
|
||||
WANTLIB += X11 adplug audcore audqt audtag avcodec avformat avutil
|
||||
WANTLIB += binio cddb cdio cdio_cdda cue curl faad gdk_pixbuf-2.0
|
||||
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 intl m mms modplug mp3lame
|
||||
WANTLIB += mpg123 neon notify ogg opusfile samplerate sndfile
|
||||
WANTLIB += sndio soxr vorbis vorbisenc vorbisfile wavpack xml2
|
||||
WANTLIB += z
|
||||
|
||||
# needed for the gio plugin
|
||||
RUN_DEPENDS = x11/gnome/gvfs
|
||||
|
||||
LIB_DEPENDS = audio/adplug \
|
||||
audio/audacious/player>=${VERSION} \
|
||||
audio/faad>=2.7 \
|
||||
@@ -40,18 +40,16 @@ LIB_DEPENDS = audio/adplug \
|
||||
textproc/libxml \
|
||||
x11/qt5/qtx11extras
|
||||
|
||||
CONFIGURE_ARGS = --disable-alsa \
|
||||
--disable-amidiplug \
|
||||
--disable-bs2b \
|
||||
--disable-jack \
|
||||
--disable-lirc \
|
||||
--disable-openmpt \
|
||||
--disable-pipewire \
|
||||
--disable-pulse \
|
||||
--disable-qtaudio \
|
||||
--disable-sdlout \
|
||||
--disable-sid
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
CONFIGURE_ARGS = -Dalsa=false \
|
||||
-Damidiplug=false \
|
||||
-Dbs2b=false \
|
||||
-Djack=false \
|
||||
-Dlirc=false \
|
||||
-Dopenmpt=false \
|
||||
-Dpipewire=false \
|
||||
-Dpulse=false \
|
||||
-Dqtaudio=false \
|
||||
-Dsdlout=false \
|
||||
-Dsid=false
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (audacious-plugins-4.5.1.tar.bz2) = 9P7twyd2rPqdJHAdO3lPyXgi922mmR6R5ifnDlYf3Ts=
|
||||
SIZE (audacious-plugins-4.5.1.tar.bz2) = 1907432
|
||||
SHA256 (audacious-plugins-4.6.tar.bz2) = znCLygGU06GyuKiaKJLhx3mPN0WTVj+yHExkskq42Do=
|
||||
SIZE (audacious-plugins-4.6.tar.bz2) = 1787724
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
Set AUDACIOUS_{CFLAGS,LIBS} only after the end of all plugin checks.
|
||||
This fixes some of the autoconf checks as the LIBS variable is being
|
||||
polluted very early on, breaking most of the checks using AC_CHECK_LIB.
|
||||
|
||||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -12041,8 +12041,6 @@ printf "%s\n" "yes" >&6; }
|
||||
|
||||
fi
|
||||
|
||||
-CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
|
||||
-LIBS="$LIBS $AUDACIOUS_LIBS"
|
||||
|
||||
|
||||
if test $HAVE_DARWIN = yes ; then
|
||||
@@ -17844,6 +17842,8 @@ then :
|
||||
|
||||
fi
|
||||
|
||||
+CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
|
||||
+LIBS="$LIBS $AUDACIOUS_LIBS"
|
||||
|
||||
: "${CONFIG_STATUS=./config.status}"
|
||||
ac_write_fail=0
|
||||
@@ -28,6 +28,7 @@ lib/audacious/General/
|
||||
@so lib/audacious/General/albumart-qt.so
|
||||
@so lib/audacious/General/cd-menu-items.so
|
||||
@so lib/audacious/General/delete-files.so
|
||||
@so lib/audacious/General/filebrowser-qt.so
|
||||
@so lib/audacious/General/lyrics-qt.so
|
||||
@so lib/audacious/General/mpris2.so
|
||||
@so lib/audacious/General/notify.so
|
||||
@@ -122,6 +123,7 @@ share/audacious/Skins/Default/pledit.png
|
||||
share/audacious/Skins/Default/pledit.txt
|
||||
share/audacious/Skins/Default/posbar.png
|
||||
share/audacious/Skins/Default/shufrep.png
|
||||
share/audacious/Skins/Default/skin-classic.hints
|
||||
share/audacious/Skins/Default/skin.hints
|
||||
share/audacious/Skins/Default/text.png
|
||||
share/audacious/Skins/Default/titlebar.png
|
||||
|
||||
Reference in New Issue
Block a user