diff --git a/repo/android-studio/PKGBUILD b/repo/android-studio/PKGBUILD index 91e3ea2..0e36e86 100644 --- a/repo/android-studio/PKGBUILD +++ b/repo/android-studio/PKGBUILD @@ -10,7 +10,7 @@ # Maintainer: Kordian Bruck pkgname=android-studio -pkgver=2024.3.1.13 +pkgver=2024.2.2.15 pkgrel=1 pkgdesc="The official Android IDE (Stable branch)" arch=('i686' 'x86_64') @@ -25,7 +25,7 @@ options=('!strip') source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-$pkgver-linux.tar.gz" "$pkgname.desktop" "license.html") -sha256sums=('e3325ea03e457782a00adfe8373c6107061e1ee1c18269807854c87d90849510' +sha256sums=('595fe446f11d74cdd9a4f4dae6224ab9828789a31873b8786d76d6ab29094e17' '73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4' '9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e') diff --git a/repo/apng-utils/PKGBUILD b/repo/apng-utils/PKGBUILD index 155a4c5..6de72f7 100644 --- a/repo/apng-utils/PKGBUILD +++ b/repo/apng-utils/PKGBUILD @@ -2,56 +2,56 @@ # Contributor: Joerg Schuck # Contributor: Tyler # Contributor: Austin -# Contributor: Stefan Husmann -# Maintainer: jakka +# Maintainer: Stefan Husmann pkgname=apng-utils -pkgver=3.1.10 +pkgver=3.1.6 _apngdis_pkgver=2.9 -_apngasm_pkgver=3.1.10 +_apngasm_pkgver=3.1.6 _gif2apng_pkgver=1.9 _apng2gif_pkgver=1.8 -_apngopt_pkgver=1.4 -pkgrel=3 -pkgdesc="APNG utilities" +pkgrel=7 +pkgdesc="apngasm for assembling apng files, apngdis for disassembling apng files, and gif2apng/apng2gif for converting." arch=('i686' 'x86_64') -url="https://sourceforge.net/projects/apng/" -# apngdis: "https://sourceforge.net/projects/apngdis/" -# apngasm: "https://sourceforge.net/projects/apngasm/" -# gif2apng: "https://sourceforge.net/projects/gif2apng/" -# apng2gif: "https://sourceforge.net/projects/apng2gif/" -provides=('apngasm' 'apngdis' 'gif2apng' 'apng2gif' 'apngopt') -license=('LGPL' 'zlib') +url="https://sourceforge.net/projects/apngdis/" +# apngasm: http://sourceforge.net/projects/apngasm/ +# gif2apng: http://sourceforge.net/projects/gif2apng/ +# apng2gif: http://sourceforge.net/projects/apng2gif/ +provides=('apngasm' 'apngdis' 'gif2apng' 'apng2gif') +license=('LGPL') depends=('libpng' 'gcc-libs') makedepends=('cmake' 'boost') -conflicts=('apngasm' 'apngdis' 'gif2apng' 'apng2gif' 'apngopt') source=("https://sourceforge.net/projects/apngdis/files/${_apngdis_pkgver}/apngdis-${_apngdis_pkgver}-src.zip" "$pkgname-$pkgver.tar.gz::https://github.com/apngasm/apngasm/archive/${_apngasm_pkgver}.tar.gz" "https://sourceforge.net/projects/gif2apng/files/${_gif2apng_pkgver}/gif2apng-${_gif2apng_pkgver}-src.zip" "https://sourceforge.net/projects/apng2gif/files/${_apng2gif_pkgver}/apng2gif-${_apng2gif_pkgver}-src.zip" - "https://sourceforge.net/projects/apng/files/APNG_Optimizer/${_apngopt_pkgver}/apngopt-${_apngopt_pkgver}-src.zip") + cli.patch) sha512sums=('4bcce5066c37ea5e4db0bfaf2f6a81e4d3ba7f5b6c952f598facff27f84cc1a3af778f4db096119cb9f4aa57c0193c90acf7bed28f283b6930f5b3121dd9cf32' - '670d75251ddc771f9b2b4a1f401066f2012a6814bec781b918f1d9e8960835654c66c3d19b4c8920d5186d85af12cdc4bba8b61c8f3d349b4fc70513d8ecb34e' + 'cbc6f0ad119a7ce17079be3434e516265bea619ecb46fe147d652bbaff4652a858698df07a072f5095894961137fe32546f75ad603c7483476be7ffe463cf999' '6f161699aad949466c60e0fb6abb2f38e7ec8353dd15e65ccb9944a66dabc5a4acf32523cb64073c73290e54cc2b753db68123c14f3f7789343491a4f65dcd2c' '54fee0bf1e5448531298a816562a611cb5f2f661d40ade622e2d24e58a30de96fa69254ee891c5329e8b065c999b95620215d6e1ae276f0c596ffe69b0b31cda' - '8dd97ca6fdd10b1285c3a850ab0f6e14113df0b4a607877a6fb7c5bacded02432504e3af87a43c4aa660bad7226f300af8e0967368ca1eef00c9df7f624d578c') -noextract=( + '1998f8a86581eadf456daaa7c8674455c06d81c3716485348740183efada4969557612fabebbab8f30cc6d19f4717df8ff5a3afffc7e7ca0168bf590aee6e258') +noextract=( "gif2apng-${_gif2apng_pkgver}-src.zip" - "apng2gif-${_apng2gif_pkgver}-src.zip" - "apngdis-${_apngdis_pkgver}-src.zip" - "apngopt-${_apngopt_pkgver}-src.zip" + "apng2gif-${_apng2gif_pkgver}-src.zip" + "apngdis-${_apngdis_pkgver}-src.zip" ) +prepare() { + cd "$srcdir"/apngasm-${_apngasm_pkgver} + patch -Np1 < "$srcdir"/cli.patch +} + build() { # Several packages now use a different build approach than before. for _pack in "${noextract[@]}"; do _builddir=${_pack%%-*} [[ -d $_builddir ]] || mkdir $_builddir bsdtar xf "${_pack}" --directory $_builddir - + cd $_builddir - make -j1 - + make ${MAKEFLAGS} + cd "${srcdir}" done @@ -60,7 +60,7 @@ build() { [[ -d build ]] || mkdir build cd build cmake -D CMAKE_INSTALL_PREFIX="/usr" ../ - make -j1 + make } package() { @@ -70,9 +70,10 @@ package() { _builddir=${_pack%%-*} install -Dm755 "$_builddir/$_builddir" "$pkgdir"/usr/bin/ done - + cd "$srcdir"/apngasm-${_apngasm_pkgver}/build make DESTDIR="${pkgdir}" install install -Dm644 "${pkgdir}"/usr/man/man1/apngasm.1 "${pkgdir}"/usr/share/man/man1/apngasm.1 rm -r "${pkgdir}"/usr/man } + diff --git a/repo/apng-utils/cli.patch b/repo/apng-utils/cli.patch new file mode 100644 index 0000000..5325169 --- /dev/null +++ b/repo/apng-utils/cli.patch @@ -0,0 +1,12 @@ +diff -Naur apngasm-3.1.6.orig/cli/src/cli.cpp apngasm-3.1.6.new/cli/src/cli.cpp +--- apngasm-3.1.6.orig/cli/src/cli.cpp 2015-08-21 07:57:18.000000000 +0200 ++++ apngasm-3.1.6.new/cli/src/cli.cpp 2021-05-25 17:31:15.729027302 +0200 +@@ -80,7 +80,7 @@ + createParentDirs(filePath); + return true; + } +- if(!filesystem::exists(filesystem::path(filePath))) { ++ if(!boost::filesystem::exists(boost::filesystem::path(filePath))) { + createParentDirs(filePath); + return true; + }