Skip to content

Commit

Permalink
media-libs/libcdr: Bump v.0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
geaaru committed Sep 28, 2023
1 parent e245dd8 commit 240a938
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/atoms/base-multimedia4/media-libs/libcdr/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
prelude:
- |-
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \
eval 'mkdir -p /var/cache/portage/distfiles || true' && \
chown portage:portage -R /var/cache/portage/ && \
{{- if .Values.use_flags }}
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \
{{- else }}
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \
{{- end }}
{{- if .Values.use_flags }}
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }}
{{- else }}
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }}
{{- end }}
- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1
&& export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf
/pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{
.Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v
/var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true'
package_dir: /pkgdir/{{ .Values.name }}
excludes:
- ^/var/cache/portage/
- ^/var/git/
requires:
- name: macaroni-funtoo-race16
version: '>=0'
category: seed
38 changes: 38 additions & 0 deletions packages/atoms/base-multimedia4/media-libs/libcdr/definition.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: libcdr
version: 0.1.7
category: media-libs
use_flags:
- -doc
- -test
requires:
- name: icu
version: '>=0'
category: dev-libs
- name: librevenge
version: '>=0'
category: dev-libs
- name: lcms
version: '>=0'
category: media-libs-2
annotations:
subsets:
rules:
devel:
- ^/usr/include/
portage:
- ^/var/db/pkg/
description: Library parsing the Corel cdr documents
uri:
- https://wiki.documentfoundation.org/DLP/Libraries/libcdr
license: MPL-2.0
labels:
BDEPEND: sys-devel/libtool virtual/pkgconfig doc? ( app-doc/doxygen ) test? ( dev-util/cppunit
)
DEPEND: dev-libs/icu:= dev-libs/librevenge media-libs/lcms:2 sys-libs/zlib dev-libs/boost
IUSE: doc static-libs test
RDEPEND: dev-libs/icu:= dev-libs/librevenge media-libs/lcms:2 sys-libs/zlib
emerge.packages: media-libs/libcdr
kit: media-kit
original.package.name: media-libs/libcdr
original.package.slot: "0"
original.package.version: 0.1.7

0 comments on commit 240a938

Please sign in to comment.