chaotic-aur / packages

Read-only mirror of Chaotic-AUR's main repository. Issues and bug reports welcome! 📑
https://gitlab.com/chaotic-aur/pkgbuilds
GNU General Public License v3.0
335 stars 19 forks source link

[Request] natron-bin #1467

Open a61kt opened 2 years ago

a61kt commented 2 years ago

Link to the package(s) in the AUR

https://aur.archlinux.org/packages/natron-bin

Utility this package has for you

natron - but its the prebuild binary (useful when we've dependency problems)

Do you consider the package(s) to be useful for every Chaotic-AUR user?

No, but for a great amount.

Do you consider the package to be useful for feature testing/preview?

Have you tested if the package builds in a clean chroot?

Does the package's license allow redistributing it?

YES!

Have you searched the issues to ensure this request is unique?

Have you read the README to ensure this package is not banned?

More information

cz the mantainer its too lazy ..... ive updated it (just updated pkgver to 2.4.3 + added the new sha512sum

`# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>

Contributor: Caltlgin Stsodaat contact@fossdaily.xyz

_pkgname='natron' pkgname="${_pkgname}-bin" pkgver=2.4.3 pkgrel=1 pkgdesc='Node-graph video compositor' arch=('x86_64') url='https://natrongithub.github.io' _url_source='https://github.com/NatronGitHub/Natron' license=('GPL2') depends=('glu' 'hicolor-icon-theme') makedepends=('gendesk' 'imagemagick') options=('!strip') provides=("${_pkgname}") conflicts=("${_pkgname}") noextract=("${_pkgname}-${pkgver}.tar.xz") source=("${_pkgname}-${pkgver}.tar.xz::${_url_source}/releases/download/v${pkgver}/${_pkgname^}-${pkgver}-Linux-x86_64-no-installer.tar.xz") sha512sums=('72bc654c51b147b3981263532696eb986d26b2ae5dec3ab69743732337e9ce6793b0342674e82172d5ac7a9e21b7dc795d3dbee6f8160536bbf66eadf427d960')

prepare() { gendesk -f -n \ --pkgname="${_pkgname}" \ --pkgdesc="${pkgdesc}" \ --name="${_pkgname^}" \ --comment="${pkgdesc}" \ --exec="${_pkgname^}" \ --icon="${_pkgname}" \ --categories='Graphics' \ --mimetypes='application/x-natron'

cat << EOF > "x-${_pkgname}.xml" <?xml version="1.0" encoding="UTF-8"?>

${_pkgname^} Project File

EOF }

package() { install -Dvm644 "${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications" install -Dvm644 "x-${_pkgname}.xml" -t "${pkgdir}/usr/share/mime/application"

install -dv "${pkgdir}/"{"opt/${_pkgname}",'usr/bin'} tar -xvf "${_pkgname}-${pkgver}.tar.xz" --strip-components=1 -C "${pkgdir}/opt/${_pkgname}" ln -sfv "/opt/${_pkgname}/${_pkgname^}" -t "${pkgdir}/usr/bin"

for i in 16 22 24 32 48 64 96 128 256; do convert "${pkgdir}/opt/${_pkgname}/Resources/pixmaps/${_pkgname}Icon256_linux.png" \ -resize "${i}x${i}" "${srcdir}/icon_app${i}.png" install -Dvm644 "${srcdir}/icon_app${i}.png" "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${_pkgname}.png" done for i in 16 22 24 32 48 64 96 128 256; do convert "${pkgdir}/opt/${_pkgname}/Resources/pixmaps/${_pkgname}ProjectIcon_linux.png" \ -resize "${i}x${i}" "${srcdir}/icon_mime${i}.png" install -Dvm644 "${srcdir}/icon_mime${i}.png" "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/${_pkgname}.png" done }

vim: ts=2 sw=2 et:

`

dr460nf1r3 commented 2 years ago

I'm not quite sure whether I understood the purpose, what kind of dependency problems occur with the compiled version? There are some kind of those which we can fix using interfere :) Edit: Nvm, I just realized we had several build blockers.

xiota commented 2 months ago

Planning to drop, various issues. Also not updated to Qt6.