Package Details: synfigstudio-git r8165.bd7d8b2cc-4

Git Clone URL: https://aur.archlinux.org/synfigstudio-git.git (read-only, click to copy)
Package Base: synfigstudio-git
Description: Professional vector animation program (GUI)
Upstream URL: http://synfig.org
Licenses: GPL2
Conflicts: synfigstudio
Provides: synfigstudio
Submitter: piernov
Maintainer: bm456
Last Packager: bm456
Votes: 1
Popularity: 0.000000
First Submitted: 2017-04-09 11:58
Last Updated: 2018-01-30 20:10

Latest Comments

Popolon commented on 2020-09-04 23:21

@ice0: I made etl-dev synfig-dev synfigstudio-dev packages after your changes, adapted to dev releases (currently 1.3.16) It will unblock at least partially the situation. I believe we could ask to administrators orphean the git version, and all packages from bm456 it is no more active since 2018, and out-of-date flag had been added to most of his packages since.

ice0 commented on 2020-03-20 07:36

Hi! Can you please update the PKGBUILD? Here is the fixed one:

# Maintainer: piernov <piernov@piernov.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Franco Iacomella <yaco@gnu.org>

pkgname=synfigstudio-git
pkgver=r9839.2dbc76041
pkgrel=1
pkgdesc="Professional vector animation program (GUI)"
arch=(i686 x86_64)
url="https://synfig.org"
license=('GPL3')
depends=('gtkmm3' 'synfig-git' 'sdl_image')
makedepends=('openexr' 'imagemagick' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi'
         'xorg-fonts-misc' 'xorg-fonts-type1' 'intltool' 'etl-git')
conflicts=('synfigstudio')
provides=('synfigstudio-git')
source=(git+https://github.com/synfig/synfig)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir"/synfig/synfig-core
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir"/synfig/synfig-studio
  export PKG_CONFIG_PATH=/usr/lib/ffmpeg0.10/pkgconfig:/usr/lib/imagemagick6/pkgconfig:$PKG_CONFIG_PATH
  LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,/usr/lib/ffmpeg0.10"
  CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS"
  CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -std=gnu++11"
  [ -f configure ] || { libtoolize --ltdl --copy --force && autoreconf --install --force; }
  intltoolize --force
  [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --with-libavcodec --with-libdv
  sed -i 's#Gtk::IconSize::IconSize#Gtk::IconSize#' src/gui/dialogs/dialog_color.cpp
  # please pay attention to your number of cores and ram amount for avoid oom errors
  # this number its fine for and amd fx 8350 with 16gb ram
  # you need 2gb per core  for avoid surprises, OR dont do anything while it compiles  
  make -j8
}

package() {
  cd "$srcdir"/synfig/synfig-studio
  make DESTDIR="$pkgdir" install
  rm -f "$pkgdir"/usr/share/pixmaps/synfigstudio/*.mng
  install -m644 images/*.png -t "$pkgdir"/usr/share/pixmaps/synfigstudio/
  rm -f "$pkgdir"/usr/share/mime/XMLnamespaces
  rm -f "$pkgdir"/usr/share/mime/aliases
  rm -f "$pkgdir"/usr/share/mime/generic-icons
  rm -f "$pkgdir"/usr/share/mime/globs
  rm -f "$pkgdir"/usr/share/mime/globs2
  rm -f "$pkgdir"/usr/share/mime/icons
  rm -f "$pkgdir"/usr/share/mime/magic
  rm -f "$pkgdir"/usr/share/mime/mime.cache
  rm -f "$pkgdir"/usr/share/mime/subclasses
  rm -f "$pkgdir"/usr/share/mime/treemagic
  rm -f "$pkgdir"/usr/share/mime/types
  rm -f "$pkgdir"/usr/share/mime/version
}

bm456 commented on 2017-12-13 17:42

please

Replace build function with

https://p.teknik.io/72MCh