Package Details: openscenegraph-openmw-git 1:3.6.5.r16157.ada34a6d3-3

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: 1
Popularity: 0.045323
First Submitted: 2017-09-21 22:14 (UTC)
Last Updated: 2022-05-03 15:57 (UTC)

Required by (42)

Sources (1)

Latest Comments

1 2 Next › Last »

Lone_Wolf commented on 2022-05-03 16:02 (UTC) (edited on 2022-05-03 16:03 (UTC) by Lone_Wolf)

Looked further into it and checked what other distros use for collada / dae support.

Added dae / collada support

New aur dependency : collada-dom

Lone_Wolf commented on 2022-04-25 19:47 (UTC) (edited on 2022-04-25 19:47 (UTC) by Lone_Wolf)

according to opemw wiki - devel env setup :

the Collada (dae) plugin requires libcollada library/headers installed on your system.

The only package on archlinux that appears to be providing those files is the aur pacakge collada-dom .

That package and its upstream haven't seen action in years.

as far as I know dae support is only used for loading files from later elder scrolls games (like oblivion & skyrim) which have very limited uses in openmw.

unelsson commented on 2022-02-08 23:52 (UTC)

How about adding Collada/DAE to the plugin list? It's supported by OpenMW.

magamo commented on 2022-01-21 14:11 (UTC)

From my own investigations into the issue, the pth package in core was replaced with the npth package. Perhaps pull that in as a dependency instead? Thanks for keeping this package alive, Lone_Wolf.

Lone_Wolf commented on 2022-01-21 12:30 (UTC)

pth used to be in core repo not AUR, but appears to have been removed.

I will look into it, but having a broken dependency or other build issue does NOT equal being out of date, removing ood flag .

darkbasic commented on 2022-01-21 09:10 (UTC)

pth is no longer in the AUR

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.