Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dumb: Package dumbplay & split libaldmb, take ownership #28182

Merged
merged 1 commit into from
Feb 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,7 @@ libsox.so.3 sox-14.4.2_1
libsoxr.so.0 libsoxr-0.1.2_1
libsoxr-lsr.so.0 libsoxr-0.1.2_1
libdumb.so.2 dumb-2.0.3_1
libaldmb.so.2 dumb-2.0.3_1
libaldmb.so.2 aldumb-2.0.3_3
libframe.so.6 frame-2.5.0_1
libgrail.so.6 grail-3.1.0_1
libgeis.so.1 geis-2.2.16_1
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/aldumb
31 changes: 24 additions & 7 deletions srcpkgs/dumb/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Template file for 'dumb'
pkgname=dumb
version=2.0.3
revision=2
revision=3
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF"
configure_args="-DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=ON"
hostmakedepends="allegro4-devel"
makedepends="allegro4-devel"
makedepends="allegro4-devel argtable-devel SDL2-devel"
short_desc="IT, XM, S3M and MOD player library"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="a dinosaur <nick@a-dinosaur.com>"
license="custom:DUMB"
homepage="http://dumb.sourceforge.net/"
homepage="https://github.com/kode54/dumb"
distfiles="https://github.com/kode54/dumb/archive/${version}.tar.gz"
checksum=99bfac926aeb8d476562303312d9f47fd05b43803050cd889b44da34a9b2a4f9

Expand All @@ -31,8 +31,25 @@ dumb-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/libdumb.so
vmove usr/include/dumb.h
vmove usr/lib/pkgconfig
}
}

aldumb_package() {
depends="${sourcepkg}>=${version}_${revision} ${sourcepkg}-devel>=${version}_${revision}"
short_desc+=", Allegro4 integration"
pkg_install() {
vmove "usr/lib/libaldmb.so*"
vmove usr/include/aldumb.h
}
}

dumbplay_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc="IT, XM, S3M, MOD player & conversion programs using DUMB and SDL2"
pkg_install() {
vmove usr/bin/dumbplay
}
}
1 change: 1 addition & 0 deletions srcpkgs/dumbplay