Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages /
allegro4
Commits:
be7fe9e9 by Sven-Hendrik Haase at 2025-06-13T17:10:10+02:00
upgpkg: 4.4.3.1-4: Use included license and remove checked-in file
- - - - -
fcec6357 by Sven-Hendrik Haase at 2025-06-13T17:11:01+02:00
upgpkg: 4.4.3.1-5: Use included license and remove checked-in file
- - - - -
3 changed files:
- .SRCINFO
- − LICENSE
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = allegro4
pkgdesc = Portable library aimed at video game and multimedia
programming (legacy version)
pkgver = 4.4.3.1
- pkgrel = 4
+ pkgrel = 5
url = https://liballeg.org/
arch = x86_64
license = custom
@@ -14,10 +14,9 @@ pkgbase = allegro4
depends = libxcursor
depends = libxpm
depends = libxxf86vm
+ depends = libvorbis
options = staticlibs
source =
https://github.com/liballeg/allegro5/releases/download/4.4.3.1/allegro-4.4.3.1.tar.gz
- source = LICENSE
sha256sums =
ec19dbc9a021244582b4819b3583ee594b50141f9fcf6944a4ed8069cbf8d4d4
- sha256sums =
76b9cd52eab572495e8b3b64313d8e40c0359135491e981321d15c3e707ba41a
pkgname = allegro4
=====================================
LICENSE deleted
=====================================
@@ -1,26 +0,0 @@
-===================================
-============ Copyright ============
-===================================
-
- Allegro is gift-ware. It was created by a number of people working in
- cooperation, and is given to you freely as a gift. You may use, modify,
- redistribute, and generally hack it about in any way you like, and you do
- not have to give us anything in return. However, if you like this product
- you are encouraged to thank us by making a return gift to the Allegro
- community. This could be by writing an add-on package, providing a useful
- bug report, making an improvement to the library, or perhaps just
- releasing the sources of your program so that other people can learn from
- them. If you redistribute parts of this code or make a game using it, it
- would be nice if you mentioned Allegro somewhere in the credits, but you
- are not required to do this. We trust you not to abuse our generosity.
-
- Disclaimer:
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
- SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
- FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- DEALINGS IN THE SOFTWARE.
-
=====================================
PKGBUILD
=====================================
@@ -7,20 +7,20 @@
pkgname=allegro4
pkgver=4.4.3.1
-pkgrel=4
+pkgrel=5
pkgdesc='Portable library aimed at video game and multimedia programming
(legacy version)'
arch=(x86_64)
url='https://liballeg.org/'
license=(custom)
-depends=(jack libxcursor libxpm libxxf86vm)
+depends=(jack libxcursor libxpm libxxf86vm libvorbis)
makedepends=(cmake glu libpng mesa ninja)
options=(staticlibs)
-source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz"
- LICENSE)
-sha256sums=('ec19dbc9a021244582b4819b3583ee594b50141f9fcf6944a4ed8069cbf8d4d4'
- '76b9cd52eab572495e8b3b64313d8e40c0359135491e981321d15c3e707ba41a')
+source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz")
+sha256sums=('ec19dbc9a021244582b4819b3583ee594b50141f9fcf6944a4ed8069cbf8d4d4')
build() {
+ export CMAKE_POLICY_VERSION_MINIMUM=3.5
+
mkdir -p build
cd build
cmake "$srcdir/allegro-$pkgver" \
@@ -35,7 +35,7 @@ package() {
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 "allegro-$pkgver/misc/allegro.m4" \
"$pkgdir/usr/share/aclocal/allegro.m4"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "allegro-$pkgver"/docs/txt/license.txt
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ts=2 sw=2 et:
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/allegro4/-/compare/639d60bdfa561f99e41630efe2bec13e4d4f3a0f...fcec6357025a2d065ad6536099d571dd3d350e29
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/allegro4/-/compare/639d60bdfa561f99e41630efe2bec13e4d4f3a0f...fcec6357025a2d065ad6536099d571dd3d350e29
You're receiving this email because of your account on gitlab.archlinux.org.