deadbeef: fix build option
This commit is contained in:
parent
9cd465cebf
commit
85020cb8b9
1 changed files with 6 additions and 9 deletions
|
@ -3,14 +3,17 @@ pkgname=deadbeef
|
||||||
version=0.7.2
|
version=0.7.2
|
||||||
revision=4
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static $(vopt_if gtk3 --disable-gtk2 --disable-gtk3) --disable-oss"
|
build_options="gtk3"
|
||||||
|
build_options_default="gtk3"
|
||||||
|
configure_args="--disable-static --disable-oss
|
||||||
|
$(vopt_if gtk3 '--enable-gtk3 --disable-gtk2' '--enable-gtk2 --disable-gtk3')"
|
||||||
hostmakedepends="pkg-config intltool yasm"
|
hostmakedepends="pkg-config intltool yasm"
|
||||||
makedepends="
|
makedepends="
|
||||||
libSM-devel alsa-lib-devel ffmpeg-devel libvorbis-devel libcurl-devel
|
libSM-devel alsa-lib-devel ffmpeg-devel libvorbis-devel libcurl-devel
|
||||||
libjpeg-turbo-devel libpng-devel libmad-devel libflac-devel wavpack-devel
|
libjpeg-turbo-devel libpng-devel libmad-devel libflac-devel wavpack-devel
|
||||||
libsndfile-devel libcdio-devel libcddb-devel dbus-devel glu-devel
|
libsndfile-devel libcdio-devel libcddb-devel dbus-devel glu-devel
|
||||||
pulseaudio-devel faad2-devel libsamplerate-devel imlib2-devel $(vopt_if gtk3 gtk+3-devel gtk+-devel)
|
pulseaudio-devel faad2-devel libsamplerate-devel imlib2-devel jansson-devel
|
||||||
jansson-devel mpg123-devel"
|
mpg123-devel $(vopt_if gtk3 gtk+3-devel gtk+-devel)"
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="Ultimate Music Player For GNU/Linux"
|
short_desc="Ultimate Music Player For GNU/Linux"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -19,17 +22,11 @@ homepage="http://deadbeef.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=8a63abdf00c2f37c33e018ae0b39d391873e037434074b84bb47381bf283c884
|
checksum=8a63abdf00c2f37c33e018ae0b39d391873e037434074b84bb47381bf283c884
|
||||||
|
|
||||||
build_options="gtk3"
|
|
||||||
build_options_default="gtk3"
|
|
||||||
|
|
||||||
desc_option_gtk3="Build the GTK+3 toolkit GUI. Disable to use GTK+2"
|
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
# XXX
|
# XXX
|
||||||
sed -i 's,^OBJCLD =.*,OBJCLD = $(COMPILE),g' plugins/gtkui/Makefile
|
sed -i 's,^OBJCLD =.*,OBJCLD = $(COMPILE),g' plugins/gtkui/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Remove devel stuff.
|
# Remove devel stuff.
|
||||||
rm -rf ${DESTDIR}/usr/include
|
rm -rf ${DESTDIR}/usr/include
|
||||||
|
|
Loading…
Reference in a new issue