diff options
-rw-r--r-- | metadata/categories.conf | 1 | ||||
-rw-r--r-- | packages/media-libs/libbluray/libbluray-scm.exheres-0 | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/metadata/categories.conf b/metadata/categories.conf index f9c50d4..cef306b 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -17,3 +17,4 @@ net-vpn net-misc net-print app-backup +media-libs diff --git a/packages/media-libs/libbluray/libbluray-scm.exheres-0 b/packages/media-libs/libbluray/libbluray-scm.exheres-0 new file mode 100644 index 0000000..06c3f11 --- /dev/null +++ b/packages/media-libs/libbluray/libbluray-scm.exheres-0 @@ -0,0 +1,67 @@ +# Copyright 2011 Alex ELsayed <eternaleye@gmail.com> +# Distributed under the terms of the GNU General Public License v2 + + +SCM_REPOSITORY="https://git.videolan.org/git/libbluray.git" +SCM_EXTERNAL_REFS=" + contrib/libudfread:libudfread +" +SCM_SECONDARY_REPOSITORIES=" + libudfread +" +SCM_libudfread_REPOSITORY="git://git.videolan.org/libudfread.git" + +require scm-git autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] + +SUMMARY="Open-source library designed for Blu-Ray Discs playback for media players, like VLC or MPlayer" +HOMEPAGE="https://www.videolan.org/developers/${PN}.html" + + +PLATFORMS="~amd64" + + +LICENCES="LGPL-2.1" +SLOT="0" +MYOPTIONS=" + doc + examples +" + +DEPENDENCIES=" + build: + dev-java/apache-ant + virtual/pkg-config[>=0.9.0] + doc? ( app-doc/doxygen[dot] ) + build+run: + dev-libs/libxml2:2.0[>=2.6] + media-libs/fontconfig + media-libs/freetype:2 + virtual/jdk:9.0 + suggestion: + virtual/libaacs [[ description = [ Decrypt encrypted blurays ] ]] +" + +# Disable ps and pdf generation due to chronic latex shortage +# dlopen the crypto libs at runtime to avoid build-time automagic checks +DEFAULT_SRC_CONFIGURE_PARAMS=( + --enable-bdjava-jar + --disable-doxygen-{pdf,ps} + --disable-static + --with-fontconfig + --with-freetype + --with-libxml2 +) +DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( + "doc doxygen-doc" + "doc doxygen-dot" + examples +) + +AT_M4DIR=( m4 ) + +src_configure() { + export JDK_HOME="/usr/$(exhost --target)/lib/jdk" + + default +} + |