Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : libgphoto2 | name : libgphoto2 | ||||
| version : 2.5.23 | version : 2.5.25 | ||||
| release : 13 | release : 14 | ||||
| source : | source : | ||||
| - https://github.com/gphoto/libgphoto2/archive/libgphoto2-2_5_23-release.tar.gz : 8de52fd997aceda895abad5d8d95a888bce24a1c739079cff64dae1da7039dde | - https://github.com/gphoto/libgphoto2/archive/v2.5.25.tar.gz : 34ddb868b166b531100b08606d7de970fe8d4aad42f3d5e02c646efdcfc5ef7e | ||||
| license : LGPL-2.1-or-later | license : LGPL-2.1-or-later | ||||
| component : multimedia.library | component : multimedia.library | ||||
| emul32 : yes | emul32 : yes | ||||
| summary : Digital Camera access library | summary : Digital Camera access library | ||||
| description: | | description: | | ||||
| libgphoto2 is a library that can be used by applications to access various digital cameras. | libgphoto2 is a library that can be used by applications to access various digital cameras. | ||||
| patterns : | patterns : | ||||
| - devel : [/usr/share/man/man3] | - devel : [/usr/share/man/man3] | ||||
| Show All 10 Lines | |||||
| setup : | | setup : | | ||||
| autoreconf --install --symlink | autoreconf --install --symlink | ||||
| %configure --disable-static | %configure --disable-static | ||||
| build : | | build : | | ||||
| %make | %make | ||||
| install : | | install : | | ||||
| %make_install | %make_install | ||||
| # remove circular symlink | |||||
| rm $installdir/usr/include/gphoto2/gphoto2 | |||||
| if [[ ! -z "${EMUL32BUILD}" ]]; then | if [[ ! -z "${EMUL32BUILD}" ]]; then | ||||
| rm -rf $installdir/%libdir%/udev | rm -rf $installdir/%libdir%/udev | ||||
| else | else | ||||
| # Generate hardware rules | # Generate hardware rules | ||||
| export CAMLIBS=$installdir/%libdir%/$package/$version | export CAMLIBS=$installdir/%libdir%/$package/$version | ||||
| export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$installdir/usr/lib64 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$installdir/usr/lib64 | ||||
| $installdir/%libdir%/$package/print-camera-list udev-rules version 201 > $workdir/40-libgphoto2.rules | $installdir/%libdir%/$package/print-camera-list udev-rules version 201 > $workdir/40-libgphoto2.rules | ||||
| $installdir/%libdir%/$package/print-camera-list hwdb > $workdir/20-gphoto.hwdb | $installdir/%libdir%/$package/print-camera-list hwdb > $workdir/20-gphoto.hwdb | ||||
| install -D -m 00644 $workdir/40-libgphoto2.rules $installdir/%libdir%/udev/rules.d/40-libgphoto2.rules | install -D -m 00644 $workdir/40-libgphoto2.rules $installdir/%libdir%/udev/rules.d/40-libgphoto2.rules | ||||
| install -D -m 00644 $workdir/20-gphoto.hwdb $installdir/%libdir%/udev/hwdb.d/20-gphoto.hwdb | install -D -m 00644 $workdir/20-gphoto.hwdb $installdir/%libdir%/udev/hwdb.d/20-gphoto.hwdb | ||||
| fi | fi | ||||
| check : | | check : | | ||||
| %make check | %make check | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.