Package Details: openscenegraph-openmw-git 1:3.6.5.r16171.68c5c573d-2

Git Clone URL: https://aur.archlinux.org/openscenegraph-openmw-git.git (read-only, click to copy)
Package Base: openscenegraph-openmw-git
Description: Fork of OpenSceneGraph , with openmw-specific changes
Upstream URL: http://www.openscenegraph.org/
Licenses: custom:OSGPL
Conflicts: openscenegraph
Provides: openscenegraph
Submitter: mupf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 3
Popularity: 0.74
First Submitted: 2017-09-21 22:14 (UTC)
Last Updated: 2023-10-27 14:21 (UTC)

Required by (34)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3

Lone_Wolf commented on 2021-09-28 12:18 (UTC)

PKGBUILD has been rewritten extensively and the version numbering has changed.

Lots of other changes, also removed several components not used by openmw .

Let me know if something doesn't work for you.

Lone_Wolf commented on 2021-01-04 21:36 (UTC)

Here's what i've been using with openmw trunk builds after finding several regressions in released 3.6.5 . I do think this branch is already used for openmw nightlies and will be required for openmw 0.47 .

It's trimmed down to what openmw needs, no idea if it's usable for other programs depending on openscengraph.

# MaintainerContribut: Michael Fitzmayer <mail@michael-fitzmayer.de>
pkgname=openscenegraph-openmw-git
epoch=1
_pkgver=3.6.5
pkgver=3.6.5r.16105.ec7e15900
pkgrel=2
pkgdesc="Fork of OpenSceneGraph , with openmw-specific changes"
arch=('x86_64')
url="http://www.openscenegraph.org/"
license=('GPL')
depends=('giflib' 'jasper' 'librsvg' 'curl' 'pth' 'libxrandr' 'libxinerama')
makedepends=('git' 'cmake' 'qt5-base' 'mesa' 'ninja')
optdepends=('qt5-base')
provides=('openscenegraph')
conflicts=('openscenegraph')
source=('git+https://github.com/OpenMW/osg.git#branch=3.6')
md5sums=('SKIP')

# ninja grabs all available cores and leaves almost nothing for other processes.
# this package uses the environment variable NINJAFLAGS to allow the user to change this behaviour
# The responsibility to validate the value of NINJAFLAGS lies with the user.
# If unsure, use NINJAFLAGS=""

pkgver() {
  cd osg
  printf "%sr%s.%s" "$_pkgver" ."$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {

    cmake \
        -B _build \
        -S "$srcdir"/osg \
        -G Ninja \
        -D CMAKE_INSTALL_PREFIX=/usr \
        -D CMAKE_BUILD_TYPE=Release \
        -D BUILD_OSG_PLUGINS_BY_DEFAULT=0 \
        -D BUILD_OSG_PLUGIN_OSG=1 \
        -D BUILD_OSG_PLUGIN_DDS=1 \
        -D BUILD_OSG_PLUGIN_TGA=1 \
        -D BUILD_OSG_PLUGIN_BMP=1 \
        -D BUILD_OSG_PLUGIN_JPEG=1 \
        -D BUILD_OSG_PLUGIN_PNG=1 \
        -D BUILD_OSG_PLUGIN_FREETYPE=1 \
        -D BUILD_OSG_DEPRECATED_SERIALIZERS=0 \
        -D CMAKE_DISABLE_FIND_PACKAGE_DCMTK=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_GDAL=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_GTA=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_Poppler-glib=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_GStreamer=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_SDL2=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_SDL=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_GtkGl=1 \
        -D CMAKE_DISABLE_FIND_PACKAGE_FFmpeg=1 \
        -Wno-dev

    ninja -C _build $NINJAFLAGS
}

package(){
    DESTDIR="$pkgdir" ninja -C _build $NINJAFLAGS install
    install -Dm 644 $srcdir/osg/LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

rtentser commented on 2020-09-09 17:09 (UTC) (edited on 2020-09-10 17:08 (UTC) by rtentser)

Actually, i've tested building 3.6 branch with this PKGBUILD. Everything works fine: openmw-git builds without a problem and i get much greater performance boost (about 15% lighter on CPU with my potato). Probably worth upgrading to.

UPD: It also fixes some issues with distant land.

rtentser commented on 2020-09-09 14:21 (UTC)

@magamo

Works for me without it. 3.4 is default branch for https://github.com/OpenMW/osg. No problems with building openmw-git.

magamo commented on 2020-09-09 14:14 (UTC)

This still needs the 3.4 branch tag placed in the source line

mupf commented on 2020-09-04 08:59 (UTC)

Oh, I'll try as soon as I find the time. I don't even use Arch Linux anymore.

This package needs a new maintainer. Anyone interested?

rtentser commented on 2020-09-04 08:07 (UTC)

Can you please change pkgver? https://github.com/chaotic-aur/packages/issues/273#issuecomment-686501191

Time4Tea commented on 2020-03-07 23:28 (UTC)

@magamo I am also experiencing problems building openmw-git with this. However, 'osgversion' tells me the version I am building with this package is 3.7.0

magamo commented on 2020-03-07 17:07 (UTC)

This package is pulling from the wrong branch (The source field needs "branch=3.4") As it stands, it's building a long out of date prerelease version of OSG 3.6, and not the openmw optimized 3.4 branch. This now breaks the building of the openmw-git package.