libcanberra: drop gtk 2

This commit is contained in:
Đoàn Trần Công Danh 2024-06-09 13:51:41 +07:00 committed by Leah Neukirchen
parent 9dc2641be6
commit f163b02ab1
3 changed files with 3 additions and 14 deletions

View File

@ -587,7 +587,6 @@ libverto-k5ev.so.0 mit-krb5-libs-1.8_1
libmenu-cache.so.3 menu-cache-1.0.0_1 libmenu-cache.so.3 menu-cache-1.0.0_1
libupower-glib.so.3 libupower-glib3-0.99.3_1 libupower-glib.so.3 libupower-glib3-0.99.3_1
libcanberra.so.0 libcanberra-0.23_1 libcanberra.so.0 libcanberra-0.23_1
libcanberra-gtk.so.0 libcanberra-gtk-0.30_6
libcanberra-gtk3.so.0 libcanberra-gtk3-0.30_6 libcanberra-gtk3.so.0 libcanberra-gtk3-0.30_6
libgtop-2.0.so.11 libgtop-2.38.0_1 libgtop-2.0.so.11 libgtop-2.38.0_1
librarian.so.0 rarian-0.8.1_1 librarian.so.0 rarian-0.8.1_1

View File

@ -1 +0,0 @@
libcanberra

View File

@ -1,12 +1,12 @@
# Template file for 'libcanberra' # Template file for 'libcanberra'
pkgname=libcanberra pkgname=libcanberra
version=0.30 version=0.30
revision=12 revision=13
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-alsa --enable-null --disable-lynx configure_args="--enable-alsa --enable-null --disable-lynx
--enable-gstreamer --disable-oss --with-builtin=dso" --enable-gstreamer --disable-oss --with-builtin=dso"
hostmakedepends="gettext pkg-config gtk-doc" hostmakedepends="gettext pkg-config gtk-doc"
makedepends="gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel makedepends="gtk+3-devel libvorbis-devel libltdl-devel
gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel
eudev-libudev-devel vala-devel" eudev-libudev-devel vala-devel"
short_desc="XDG Sound Theme and Name Specification library implementation" short_desc="XDG Sound Theme and Name Specification library implementation"
@ -23,14 +23,6 @@ libcanberra-utils_package() {
vmove usr/bin vmove usr/bin
} }
} }
libcanberra-gtk_package() {
replaces="${sourcepkg}<0.30_6"
short_desc+=" - GTK+ (2.x) support"
pkg_install() {
vmove usr/lib/libcanberra-gtk.so.*
vmove usr/lib/gtk-2.0
}
}
libcanberra-gtk3_package() { libcanberra-gtk3_package() {
replaces="${sourcepkg}<0.30_6" replaces="${sourcepkg}<0.30_6"
short_desc+=" - GTK+ (3.x) support" short_desc+=" - GTK+ (3.x) support"
@ -40,8 +32,7 @@ libcanberra-gtk3_package() {
} }
} }
libcanberra-devel_package() { libcanberra-devel_package() {
depends="gtk+-devel gtk+3-devel depends="gtk+3-devel
${sourcepkg}-gtk>=${version}_${revision}
${sourcepkg}-gtk3>=${version}_${revision} ${sourcepkg}-gtk3>=${version}_${revision}
${sourcepkg}>=${version}_${revision}" ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"